branchsbox-forsaken/maincancel
362 Commits over 304 Days - 0.05cph!
Use a super high z-index (for now) on all the dialogs as it seems to fix flickering
Fixed Input outside of Simulate context error when a player is sleeping
Minimap stuff. Use CheckOverlap for build exclusion zones.
Bin off the compass. Add a minimap, show markers on minimap edge
Move zone display down a bit
Fixed hash code
Added map markers
Added UI for Traders https://files.facepunch.com/conna/1b2511b1/sbox_r1mqyqGyTE.mp4
Added AnimateBrightness and use it in Torch
Cleaned up weapon code, strip out all view model stuff, add torch class and resource
Add fuel and torch recipe
Make fuel a little more likely to spawn in containers
Give default items
Added torch effects
Added NamedZone, TemperatureZone triggers for Hammer. Added zone display to hud.
Remove unused
Don't show the same zone name too often
Updated some styling
Revamped vitals display w/ animated icons based on context
Fixed not dying of hunger quick enough
Fixed toggle buttons for recycler/cooking UI
Properly position the player's marker within the bounds of the map
Added brush size selector
Added map tools (Paint + Eraser)
Panning
Added first pass at grid
Change cursor to "move" when panning
Allow analog move when the map is open. Update player marker
Color selector
Added re-centering
Use material icon for centering
Better calculation for pan
Compress the map data when writing to disk so drawn map files are 8kb instead of 4mb
Create a unique guid per individual saved game. Use that to store the player's drawn map data client-side. Load it from disk if we join a server with that same saved game
Started working on the hand drawn map system
Save a headache and have NPCs not collide with other NPCs or players
No SMG projectile gravity and don't apply Z spread for guns on TDV
Added Isometric Mode (fsk.isometric) or Isometric Camera in the lobby settings (enabled by default for now)
Change starting need amounts
Add additional thoughts for needs requirements
Start taking damage over time if any of the players basic needs are not satisfied
Tweak NPCs and increase stack sizes
Added Enable PvP game setting (for now this is enabled by default) but will allow for PvE and purely co-op gameplay
Local VOIP
Reduce local VOIP range
Remove halved foundation upgrade cost
Can skip directly to metal upgrade if possible
Let's disable all collisions on doors if they currently opening or closing
Reduce stamina by half rate
Gib loot containers on empty w/ sound
Added Opening timed action for loot containers
Inventory fixes
Simplified ReadInventoryContainer can read directly into an existing container and re-assign its id
Loot table balancing
Added ItemEntity.TimeSinceSpawned and serialize it when saving. Check periodically if items have been laying around for 30 minutes and if so delete them
Remove log
Make barrels even worse
Use WriteUnmanagedArray for NetInventoryContainer
Items can only stack if they share the same unique id
NPCs share same passplayers collision rules
Add ILootSpawnerItem.OncePerContainer. Update all item definitions. When restocking loot containers respect that rule.
Updated consumables. Added cheese and rotten cheese items to loot tables
Added ComponentResource/ComponentItem. Added Bolt, Nails, Paper, Scissors, Tape, Yarn, Handgun Frame, SMG Frame, Rifle Frame, Weapon Parts. Added torch icon, cheese icon and rotten cheese icon.
Add Max Idle Duration to NPC and keep properly grounded
Test NPC stuff / wandering using Nav Mesh