Add action to pull down mask (#9015)
* Add action to pull down mask * Update based on review comments * fix access * cleanup * Update based on review comments * revert change to ToggleableClothingSystem * switch to unequip * Specify the unequip is for togglemaskevent only * fix issue of activating mask in hands with something else in mask slot * Update based on review comments * switch to dependency for ActionSystem for consistency * whoops other instance too * review changes
This commit is contained in:
@@ -7,3 +7,16 @@
|
||||
state: icon
|
||||
- type: Clothing
|
||||
Slots: [mask]
|
||||
|
||||
- type: entity
|
||||
abstract: true
|
||||
parent: ClothingMaskBase
|
||||
id: ClothingMaskPullableBase
|
||||
components:
|
||||
- type: Mask
|
||||
toggleAction:
|
||||
name: action-name-mask
|
||||
description: action-description-mask-toggle
|
||||
icon: Clothing/Mask/gas.rsi/icon.png
|
||||
iconOn: Interface/Inventory/blocked.png
|
||||
event: !type:ToggleMaskEvent
|
||||
@@ -1,5 +1,5 @@
|
||||
- type: entity
|
||||
parent: ClothingMaskBase
|
||||
parent: ClothingMaskPullableBase
|
||||
id: ClothingMaskGas
|
||||
name: gas mask
|
||||
description: A face-covering mask that can be connected to an air supply.
|
||||
@@ -14,7 +14,7 @@
|
||||
protection: 0.05
|
||||
|
||||
- type: entity
|
||||
parent: ClothingMaskBase
|
||||
parent: ClothingMaskPullableBase
|
||||
id: ClothingMaskGasSecurity
|
||||
name: security gas mask
|
||||
description: A standard issue Security gas mask.
|
||||
@@ -29,7 +29,7 @@
|
||||
protection: 0.05
|
||||
|
||||
- type: entity
|
||||
parent: ClothingMaskBase
|
||||
parent: ClothingMaskPullableBase
|
||||
id: ClothingMaskGasSyndicate
|
||||
name: syndicate gas mask
|
||||
description: A close-fitting tactical mask that can be connected to an air supply.
|
||||
@@ -45,7 +45,7 @@
|
||||
- type: FlashImmunity
|
||||
|
||||
- type: entity
|
||||
parent: ClothingMaskBase
|
||||
parent: ClothingMaskPullableBase
|
||||
id: ClothingMaskGasAtmos
|
||||
name: atmospheric gas mask
|
||||
description: Improved gas mask utilized by atmospheric technicians. It's flameproof!
|
||||
@@ -94,7 +94,7 @@
|
||||
protection: 0.05
|
||||
|
||||
- type: entity
|
||||
parent: ClothingMaskBase
|
||||
parent: ClothingMaskPullableBase
|
||||
id: ClothingMaskGasExplorer
|
||||
name: explorer gas mask
|
||||
description: A military-grade gas mask that can be connected to an air supply.
|
||||
@@ -116,7 +116,7 @@
|
||||
Heat: 0.95
|
||||
|
||||
- type: entity
|
||||
parent: ClothingMaskBase
|
||||
parent: ClothingMaskPullableBase
|
||||
id: ClothingMaskBreathMedical
|
||||
name: medical mask
|
||||
description: A close-fitting sterile mask that can be connected to an air supply.
|
||||
@@ -131,7 +131,7 @@
|
||||
protection: 0.10
|
||||
|
||||
- type: entity
|
||||
parent: ClothingMaskBase
|
||||
parent: ClothingMaskPullableBase
|
||||
id: ClothingMaskBreath
|
||||
name: breath mask
|
||||
description: Might as well keep this on 24/7.
|
||||
@@ -182,7 +182,7 @@
|
||||
- type: BreathMask
|
||||
|
||||
- type: entity
|
||||
parent: ClothingMaskBase
|
||||
parent: ClothingMaskPullableBase
|
||||
id: ClothingMaskSterile
|
||||
name: sterile mask
|
||||
description: A sterile mask designed to help prevent the spread of diseases.
|
||||
@@ -211,7 +211,7 @@
|
||||
replacement: mumble
|
||||
|
||||
- type: entity
|
||||
parent: ClothingMaskBase
|
||||
parent: ClothingMaskPullableBase
|
||||
id: ClothingMaskPlague
|
||||
name: plague doctor mask
|
||||
description: A bad omen.
|
||||
|
||||
Reference in New Issue
Block a user