Skip to content

Commit

Permalink
Add equip delays
Browse files Browse the repository at this point in the history
  • Loading branch information
Mnemotechnician committed Jun 30, 2024
1 parent 3eb60a4 commit e4b2fa9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@
- Hardsuit
- WhitelistChameleon
- HidesHarpyWings #DeltaV: Used by harpies to help render their hardsuit sprites
- type: Clothing
equipDelay: 2.5 # Hardsuits are heavy and take a while to put on/off.
unequipDelay: 2.5

- type: entity
abstract: true
Expand All @@ -114,6 +117,9 @@
- type: Tag
tags:
- HidesHarpyWings #DeltaV: Used by harpies to help render their hardsuit sprites
- type: Clothing
equipDelay: 1.25 # Softsuits are easier to put on and off
unequipDelay: 1

- type: entity
parent: ClothingOuterBase
Expand Down
3 changes: 3 additions & 0 deletions Resources/Prototypes/Entities/Clothing/base_clothing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
- WhitelistChameleon
- type: StaticPrice
price: 15
- type: Clothing
equipDelay: 0.5
unequipDelay: 0.5

- type: entity
abstract: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@
sprite: Nyanotrasen/Clothing/Head/Hats/cage.rsi
- type: Clothing
sprite: Nyanotrasen/Clothing/Head/Hats/cage.rsi
equipDelay: 0.5
unequipDelay: 6
- type: HeadCage

- type: entity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
sprite: Nyanotrasen/Clothing/Neck/Misc/shock.rsi
- type: Clothing
sprite: Nyanotrasen/Clothing/Neck/Misc/shock.rsi
equipDelay: 1
unequipDelay: 10 # It's a collar meant to be used on prisoners (or not), so it probably has some sort of safety.
- type: ShockCollar
- type: UseDelay
delay: 3 # DeltaV: prevent clocks instakilling people
Expand Down

0 comments on commit e4b2fa9

Please sign in to comment.