All Rust commits from Facepunch
.meta file
Move command to new .cs file
Whoops added the "Create Centered Parent" into the ugui package instead of our other MenuItem scripts
Update large apartment with new positions
Fix the large apartment prefabs centering
Add "Create Centered Parent" GameObject menu item to fix off-center apartment children renders - built-in unity button was creating every empty parent at 0,0,0 of the parent apartment and using local position
Update bounds on apartment entities
Fix `CalculateBounds()` encapsulating Vector3.zero for entities with non-centered children - only apply to the editor inspect menu "RecalculateBounds" button - don't apply to automatic recalculating of bounds
Undo centering of children of large apartment cupboards since it breaks placement inside the large apartment
Switch out the entities in the large apartment
Manifest for new entities
Create entity versions of the storage inside large apartments
Add the apartment furnace to the large apartment
Turn the wood stove in the large apartment into a furnace
Add queen bed entity to large apartment
Create queen sized apartment bed
Add single bed to medium apartment
Add apartment bed entity to medium apartment
Create apartment bed entity
Add single locker entity to small apartment
Make variant of locker loot panel for the single locker
Add single width locker entity for the small apartment
update apartment_complex_monument/prototype
Make all furniture inside apartments immortal and remove all the groundwatch so it can't break due to "ground missing"
Evict players once they have rent due for >24hrs - once you catch up on rent the timer resets
Don't run upkeep for non-rented apartments
Protobuf
Send daily rent to client in apartment room entity Link apartment upkeep terminal -> apartment room on client
Switch loot panel for apartment upkeep terminal to new one
Add support for the TC loot panel to show the upkeep for the apartment rooms - use the apartment room to get the daily scrap rent
update apartment_complex_monument/prototype
Take scrap from the apartment every 30m for rent payment
Remove TC prefab from medium apartment
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
Update manifest
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