5,059 Commits over 1,492 Days - 0.14cph!
Add NPC to damaged wing of apartment prefab (right beside the security room)
Create security guard NPC prefab and conversation
Bury the timer and or switch under the ground (so players can't press the timer and can only press the button to re-open the door)
Instead of doing the timed lock as a custom entity, implement it with normal IO (Timer + Push Button) and trigger the timer with the NPC
- add `testapartmentsecuritydoor` to fire off the NPC option
Rename TimedAccessDoor -> TimedLock
Add CCTV computer station and hidden security room in the damaged part of the apartment complex
Start adding code support for an NPC to grant access to a security system to view the contents of apartment rooms
Fix phrases getting lost in a previous merge
Update PhraseContexts.json
merge from prototype -> apartment_complex_monument
Adjust the position of the front vendor forwards so they are easier to interact with
Move vendor & apartment building entity from the scene -> apartment_complex_core.prefab to prevent merge conflicts
merge from main -> apartment_complex_monument/prototype
update apartment_complex_monument/prototype
merge from prototype -> apartment_complex_monument
Fix furniture spawn position list not being marked as serializable so the room prefabs lost their furniture spawn points on server restart
Remove upkeep scaling based on the contents by adding convar for `rentscaling`
- default to `0` (turned off)
Include the player's inventory in their apartment rent calculations so they can't sleep or stand in their room and store items on themselves to avoid paying extra rent
merge from prototype -> apartment_complex_monument
Resolve upkeep terminal in PostServerLoad() instead of inside Load() where the room can load before the upkeep terminal
Make ElevatorStatic partial
Remove guest functionality of apartments: only have owners and only the owners can open and close the doors
- if you want to share apartments with your friends, either be in the room or make a proper base
merge from prototype -> apartment_complex_monument
merge from fix_deepsea_teleport_consistent -> main
Speculative fix for players not consistently being teleported into the deep sea
- grab list of players before PreTeleportEntity() so they are guarenteed to have PostTeleportEntity() called if they unparent when going to sleep before transition
Fix elevator not showing the top floor in the radial menu because the top floor doesn't contain itself inside the list of floors
Change phrase name for apartment breaking in
Set display floor number for basement elevator
Set floor display numbers in the apartment elevator shaft
Add support for elevators to override the display value for their floor number
- still uses indexes to navigate floors but will show "Floor 3" or "Penthouse"
Add icons for elevator floors
update apartment_complex_monument/prototype
merge from prototype -> apartment_complex_monument
merge from main -> apartment_complex_monument
merge from lockpick -> apartment_complex_monument/prototype
merge from fix_server_browser_compression/http_clien -> main
Switch BannedServers over to the shared HttpClient too (even though it's not frequently called)
Fix compile error after merge
merge from main -> fix_server_browser_compression/http_client
Prevent unoccupied rooms from being broken into
- link apartment doors -> apartment on the client
Add support to break into rooms with a master key
- one time use
- takes 10s to break in
- gives 5m access
- can steal stuff from the rooms in that time
- can let yourself out of the room if you are left inside
Add apartment master lock for breaking into apartments