branchwiseguys/main/Working/NPCCommandscancel
93 Commits over 30 Days - 0.13cph!
Drug dealers forget they want to kill you once you leave their sight now, instead of having a vendetta against you forever
Increase dealer sales range, change interaction order
Fix several dealer issues with multiple clients trying to use them
Dealers stay still properly while they've got stuff
Increase drug dealer HP and give them health regen.
Add drug dealers to cyka blyat
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.
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.
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.
Nearby player code cleanup
Have NPCs give up waiting for the player to interact with them after a while, so idle players don't collect a big group eventually
Get speech bubbles to appear in front of character labels consistently
Show notification when selling stuff to NPCs