13,234 Commits over 2,830 Days - 0.19cph!
Merge drug dealer updates
Rewrote selling to be based on the item, not the held item. Now drug dealers can actually sell their drugs.
Drug dealer selling. Going to need to sellables not based on sellable held items.
Update player label UI to follow performance recommendations from https://create.unity3d.com/Unity-UI-optimization-tips
If the drug holder dies, drop the drugs instead of failing the mission and losing them forever. Need to sort out what happens if someone else picks them up though.
Introduced heroin to the game. Tweaked heroin drug mission.
Mission work, new payphone mission option, updated InfoMessage to support multiple messages.
Merging drug dealer/npc commands work. Dealers not actually selling product right now, but everything else is working.
Fixes + drug selling preliminary work
Bug fixes etc. Sorted out serialization for now.
Experimental. Probably reverting most of this. but follow target stuff will remain.
Drug dealers take follow commands
More stuff. Drug dealer AI. Fixed serialization.
Filling out drug dealer methods
Working on different serialization that'll actually work. Too many init order issues in the old system
Give NPCs infinite cash to buy stuff + fix inventory issue.
Remove no-longer-necessary cash sync.
Removed some unused packages, updated the others.
Remove a couple of sanity check warnings.
Made prison area bigger. Whole island counts as prison now. Stops people getting stuck on the island if they escaped prison, and therefore didn't get teleported off when their prison time ended.
Cherry pick fix for serious NetworkEntityBehaviour mask bug.
Fix serious masking bug. Any entitybehaviour ID past the 6th one was never getting serialized due to a masking bug where e.g. ID 8 translated to the 8th slot in the mask, rather than the 4th (1,2,4,8).
Fixing various issues with the proxy inventory thing.
Inventory for proxy players, so we can check cash, drugs etc. This data was already propagated anyway - just exposing it.
Setting up drug dealer interactions
Fix prefab/instance issues
Fix missing prefab assignment
More refactoring. All NPC interaction is now via interaction sets assigned to the character type.
Refactor NPC commands to work better with game modes etc.