]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Foldable wig on clowns mask (#42208)
authorSolidSyn <jacksonbeard01@gmail.com>
Sat, 10 Jan 2026 16:48:33 +0000 (08:48 -0800)
committerGitHub <noreply@github.com>
Sat, 10 Jan 2026 16:48:33 +0000 (16:48 +0000)
* Clowns base mask now has the ability to toggle the wig on and off.

* Changes the clown mask to have a foldable wig.

* Adds my credit for the wigless sprites in the meta.json

* Redid the description.

* Added an a to the description. Smiles.

* Resolved changes, thanks beck!

Resources/Prototypes/Entities/Clothing/Masks/masks.yml
Resources/Textures/Clothing/Mask/clown.rsi/icon-opened.png [new file with mode: 0644]
Resources/Textures/Clothing/Mask/clown.rsi/meta.json
Resources/Textures/Clothing/Mask/clown.rsi/opened-equipped-MASK-hamster.png [new file with mode: 0644]
Resources/Textures/Clothing/Mask/clown.rsi/opened-equipped-MASK-reptilian.png [new file with mode: 0644]
Resources/Textures/Clothing/Mask/clown.rsi/opened-equipped-MASK-vox.png [new file with mode: 0644]
Resources/Textures/Clothing/Mask/clown.rsi/opened-equipped-MASK-vulpkanin.png [new file with mode: 0644]
Resources/Textures/Clothing/Mask/clown.rsi/opened-equipped-MASK.png [new file with mode: 0644]

index 0af2cb0a77a695f48b7596c2d987b1f1e34d687c..87744b4d9111aa1b804724f04f756393d488188c 100644 (file)
     - Snout
 
 - type: entity
-  parent: ClothingMaskClownBase
+  parent: [ClothingMaskClownBase, BaseFoldable]
   id: ClothingMaskClown
+  description: A clown mask featuring a foldable wig; a true prankster's attire.
   components:
+  - type: Appearance
+  - type: Foldable
+    canFoldInsideContainer: true
+  - type: FoldableClothing
+    foldedEquippedPrefix: opened
+    foldedHeldPrefix: opened
+  - type: Sprite
+    sprite: Clothing/Mask/clown.rsi
+    layers:
+    - state: icon
+      map: [ "unfoldedLayer" ]
+    - state: icon-opened
+      map: [ "foldedLayer" ]
+      visible: false
   - type: Tag
     tags:
     - ClownMask
     - Snout
 
 - type: entity
-  parent: ClothingMaskClown
+  parent: ClothingMaskClownBase
   id: ClothingMaskClownBanana
   name: banana clown wig and mask
   components:
   - type: Construction
     graph: BananaClownMask
     node: mask
+  - type: Tag
+    tags:
+    - ClownMask
+    - HamsterWearable
+    - WhitelistChameleon
+  - type: HideLayerClothing
+    slots:
+    - Snout
 
 - type: entity
-  parent: [ClothingMaskClown, BaseSecurityContraband]
+  parent: [ClothingMaskClownBase, BaseSecurityContraband]
   id: ClothingMaskClownSecurity
   name: security clown wig and mask
   description: A debatably oxymoronic but protective mask and wig.
         Slash: 0.95
         Piercing: 0.95
         Heat: 0.95
+  - type: Tag
+    tags:
+    - ClownMask
+    - HamsterWearable
+    - WhitelistChameleon
+  - type: HideLayerClothing
+    slots:
+    - Snout
 
 - type: entity
   parent: ClothingMaskBase
diff --git a/Resources/Textures/Clothing/Mask/clown.rsi/icon-opened.png b/Resources/Textures/Clothing/Mask/clown.rsi/icon-opened.png
new file mode 100644 (file)
index 0000000..6b86fae
Binary files /dev/null and b/Resources/Textures/Clothing/Mask/clown.rsi/icon-opened.png differ
index c465987d07d04e451984b680146bc446703e44d8..8b4143ca936cd8a09c0e36063f36f4f212dd84fc 100644 (file)
@@ -1,7 +1,7 @@
 {
   "version": 1,
   "license": "CC-BY-SA-3.0",
-  "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/4f6190e2895e09116663ef282d3ce1d8b35c032e. Reptilian edit by Nairod(Github). equipped-MASK-vox state taken from /vg/station at commit https://github.com/vgstation-coders/vgstation13/commit/4638130fab5ff0e9faa220688811349d3297a33e and slightly modified by Flareguy | vulpkanin version taken from Paradise station at https://github.com/ParadiseSS13/Paradise/commit/f0fa4e1fd809482fbc104a310aa34cebf7df157d edited by Floofers",
+  "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/4f6190e2895e09116663ef282d3ce1d8b35c032e. Reptilian edit by Nairod(Github). equipped-MASK-vox state taken from /vg/station at commit https://github.com/vgstation-coders/vgstation13/commit/4638130fab5ff0e9faa220688811349d3297a33e and slightly modified by Flareguy | vulpkanin version taken from Paradise station at https://github.com/ParadiseSS13/Paradise/commit/f0fa4e1fd809482fbc104a310aa34cebf7df157d edited by Floofers | Wigless variants edited by Solid_Syn",
   "size": {
     "x": 32,
     "y": 32
     {
       "name": "equipped-MASK-vox",
       "directions": 4
+    },
+    {
+      "name": "icon-opened"
+    },
+    {
+      "name": "opened-equipped-MASK",
+      "directions": 4
+    },
+    {
+      "name": "opened-equipped-MASK-hamster",
+      "directions": 4
+    },
+    {
+      "name": "opened-equipped-MASK-vulpkanin",
+      "directions": 4
+    },
+    {
+      "name": "opened-equipped-MASK-reptilian",
+      "directions": 4
+    },
+    {
+      "name": "opened-equipped-MASK-vox",
+      "directions": 4
     }
   ]
 }
diff --git a/Resources/Textures/Clothing/Mask/clown.rsi/opened-equipped-MASK-hamster.png b/Resources/Textures/Clothing/Mask/clown.rsi/opened-equipped-MASK-hamster.png
new file mode 100644 (file)
index 0000000..a715be5
Binary files /dev/null and b/Resources/Textures/Clothing/Mask/clown.rsi/opened-equipped-MASK-hamster.png differ
diff --git a/Resources/Textures/Clothing/Mask/clown.rsi/opened-equipped-MASK-reptilian.png b/Resources/Textures/Clothing/Mask/clown.rsi/opened-equipped-MASK-reptilian.png
new file mode 100644 (file)
index 0000000..cb3dca0
Binary files /dev/null and b/Resources/Textures/Clothing/Mask/clown.rsi/opened-equipped-MASK-reptilian.png differ
diff --git a/Resources/Textures/Clothing/Mask/clown.rsi/opened-equipped-MASK-vox.png b/Resources/Textures/Clothing/Mask/clown.rsi/opened-equipped-MASK-vox.png
new file mode 100644 (file)
index 0000000..c00b410
Binary files /dev/null and b/Resources/Textures/Clothing/Mask/clown.rsi/opened-equipped-MASK-vox.png differ
diff --git a/Resources/Textures/Clothing/Mask/clown.rsi/opened-equipped-MASK-vulpkanin.png b/Resources/Textures/Clothing/Mask/clown.rsi/opened-equipped-MASK-vulpkanin.png
new file mode 100644 (file)
index 0000000..dce368a
Binary files /dev/null and b/Resources/Textures/Clothing/Mask/clown.rsi/opened-equipped-MASK-vulpkanin.png differ
diff --git a/Resources/Textures/Clothing/Mask/clown.rsi/opened-equipped-MASK.png b/Resources/Textures/Clothing/Mask/clown.rsi/opened-equipped-MASK.png
new file mode 100644 (file)
index 0000000..da4a338
Binary files /dev/null and b/Resources/Textures/Clothing/Mask/clown.rsi/opened-equipped-MASK.png differ