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>
This commit is contained in:
Banedon
2025-04-20 23:17:12 +02:00
committed by GitHub
parent 3f2b161277
commit aeb53a302b
8 changed files with 58 additions and 26 deletions

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 346 B

After

Width:  |  Height:  |  Size: 501 B

View File

@@ -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
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 687 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 672 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 612 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B