branchwiseguys/main/Drugscancel
82 Commits over 28 Days - 0.12cph!
Basic drug dependence script
Drugs work, tweaked values
Merging in Bill Ford's UI updates
Another merge from new UI
Added intial NPC status UI
Working on a sync system for unique NPC stats. This is a WIP.
Removed need for the NPC stats container objects
Simplifying things re NPC stats, trying a different system.
Simplifying even further, using Serialize for NPC stats
Now sending addiction data (and general other NPC stats if we need those later) successfully and from Server->Client. Added initial basic visual UI when hovering over NPCs.
Addiction stats only show for NPCs with addiction stats
Adjusting UI height depending on display type
UI still follows the character while it fades out
Merging in the latest from Main
Adjusted tonemapping level to 8.5 - a little darker than it used to be but lighter than after changeset 2180.
Got interactables and NPC hover to handle the case where the active item is destroyed. Previously the active item could go null with the UI still displayed.
Fixed NPC stats fade out bug
Commenting out UIViewController prints as it was spamming too much
Fixed support for active items that have no held item
Added basic drug item. Not usable yet
Added a basic placeholder drugs HeldItem
Some basic drug selling code working. Plus refactoring in the HeldItem classes and elsewhere.
Added extra vision dist mod for cops looking for criminals
More efficient NPC hover, only looking at the character layer
Drug selling works in Client+Server mode
Sellable item count reduces correctly after use
Removed old unused folder
Merging in the latest including new protobuf system. Broken currently.
Errors fixed. Added NPC protobuf
made foliage deferred and tidied up assets
Big changes to addiction stats to handle multiple drugs, unlocking new types etc. May still change further.
Working on buying systems
NPC stats hover UI update. New system for multiple drugs basically working.
Stat tweaks and balancing systems.
Fixed ADS on package (and anything else that doesn't use ADS)