branchrust_reboot/main/hood_and_cuffscancel
183 Commits over 91 Days - 0.08cph!
Enable condition on handcuffs item
Also allow hood to be removed from sleeping players via the radial menu, for consistency.
Can now use the radial menu option to remove handcuffs from a sleeping player
Fixed sleeping handcuffed players not being fully lootable.
Moved some existing code to an interface.
Don't allow movement when crawling and restrained
Restraint item override for tick
Lock/unlock backpack correctly
Added "Remove Hood" radial menu option
Change remove handcuffs icon
Added radial menu option to unlock and return cuffs from a player
Additional restrained check
Added BreaksRestraint to DamageTypeEx
Ignore cold, bleed etc damage for unlock minigame reset.
Hood wearable mask tweaks
Added a way to override force show on UIBlackoutOverlay.
Added prison hood UI script, overring force show when the player is dead.
Updated UI prefab.
Block unlock minigame in wounded states
Increase unlock timer from 5 to 60 seconds to match design spec now I'm not unlocking them constantly in dev.
Added handcuffs.UnlockDurationMultiplier replicated var to save time when testing.
Fixed held (but unlocked) handcuffs keeping your inventory locked after surrendering.
Disable UIBlackoutOverlay if in debugcamera
Don't allow items to be drag swapped onto locked cuffs
Handcuffs will now appear correctly on spawned players
Pushing a handcuffed player dismounts them
Serverside overriding of active item if restrained
Added attack_hit_kidnapper (temp duplicate) and assigned in controller.
Remove some unnecessary updates