Santa hat with a foldable beard (#36510)
* Added foldable component to santa hat * Modified sprites, modified YAML. YAML is cursed * Changed santa hat description to mention the beard fold * Removed HideLayerClothing since it doesnt work * Changed the prefix from "beard" to "nobeard" to match with the fold/unfold verb * Credits for sprite changes --------- Co-authored-by: Lanedon <matth.galvez@gmail>
@@ -421,15 +421,28 @@
|
||||
sprite: Clothing/Head/Hats/redwizard.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingHeadBase
|
||||
parent: [ClothingHeadBase, BaseFoldable]
|
||||
id: ClothingHeadHatSantahat
|
||||
name: santa hat
|
||||
description: A festive hat worn by Santa Claus.
|
||||
description: A festive hat worn by Santa Claus. Now with a foldable beard.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Hats/santahat.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Hats/santahat.rsi
|
||||
- type: Appearance
|
||||
- type: Foldable
|
||||
canFoldInsideContainer: true
|
||||
- type: FoldableClothing
|
||||
foldedEquippedPrefix: nobeard
|
||||
foldedHeldPrefix: nobeard
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Hats/santahat.rsi
|
||||
layers:
|
||||
- state: icon
|
||||
map: ["unfoldedLayer"]
|
||||
- state: icon-nobeard
|
||||
map: [ "foldedLayer" ]
|
||||
visible: true
|
||||
|
||||
|
||||
- type: entity
|
||||
parent: ClothingHeadBase
|
||||
|
||||
|
After Width: | Height: | Size: 346 B |
|
Before Width: | Height: | Size: 346 B After Width: | Height: | Size: 501 B |
@@ -1,30 +1,49 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/4f6190e2895e09116663ef282d3ce1d8b35c032e. vox state by Flareguy",
|
||||
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/4f6190e2895e09116663ef282d3ce1d8b35c032e. vox state by Flareguy, no beard variant by Banedon",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "equipped-HELMET",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "equipped-HELMET-vox",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
"states": [
|
||||
{
|
||||
"name": "icon-nobeard"
|
||||
},
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "equipped-HELMET",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "nobeard-equipped-HELMET",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "equipped-HELMET-vox",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "nobeard-equipped-HELMET-vox",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "nobeard-inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "nobeard-inhand-right",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
After Width: | Height: | Size: 687 B |
|
After Width: | Height: | Size: 672 B |
|
After Width: | Height: | Size: 612 B |
|
After Width: | Height: | Size: 606 B |