8,451 Commits over 2,131 Days - 0.17cph!
Handling the change of CharacterMotorState in the new ProtoBuf implementation from struct to class, meaning every Move call returned was now pointing to the same address. Creating a new move state for each call instead.
Temp override goes away if drug level one lower reaches addiction level 0
Added the base itemproducer. Need UI.
Interaction display handling improvements
Merging in basic working drug system. No money is involved yet but drugs can be sold to NPCs and NPCs know what they want.
Allow holding drug items while in vehicle
Merging in the latest from Main
Adding key info to NPC interaction
Added WiseGuys tools option to skip the initial spawn screen when in editor
Better interaction transitions
Drug sale FX. Interaction transition fix.
AI cash stat sync to client
Updating itemcontainer + looting
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
Created a unified inventory access to treat multiple inventories as one. Unified IItemRequestReceiver all into the base Character class except for the shop hack.
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.
Cleaned up all warnings outside of the building system
Oops, don't comment out Bill's code.
Pedestrian NPCs no longer drop their items on death
Added FX for NPCs receiving welfare
Players get paid when selling drugs
Selling drugs to someone now considered a crime
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.
Adding icons for police wanted system
- Added UI indicating when you're considered to be committing a crime in progress. UI in but not functional for police wanted state as well.
- Moved some more stuff behind SERVER tags
Added a framework for wanted system
Wanted system partly working
Info bar in the wanted UI
Cops now know about wanted criminals. Watch out!
Forgot to remove a couple of timers
Set up the item producers properly, added ingredients, they're all deployable etc.
Merged in latest code from Bill
Working on moving some inputs server-side. Not all implemented yet.