5,301 Commits over 1,522 Days - 0.15cph!
Fix alt looting from player corpse bags -> player inventory
- fixes clothing alt looted from dropped item containers not being worn if you are already wearing clothing
- fixes clothing that would be dropped if you have a full inventory by trying to force move the items into the corpse bag first (bypassing the "no item input" manually)
merge from fix_baseentity_query_nre -> main
Extra hardening to fix exception inside DoServerDestroy() by checking if children are null before calling child.OnParentRemoved()
Extra hardening by checking if entity is null inside SocketMod_PlantCheck too
Don't just skip over entities that are destroyed in BaseEntity.Query, make sure they are removed in the narrow phase
merge from main -> fix_baseentity_query_nre
merge from fix_breakin_sound_loop -> main
Fix the master key unlock not set to loop
Everyone loves commiting RidableHorse.prefab with new fields (at least it's not reserializing comments anymore)
merge from fix_deep_sea_ladder -> main
Add `printboatteleports` command to print what players will be teleported to the deep sea
- allows us to see if ladders in standalone builds behave differently than ladders in the editor
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