5,249 Commits over 1,492 Days - 0.15cph!
Add `printapartmentculling` to confirm what apartment rooms are culling
Fix apartments not being force culled when outside of the apartment complex building
Switch ApartmentRoom.Building to a SyncVar so its on the client
merge from apartment_complex_monument -> main
Fix static elevator lift "raise single floor" menu being stomped in CS
154047
merge from apartment_complex_monument -> main
merge from prototype -> apartment_complex_monument
Fix eject position not assigned on the small apartment
Move a few things under furniture root
Slightly shrink size of combat zone triggers in apartments to avoid triggering teleport when player is walking into the invisible barrier
Fix apartment entities missing from manifest entity list too
Update apartment prefabs (labels updated from manifest)
Update manifest (apartment entities got lost?)
Lower slots of bathroom sink & medicine cabinet from large box -> small box
Implement RemoveAllPlayers() to teleport all the players out of the room when the lease expires / apartment is checked out
Rename DailyScrapUpkeep -> CachedDailyUpkeep to make it more clear
Fix initial scrap not being added to upkeep terminal because the upkeep terminal isn't a part of the list of furniture
Fix apartment oven in the penthouse being called "large furnace" in the loot panel instead of "Oven"
Fix furnace in medium apartment not being under "furniture" root
merge from prototype -> apartment_complex_monument
update apartment_complex_monument/prototype
Make combat zone trigger only on server to prevent client colliders being caught in it
- we use flag for combat zone now so don't need it on the client
Modify ApartmentRoom.IsAuthed() to accept different authorization enums (split ability to loot vs enter the room)
Fix clientside triggers not being toggled by the invisible barriers convar
Prevent cheaters pushing themselves through the clientside barrier and being able to shoot players inside before they are teleported out
- block damage on the server if the attacker doesn't have the permission to pass through the barrier if invisible barriers are enabled
Fix invisible collider being disabled when leaving trigger instead of enabled (it's still being enabled when you come back into range but safer)
Don't teleport players out of non-rented rooms (annoying when noclipping through monument)
- safe because apartment door is closed when not rented
Add teleport position failsafe for players that bypass the invisible client barrier
Add `ent open` and `ent close` (to open apartment doors that aren't yours)
Add door toggle so the invisible door gets disabled if the user is authorized to enter the apartment
- acts like the invisible barrier isn't there for certain players
Get rid of only intruders being able to access the storage during a break-in, flag the whole room as a break-in is active for 5 minutes
- doesn't persist break-in across restarts because it only lasts 5 minutes, server takes >5m to restart, awkward to relog fast enough during break-in and there isn't a place to hook after all the slow server startup happens
- instead set break-in to false every time the server loads (since the flag is only disabled by an invoke that would be lost on server restart)
Another change for combat triggers
This isn't a clean one change per commit but change the combat zones so they are only show the flag on client and allow damage a break-in is happening
Add invisible blocker to apartments
Add support for an invisible player movement blocker in front of the door
Add console command for "fakerentroom" to allow you to rent a single room to a fake player instead of every single room
merge from satellite_loot_crate -> satellite_art
merge from PlayerMaintainedMonuments -> PlayerMaintainedMonuments/satellite_loot_crate
merge from main -> satellite_art
Lower apartment upkeep terminal from 6 slots -> 1 slot
Add "Thank you" response option after buying an apartment and they explain how it works
update apartment_complex_monument/prototype
merge from apartment_complex_monument -> main
merge from prototype -> apartment_complex_monument
Increase maximum conversation options from 4 -> 6 (even if they are filtered out)
- surely this won't break anything right
Ensure apartment sizes are translated properly
merge from apartment_complex_monument/prototype -> main
Fix compile error from random using statement being added
Add more conversation options for "you are staying in room {0}" and "how do I pay rent?"
Update conversation options for apartment vendor