branchwiseguys/main/Drugscancel
82 Commits over 28 Days - 0.12cph!
Stopped NPCs from actually receiving the drugs they buy, since they don't really use them and they don't drop items on death anymore anyway. Easy to re-enable if we want it.
Selling drugs to someone now considered a crime
Players get paid when selling drugs
Added FX for NPCs receiving welfare
Pedestrian NPCs no longer drop their items on death
Oops, don't comment out Bill's code.
Cleaned up all warnings outside of the building system
Fixing some stuff that was broken in CLIENT or SERVER modes from the meth_cooking branch. Leaving OnInteract in ItemContainerEntity broken as it's more complex to fix.
Created a unified inventory access to treat multiple inventories as one. Unified IItemRequestReceiver all into the base Character class except for the shop hack.
Unified the NPC buying code with the player's shop buying code and moved it all into the new Character.IItemRequestReceiver. Fixed a couple of bugs in the process
AI cash stat sync to client
Drug sale FX. Interaction transition fix.
Better interaction transitions
Added WiseGuys tools option to skip the initial spawn screen when in editor
Adding key info to NPC interaction
Merging in the latest from Main
Interaction display handling improvements
Temp override goes away if drug level one lower reaches addiction level 0
Got everything working in Client/Server separate mode. Server is authority on selling items to NPCs.
Interaction changes to allow for the fact that held items can change interaction state now.
Different drug icons for interaction
Moved NPC interaction out of the helditem itself, and combined it with the existing interaction system for objects etc
Fixed ADS on package (and anything else that doesn't use ADS)
Stat tweaks and balancing systems.
NPC stats hover UI update. New system for multiple drugs basically working.
Working on buying systems
Big changes to addiction stats to handle multiple drugs, unlocking new types etc. May still change further.
made foliage deferred and tidied up assets
Errors fixed. Added NPC protobuf
Merging in the latest including new protobuf system. Broken currently.
Removed old unused folder
Sellable item count reduces correctly after use
Drug selling works in Client+Server mode
More efficient NPC hover, only looking at the character layer
Added extra vision dist mod for cops looking for criminals