branchrust_reboot/main/softcore_update/tc_changescancel
28 Commits over 0 Days - ∞cph!
Move flag that blocks all building when TC is destroyed to `CanBuild()` method inside BuildingPrividge
- move all building checks from IsAuthed() -> CanBuild()
- ensures all other TC auth checks don't get messed up by prevent building flag
merge from softcore_update -> tc_changes
Fix keylock not spawning locked when corpse is repaired
Fix codelocks spawning as locked but with no code after a deployable corpse is repaired if the lock was unlocked when the deployable was destroyed
Set spawned lock on corpse to the "Lock" slot
- fixes lock not respawning after deployable is broken and repaired 2x
- fixes codelock not preventing looting of box after corpse is repaired
Rename entity -> lockEntity
merge from softcore_update -> tc_changes
Save the codelock & keylock on deployable corpses
- respawn codelock / keylock when the deployable is repaired
Update TC corpse prefab with simulated gibs
- still needs some love but looks better
merge from softcore_update -> tc_changes
Prevent TC dropping corpse if the last building block of a base is destroyed
merge from softcore_update -> tc_changes
Set TC corpse protection to immune
Set decay of TC corpse to 48 hours
Add flag to TC to block every player from building `BlockAllFromBuilding`
- set the flag in the corpse prefab so it blocks base owners from building until the TC corpse is fully repaired
▋▌▊ `▋▄▅▍▅▄` ▄▇█▇ ▉▅ ▊▊▍▋█▍▆█▆ ▋▄ ▅█▇▄▉▄ ▌▍ ▉▋ █▅▌'▄ █▌ ▄▉▇▇▋██▉▊▍ ▇█▋█ ██ ▍▍▍▉▋▍▉▇ (▊█▍▇ ▅█ ▄▋ ▍▄▆ ▌▌ █▇▊▍▌▇▊▋)
Update bounds & cost to repair the TC corpse prefab
Fix authlist not being copied correctly from TC -> corpse
Ensure the storage corpse gets attached to the building the deployable belonged to (so it applies the correct TC privledge)
Send network update on the deployable once the corpse is fully repaired
Only kill the corpse once the deployable is fully setup
Add corpse prefab to normal TC prefab
Update manifest (radtown_1)
merge from softcore_update -> tc_changes
Add callback when corpse is spawned so we can transfer auth list onto invisible TC
Add invisible placeholder TC
- allows us to persist auth of a building when the TC is destroyed
- will be independent from the TC's corpse