Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Equip Delays to Clothing #499

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading