5,290 Commits over 1,522 Days - 0.14cph!
merge from fix_apartment_hostile_warning_flicker -> main
More fixes for the hostile warning
- don't count up weapon draw duration while they have the CombatZone flag (as the client won't know to holster their weapon until metabolism clears the flag)
- fix MarkWeaponDrawDuration() rounding down the newDuration but not oldDuration when checking if it needs to send an update
merge from main -> fix_apartment_hostile_warning_flicker
merge from apartment_break_in_sound -> main
Reserialize the break in sound as it didn't have a sound class assigned which was throwing NREs
Play the break-in key jingling sound when the break-in is happening
- set flag on the door when break-in is active
- client plays the sound
Assign the sound effect to the apartment door prefabs
Fix outpost bag called "Compound" instead of "Outpost" in softcore
merge from fix_softcore_outpost_bag_name -> main
merge from fix_item_ownership_bugs -> main
Fix item ownership not applying when looting an NPC's corpse that has despawned into a body bag before being looted
- add `npccorpsedepspawn` convar to make it easier to test NPC corpse bags
- apply item ownership inside body bag if the steam ID is an NPC
Fix item ownership not applying to items looted from containers if a player partially loots it then the loot refreshes afterwards
- avoids guns and armor very rarely appearing on servers with no ownership
Print errors in the rust editor when RealmedRemove detects an object in "doNotRemoveFromClient" that isn't parented to the same object and therefore won't be protected from removal
- show in editor instead of automated tests so these are noticed during development instead of needing to wait for it to be merged to staging
merge from fix_realmed_remove_warning -> main
merge from fix_apartment_loot_hallway -> main
merge from fix_apartment_race_purchase -> main
Fix apartment vendor not showing "sorry, we ran out of those rooms, please pick another" if two players go through the conversation options and try to rent the last room at the same time
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)