5,247 Commits over 1,492 Days - 0.15cph!
Fix hostile zone trigger not being a trigger
Show "Combat Zone" vital instead of "Safe Zone" when inside your room so it's clear you can take damage
Fix NRE when selecting the security guard conversation option
- either by updating phrases or by changing the code, unsure which
Move security guard room from the damaged wing -> basement apartments (so it's easier to find)
merge from prototype -> apartment_complex_monument
Override safezone behavior with the new TriggerSafeZoneOverride, returning "not in a safezone" if they are inside a safezone trigger & non-safezone trigger at the same time
Add TriggerSafezoneOverride to all the apartment prefabs
Create SafeZoneOverride trigger
- allows damage inside a set area in a safezone
Fix "rent due" vitals after merge
update apartment_complex_monument/prototype
merge from main -> apartment_complex_monument
merge from main -> apartment_complex_monument
Add `checkoutallrooms` to allow you to undo the `rentallrooms` command
Autoclose apartment doors when owners open & close them too
update apartment_complex_monument/prototype
Fix elevator floor numbers also only being sent to clients but not persisted across server restarts
Change elevator icons from Lobby -> Floor 0 and Basement -> Floor -1 (US vs EU I think)
Add the extra enums to support this
Add icons for floor 0 & floor -1
merge from prototype -> apartment_complex_monument
Remove notepad panel from apartment key (leftover from door key) and set apartment key to prefer hotbar
Add code support for items to prefer hotbar even if they aren't equippable or consumables (so the apartment key can prioritize hotbar for now)
Fix master key not working after server restart
- actually caused by the apartment door -> room reference not being loaded after server save (was only loaded on client)
Don't grey out the floor you are currently one once the elevators close, as this requires you to go down & up if you don't get out of the elevator within 10s
merge from prototype -> apartment_complex_monument
Tweak apartment vendor conversation
- update phrases
- fix fail to purchase apartment dialogs not hooked up
Clear furniture inside apartment inside PreProcess so it's can't double add furniture spawns in future if preprocess is ran before builds
Fix apartment furniture not spawning in the correct position when renting a room after server restart
- caused by calculating localPosition manually instead of using transform.TransformPoint() which takes into account rotation of the apartment room
Fix apartment room not sending network update when being rented causing static furniture to not show
Change SetFlag() -> SetFlagLocal() inside ApartmentRoom.cs
Fix mounting range of sofa being too small
Turn L shaped sofa into a mountable entity
Set sofa to large apartment
update apartment_complex_monument/prototype
Codegen + phrases + test gen
merge from prototype -> apartment_complex_monument
merge from main -> apartment_complex_monument
Cherrypick CS
155224 (elevator deploy NRE)
Fix NRE when placing elevator
Enable radial menu on apartment elevators only
Make radial menu for elevators opt-in
merge from prototype -> apartment_complex_monument
Fix bucket placement finally, so finicky
Low dismount ddraw duration from 1000s -> 30s
- add convar `debugdismountduration` to control how long the ddraw is shown
Also fix for CheckSphere( Realm )
Fix BaseMountable CheckCapsule( Realm ) check not correctly filtering entities in CLIENT + SERVER mode
- will ignore all entities in client mode instead of only skipping server entities