4,916 Commits over 1,431 Days - 0.14cph!
Teleport players back into their rooms (if possible) instead of killing them after being disconnected for >20m in the apartment safezone
- will still show warning when logging out but worth giving them a chance since players will spend more time inside apartment safezone
- assign the apartment complex to the safezone during startup
Add teleport anchors to the apartment rooms
Fix upkeep calculations not being correct & persist reference to terminal across restarts
Remove 'if !CLIENT' region that caused the snapshot command to not work in the editor
Add collider for upkeep terminal
Print error if upkeep terminal isn't found when calculating rent so we don't get kicked in editor
Add upkeep terminals to all the apartment rooms
Add the "Rent Due" vital to `GameUI.Hud.Vitals` and shift all the existing vitals so you can see them all in the editor
Add new vital for "Rent Due" and show it when they don't have any upkeep time paid for
Reprocess apartment upkeep terminal prefab
Add protobuf reference from ApartmentRoom -> Upkeep terminal
Include the code we removed when splitting into files
Split apartment room code into multiple files and subscribe for inventory updates from all furniture so we can recalculate upkeep every time it changes
- same code as TC that debounces the updates to only recalculate 1x per second
- this shouldn't be too many updates: without industrial the only time upkeep will recalculate is when paying for upkeep or a player is actively in their room looting
Start making upkeep terminal entity for apartments
Add upkeep terminal to medium apartment so there is a place to store scrap for upkeep (rather than it magically taking it out of a chest) and see how much your daily upkeep (rent) is
Swap the small apartment from the loot crate prefab to a small wooden box so it has something to store items
Add safezone trigger to apartment complex and make the building blocked + safezone triggers a bit bigger
Calculate upkeep time per apartment based on amount of items inside storage
- only network to the players who own the apartment rooms
- cost is based on explosive items (as configured previously)
- payment is based on scrap that is inside your chests (may make a dedicated payment box later)
Show upkeep in bottom right when you are within the apartment complex
update apartment_complex_monument/prototype
Fix priority on apartment scene menu item
merge from main -> apartment_complex_monument
merge from main -> fix_dynamic_occlusion_pausing
Fix pooling error where LODComponent was calling Refresh() before the GameObject was enabled & parenting was finished causing it to pull a LOD cell at 0,0,0 instead of the LOD cell at it's world position
- fixes codelocks attached to chests being invisible when pausing dynamic occlusion is enabled (because it would only refresh it's LOD cell when it was considered dynamic)
merge from main -> fix_dynamic_occlusion_pausing
merge from fix_hover_loot_attachments -> main
Fix hover looting multiple attachments inside a gun only moving the first one because it was toggling all item info panels which cancelled the other pending loot actions
merge from fix_cui_drabble_nre -> main
Merge PR #83 to fix draggable UI causing NRE on panels that can be disabled
merge from fix_forceaddtoteam -> main
Fix forceaddtoteam not working if you weren't already in a team and not working if the target was already in a team
merge from fix_itemcontainer_take_leak -> main
Fix ItemContainer.Take() leaking items when a null list is passed in
- used when taking items from a container but not keeping them (like crafting)
▋ ▇▉▋▍▇ ▆▌▅▊ ▊▆▄▍▋▌▉▆█▉▊▍▅▌▆█▌█▊▍▍▇█▌ █▅ ▌▍▊▍
▋ ▋▅▇ ▄▉█▌▌ ▍▅▊▊▌▇▊▊▍ ▇▋▇█▌▅▄▅▅ ▅▄▇▆▌ ▊▋▋ ▄▆▉▆▌▄▄ ▇▄▉▍▄ ▅▍▄▌▄▆▄▄▇ ▍▄▆▍ █▆▋█▋▆▄ ▍▄▆█ ▄▋▉ ▋▇▄▋▉▅▄▍▆ ▄▉▅ ▊▊▋█▅▅▆▇▇▋▇▌▇▆▍▅ ▄▊▊▋ ▇▋ ▆▋▆▅█▅▌▉▍▋▍▉▊▇▆▊▅▆▌▇ ▅▍ ▍▆ █▇▅▍▌ ▊▇▌▌▍▇▍ ▅▍ ▋▅▉▌▌▉ ▍▋▊▉▍██▇▍
update apartment_complex_monument/prototype
merge from apartment_complex_monument/prototype -> apartment_complex_monument
Fix finding unoccupied rooms not checking the size requested, only if they are free
Start of code to handle upgrading rooms
- transfer items from one apartment to another one
Flesh out apartment conversations a bit more
Prevent turning furnaces & campfires on & off if there is a lock attached
Fix spawning of furniture inside apartment room
Add support for PreProcess to fully remove GameObjects from a prefab instead of simply nominating them for deletion if they are empty
- allows us to remove all the child entities inside of the apartment room entity and only spawn them in when the room is rented
Add apartment lock to manifest
Don't store furniture as children of the apartment room because it causes issues with raycasts (and who knows what else)
Switch from using codelocks to an "apartment lock"
- new type of BaseLock that reads auth list from the apartment room instead of having to sync the list of guests from apartment room -> codelocks
- apply to all furniture & doors inside the apartment so we can protect all storage incase cheaters / players sneak into apartment rooms
Convert some of the apartments furniture into entities