branchrust_reboot/main/softcore_update/bag_changescancel
20 Commits over 0 Days - ∞cph!
Fixed being able to pickup destroyed bags/towels/beds
Prevent TC from being repaired if it would overlap another TC once it's repaired
Added dirt layer to Standard-Cloth shader, towels need it
Add dirt layer to all LOD levels of the Standard-Cloth-Specular shader
Can no longer reassign destroyed bags
Fixed bag count not updating properly after a bag was destroyed and turned into a corpse
If a single use bag is deleted from the map, destroy it entirely rather than leaving it to be claimed
Made the new corpses immortal
Added icons to sleeping bag corpses on the map and respawn screens
Pass whether a bag is a corpse in the respawn option data
Copy deployer id and bag name to destroyed version
Hook up towel corpse
Hooked up dirt layer component on sleeping bag corpse, works with skins
Fix sleeping bag corpses spawning their own corpse so they could never truely be destroyed
Create sleeping bag corpse as a variant of the normal sleeping bag prefab
- keeps all respawn prefab setup identical
Fix corpse not being spawned from `ent kill` after refactor
Reassign all the corpse references since the field name was changed
Refactor / rewrite so that corpses are dropped from `BaseCombatEntity` instead of `StorageEntity`
- rename methods like `DropCorpse()` -> `DropDeployableCorpse()`
- keep it seperate from normal animal & player corpse code
Add support for sleeping bags corpses to be destroyed after a player spawns on them