4,370 Commits over 1,308 Days - 0.14cph!
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.
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
Merge from Working to my branch
Don't allow health damage before init. Attempted fix for "ghost cops". Also making sure base HP is at least 1.
Reduce max prison time, edit NPC counts
Fix AI fleeing code for bot players
Fixed disconnected players not getting their position updated on the client. IsActive checks on the client (active meaning connected) were overzealous.
Combined drug dealer character into a batch, and fixed missing teeth in all other batches.
Close UI if interactor dies
Break out of NPC interaction if they move too far from the player
Clear NPC interaction UI if target dies
NPCs stop and look at the player when they can interact in any way
Merge from Main to Working
Move/resize interaction UI per Bill's recommendations
More interaction UI options
Added support for custom mission task completion text. Makes things more understandable.
Added a mission called GetTheMoneyAndTheDrugs that's similar to Bill's design. Added new CollectItem mission task type. Removed TransferCash task type since a normal ReceiveItem can be used for that instead.
Fix TransferCash mission task def name
Fix some mission comments
Merge Bill's ghost player fix