Add face bandanas (#24597)
* add face bandanas * oops * make face bandanas butcherable, also one bite * oops * Add mouth IdentityBlocker to bandanas * refactor to use foldablecomponent * remove some leftover bits * remove HamsterWearable until face sprite updated * oops * review changes * remove a few unneeded bits
@@ -1,114 +1,72 @@
|
||||
- type: entity
|
||||
parent: ClothingHeadBaseButcherable
|
||||
parent: [ClothingHeadBaseButcherable, BaseFoldable]
|
||||
id: ClothingHeadBandBase
|
||||
abstract: true
|
||||
components:
|
||||
- type: Foldable
|
||||
folded: true
|
||||
- type: Mask
|
||||
isToggled: true
|
||||
- type: IngestionBlocker
|
||||
enabled: false
|
||||
- type: IdentityBlocker
|
||||
enabled: false
|
||||
coverage: MOUTH
|
||||
- type: Sprite # needed for vendor inventory icons
|
||||
layers:
|
||||
- state: icon
|
||||
map: ["foldedLayer"]
|
||||
visible: true
|
||||
- state: icon_mask
|
||||
map: [ "unfoldedLayer" ]
|
||||
visible: false
|
||||
|
||||
- type: entity
|
||||
parent: [ClothingHeadBandBase, ClothingMaskBandBlack]
|
||||
id: ClothingHeadBandBlack
|
||||
name: black bandana
|
||||
description: A black bandana to make you look cool.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Bandanas/black.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Bandanas/black.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingHeadBaseButcherable
|
||||
parent: [ClothingHeadBandBase, ClothingMaskBandBlue]
|
||||
id: ClothingHeadBandBlue
|
||||
name: blue bandana
|
||||
description: A blue bandana to make you look cool.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Bandanas/blue.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Bandanas/blue.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingHeadBaseButcherable
|
||||
parent: [ClothingHeadBandBase, ClothingMaskBandBotany]
|
||||
id: ClothingHeadBandBotany
|
||||
name: botany bandana
|
||||
description: A botany bandana to make you look cool, made from natural fibers.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Bandanas/botany.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Bandanas/botany.rsi
|
||||
- type: Tag
|
||||
tags:
|
||||
- ClothMade
|
||||
- HamsterWearable
|
||||
- WhitelistChameleon
|
||||
|
||||
- type: entity
|
||||
parent: ClothingHeadBaseButcherable
|
||||
parent: [ClothingHeadBandBase, ClothingMaskBandGold]
|
||||
id: ClothingHeadBandGold
|
||||
name: gold bandana
|
||||
description: A gold bandana to make you look cool.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Bandanas/gold.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Bandanas/gold.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingHeadBaseButcherable
|
||||
parent: [ClothingHeadBandBase, ClothingMaskBandGreen]
|
||||
id: ClothingHeadBandGreen
|
||||
name: green bandana
|
||||
description: A green bandana to make you look cool.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Bandanas/green.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Bandanas/green.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingHeadBaseButcherable
|
||||
parent: [ClothingHeadBandBase, ClothingMaskBandGrey]
|
||||
id: ClothingHeadBandGrey
|
||||
name: grey bandana
|
||||
description: A grey bandana to make you look cool.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Bandanas/grey.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Bandanas/grey.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingHeadBaseButcherable
|
||||
parent: [ClothingHeadBandBase, ClothingMaskBandRed]
|
||||
id: ClothingHeadBandRed
|
||||
name: red bandana
|
||||
description: A red bandana to make you look cool.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Bandanas/red.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Bandanas/red.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingHeadBaseButcherable
|
||||
parent: [ClothingHeadBandBase, ClothingMaskBandSkull]
|
||||
id: ClothingHeadBandSkull
|
||||
name: skull bandana
|
||||
description: A bandana with a skull to make you look even cooler.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Bandanas/skull.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Bandanas/skull.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingHeadBaseButcherable
|
||||
parent: [ClothingHeadBandBase, ClothingMaskBandMerc]
|
||||
id: ClothingHeadBandMerc
|
||||
name: mercenary bandana
|
||||
description: To protect the head from the sun, insects and other dangers of the higher path.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Bandanas/merc.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Bandanas/merc.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingHeadBaseButcherable
|
||||
parent: [ClothingHeadBandBase, ClothingMaskBandBrown]
|
||||
id: ClothingHeadBandBrown
|
||||
name: brown bandana
|
||||
description: A brown bandana to make you look cool.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Bandanas/brown.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Bandanas/brown.rsi
|
||||
name: brown bandana
|
||||
138
Resources/Prototypes/Entities/Clothing/Masks/bandanas.yml
Normal file
@@ -0,0 +1,138 @@
|
||||
- type: entity
|
||||
parent: [ClothingMaskBaseButcherable, BaseFoldable]
|
||||
id: ClothingMaskBandanaBase
|
||||
abstract: true
|
||||
components:
|
||||
- type: Appearance
|
||||
- type: Foldable
|
||||
canFoldInsideContainer: true
|
||||
- type: FoldableClothing
|
||||
foldedSlots:
|
||||
- HEAD
|
||||
unfoldedSlots:
|
||||
- MASK
|
||||
- type: Mask
|
||||
- type: IngestionBlocker
|
||||
- type: IdentityBlocker
|
||||
coverage: MOUTH
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: icon_mask
|
||||
map: [ "unfoldedLayer" ]
|
||||
- state: icon
|
||||
map: ["foldedLayer"]
|
||||
visible: false
|
||||
|
||||
- type: entity
|
||||
parent: ClothingMaskBandanaBase
|
||||
id: ClothingMaskBandBlack
|
||||
name: black bandana
|
||||
description: A black bandana to make you look cool.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Bandanas/black.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Bandanas/black.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingMaskBandanaBase
|
||||
id: ClothingMaskBandBlue
|
||||
name: blue bandana
|
||||
description: A blue bandana to make you look cool.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Bandanas/blue.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Bandanas/blue.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingMaskBandanaBase
|
||||
id: ClothingMaskBandBotany
|
||||
name: botany bandana
|
||||
description: A botany bandana to make you look cool, made from natural fibers.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Bandanas/botany.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Bandanas/botany.rsi
|
||||
- type: Tag
|
||||
tags:
|
||||
- ClothMade
|
||||
- WhitelistChameleon
|
||||
|
||||
- type: entity
|
||||
parent: ClothingMaskBandanaBase
|
||||
id: ClothingMaskBandGold
|
||||
name: gold bandana
|
||||
description: A gold bandana to make you look cool.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Bandanas/gold.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Bandanas/gold.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingMaskBandanaBase
|
||||
id: ClothingMaskBandGreen
|
||||
name: green bandana
|
||||
description: A green bandana to make you look cool.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Bandanas/green.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Bandanas/green.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingMaskBandanaBase
|
||||
id: ClothingMaskBandGrey
|
||||
name: grey bandana
|
||||
description: A grey bandana to make you look cool.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Bandanas/grey.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Bandanas/grey.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingMaskBandanaBase
|
||||
id: ClothingMaskBandRed
|
||||
name: red bandana
|
||||
description: A red bandana to make you look cool.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Bandanas/red.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Bandanas/red.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingMaskBandanaBase
|
||||
id: ClothingMaskBandSkull
|
||||
name: skull bandana
|
||||
description: A bandana with a skull to make you look even cooler.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Bandanas/skull.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Bandanas/skull.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingMaskBandanaBase
|
||||
id: ClothingMaskBandMerc
|
||||
name: mercenary bandana
|
||||
description: To protect the head from the sun, insects and other dangers of the higher path.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Bandanas/merc.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Bandanas/merc.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingMaskBandanaBase
|
||||
id: ClothingMaskBandBrown
|
||||
name: brown bandana
|
||||
description: A brown bandana to make you look cool.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Bandanas/brown.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Bandanas/brown.rsi
|
||||
@@ -27,3 +27,26 @@
|
||||
icon: { sprite: Clothing/Mask/gas.rsi, state: icon }
|
||||
iconOn: Interface/Default/blocked.png
|
||||
event: !type:ToggleMaskEvent
|
||||
|
||||
- type: entity
|
||||
id: ClothingMaskBaseButcherable
|
||||
parent: ClothingMaskBase
|
||||
abstract: true
|
||||
components:
|
||||
- type: Butcherable
|
||||
butcheringType: Knife
|
||||
spawned:
|
||||
- id: MaterialCloth1
|
||||
amount: 1
|
||||
- type: Food
|
||||
requiresSpecialDigestion: true
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
food:
|
||||
maxVol: 10
|
||||
reagents:
|
||||
- ReagentId: Fiber
|
||||
Quantity: 10
|
||||
- type: Tag
|
||||
tags:
|
||||
- ClothMade
|
||||
|
Before Width: | Height: | Size: 301 B After Width: | Height: | Size: 301 B |
@@ -18,7 +18,7 @@
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "mask-equipped-HELMET",
|
||||
"name": "equipped-MASK",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
|
||||
|
Before Width: | Height: | Size: 322 B After Width: | Height: | Size: 322 B |
@@ -18,7 +18,7 @@
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "mask-equipped-HELMET",
|
||||
"name": "equipped-MASK",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
|
||||
|
Before Width: | Height: | Size: 317 B After Width: | Height: | Size: 317 B |
@@ -22,7 +22,7 @@
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "mask-equipped-HELMET",
|
||||
"name": "equipped-MASK",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
|
||||
|
Before Width: | Height: | Size: 780 B After Width: | Height: | Size: 780 B |
@@ -18,7 +18,7 @@
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "mask-equipped-HELMET",
|
||||
"name": "equipped-MASK",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
|
||||
|
Before Width: | Height: | Size: 305 B After Width: | Height: | Size: 305 B |
@@ -18,7 +18,7 @@
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "mask-equipped-HELMET",
|
||||
"name": "equipped-MASK",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
|
||||
|
Before Width: | Height: | Size: 319 B After Width: | Height: | Size: 319 B |
@@ -18,7 +18,7 @@
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "mask-equipped-HELMET",
|
||||
"name": "equipped-MASK",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
|
||||
|
Before Width: | Height: | Size: 385 B After Width: | Height: | Size: 385 B |
@@ -18,7 +18,7 @@
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "mask-equipped-HELMET",
|
||||
"name": "equipped-MASK",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
|
||||
|
Before Width: | Height: | Size: 369 B After Width: | Height: | Size: 369 B |
@@ -18,7 +18,7 @@
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "mask-equipped-HELMET",
|
||||
"name": "equipped-MASK",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
|
||||
|
Before Width: | Height: | Size: 304 B After Width: | Height: | Size: 304 B |
@@ -18,7 +18,7 @@
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "mask-equipped-HELMET",
|
||||
"name": "equipped-MASK",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
|
||||
|
Before Width: | Height: | Size: 337 B After Width: | Height: | Size: 337 B |
@@ -18,7 +18,7 @@
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "mask-equipped-HELMET",
|
||||
"name": "equipped-MASK",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
|
||||