5,272 Commits over 1,522 Days - 0.14cph!
Remove chat message when renting a room (that was placeholder, it's only supposed to be in the NPC dialog)
merge from fix_progress_bar_persist -> main
Fix break-in progress bar not being hidden if you unequip the master key while breaking in
- still needed to have master key equipped when the break-in finishes
merge from fix_progress_bar_persist -> main
Fix progress bar not being hidden when disconnecting from the server by canceling it on disconnect
- causes the break-in progress bar to remain stuck on screen (other ones too tbf)
merge from fix_apartment_hostile_warning_flicker -> main
Fix the "holster your weapon" warning showing when leaving your apartment room for a short duration
- give an extra 1s after their weapon is holstered before showing the warning
merge from fix_ent_kill_position -> main
Show position and network ID when entity commands are used (example: ent kill)
merge from fix_apartment_bag_limit -> main
Set apartment beds to not count towards bag limit
- not a big deal since you can only have a single apartment on the map
Add support for certain sleeping bags to not count towards bag limit
merge from delete_timed_lock -> main
Remove timed lock code as it didn't end up being used for apartments (for accessing security guard room for 5m)
merge from fix_apartment_bathroom_door -> main
Fix bathroom door requiring apartment ownership to open & close
- don't need to block access to the bathroom for non-tenants
merge from fix_apartment_fridge_transfer -> main
merge fix for fridges to the correct branch
Fix fridges not transfering their content when upgrading your room
- caused by only checking for StorageContainer, not IItemContainerEntity which grabs IO entities like fridges
- add 'printapartmentfurniture' command to print off all entities inside the room (which is how I spotted that fridges weren't considered storage)
merge from apartment_s2p_spawner -> main
Add support for apartment rooms to only be spawned based on position instead of all the entities being baked into the monument's scene
- stores list of entities to spawn inside a component attached to the output prefab
- spawns them inside FindMapEntities()
- fixes needing to run S2P when only the apartment room prefab is changed
- reduces scene size from 175MB -> 75MB (unsure how that translates to actual RAM usage)
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