]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
[Clothing] Moth cloak and mask (#14851)
authorPuro <103608145+PuroSlavKing@users.noreply.github.com>
Sun, 26 Mar 2023 19:11:43 +0000 (22:11 +0300)
committerGitHub <noreply@github.com>
Sun, 26 Mar 2023 19:11:43 +0000 (13:11 -0600)
* Moth cloak

* Update meta.json

* Update meta.json

* fixed moth mask

yes.

* Moth mask now hides hair

yes.

* now the moth's cloak will spawn on the map

yes

Resources/Prototypes/Entities/Clothing/Head/hoods.yml
Resources/Prototypes/Entities/Clothing/Neck/cloaks.yml
Resources/Prototypes/Entities/Markers/Spawners/Random/maintenance.yml
Resources/Textures/Clothing/Head/Hoods/moth.rsi/equipped-HELMET.png [new file with mode: 0644]
Resources/Textures/Clothing/Head/Hoods/moth.rsi/icon.png [new file with mode: 0644]
Resources/Textures/Clothing/Head/Hoods/moth.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Clothing/Neck/Cloaks/moth.rsi/equipped-NECK.png [new file with mode: 0644]
Resources/Textures/Clothing/Neck/Cloaks/moth.rsi/icon.png [new file with mode: 0644]
Resources/Textures/Clothing/Neck/Cloaks/moth.rsi/meta.json [new file with mode: 0644]

index d589a5cdb4f61ba474c3e81b192e70b10b326be4..ed3b56668ee0b0c6f291c420837f75e3ffed6d47 100644 (file)
     sprite: Clothing/Head/Hoods/goliathcloak.rsi
   - type: Clothing
     sprite: Clothing/Head/Hoods/goliathcloak.rsi
+
+- type: entity
+  parent: ClothingHeadBase
+  id: ClothingHeadHatHoodMoth
+  name: moth mask
+  description: A mask in the form of a moths head is usually made of lightweight materials. It mimics the shape of a moths head with large eyes and long antennae. Such masks are often used in cosplay, or when shooting movies and videos.
+  components:
+  - type: Sprite
+    sprite: Clothing/Head/Hoods/moth.rsi
+  - type: Clothing
+    sprite: Clothing/Head/Hoods/moth.rsi
+  - type: IdentityBlocker
+  - type: Tag
+    tags:
+    - HidesHair
index d3e50a610befaccbb38028fd03cdaddb782c617a..61b71afaa16856015123f64e8d23d42da6bf4fc8 100644 (file)
   - type: ContainerContainer
     containers:
       toggleable-clothing: !type:ContainerSlot {}
+
+- type: entity
+  parent: ClothingNeckBase
+  id: ClothingNeckCloakMoth
+  name: moth cloak
+  description: A cloak in the form of moth wings is an unusual and original element of the wardrobe that can attract the attention of others. It is made of a thin fabric imitating moth wings, with soft and fluffy edges. The raincoat is fastened around the neck with Velcro, and has a hood in the shape of a moths head.
+  components:
+  - type: Sprite
+    sprite: Clothing/Neck/Cloaks/moth.rsi
+  - type: ToggleableClothing
+    clothingPrototype: ClothingHeadHatHoodMoth
+    requiredSlot:
+    - neck
+  - type: ContainerContainer
+    containers:
+      toggleable-clothing: !type:ContainerSlot {}
+
index 0b6f7208aefe49c2194547e4f894013246a60380..d200e12386c37217c80d8ba9e156d1a57772bc5f 100644 (file)
@@ -16,6 +16,7 @@
         - ClothingHeadHelmetTemplar
         - ClothingNeckCloakTrans
         - ClothingNeckCloakAdmin
+        - ClothingNeckCloakMoth
         - ClothingNeckCloakGoliathCloak
         - ToySkeleton
         - Basketball
diff --git a/Resources/Textures/Clothing/Head/Hoods/moth.rsi/equipped-HELMET.png b/Resources/Textures/Clothing/Head/Hoods/moth.rsi/equipped-HELMET.png
new file mode 100644 (file)
index 0000000..1bde953
Binary files /dev/null and b/Resources/Textures/Clothing/Head/Hoods/moth.rsi/equipped-HELMET.png differ
diff --git a/Resources/Textures/Clothing/Head/Hoods/moth.rsi/icon.png b/Resources/Textures/Clothing/Head/Hoods/moth.rsi/icon.png
new file mode 100644 (file)
index 0000000..6b46bdb
Binary files /dev/null and b/Resources/Textures/Clothing/Head/Hoods/moth.rsi/icon.png differ
diff --git a/Resources/Textures/Clothing/Head/Hoods/moth.rsi/meta.json b/Resources/Textures/Clothing/Head/Hoods/moth.rsi/meta.json
new file mode 100644 (file)
index 0000000..de79344
--- /dev/null
@@ -0,0 +1,18 @@
+{
+  "version": 1,
+  "license": "CC-BY-SA-3.0",
+  "copyright": "Taken from Paradise Station from this PR https://github.com/ParadiseSS13/Paradise/pull/17000, original sprite by S34N (https://github.com/S34NW) and modified sprite by PuroSlavKing (https://github.com/PuroSlavKing)",
+  "size": {
+    "x": 32,
+    "y": 32
+  },
+  "states": [
+    {
+      "name": "icon"
+    },
+    {
+      "name": "equipped-HELMET",
+      "directions": 4
+    }
+  ]
+}
diff --git a/Resources/Textures/Clothing/Neck/Cloaks/moth.rsi/equipped-NECK.png b/Resources/Textures/Clothing/Neck/Cloaks/moth.rsi/equipped-NECK.png
new file mode 100644 (file)
index 0000000..de0d512
Binary files /dev/null and b/Resources/Textures/Clothing/Neck/Cloaks/moth.rsi/equipped-NECK.png differ
diff --git a/Resources/Textures/Clothing/Neck/Cloaks/moth.rsi/icon.png b/Resources/Textures/Clothing/Neck/Cloaks/moth.rsi/icon.png
new file mode 100644 (file)
index 0000000..07ec6f2
Binary files /dev/null and b/Resources/Textures/Clothing/Neck/Cloaks/moth.rsi/icon.png differ
diff --git a/Resources/Textures/Clothing/Neck/Cloaks/moth.rsi/meta.json b/Resources/Textures/Clothing/Neck/Cloaks/moth.rsi/meta.json
new file mode 100644 (file)
index 0000000..c37be7a
--- /dev/null
@@ -0,0 +1,18 @@
+{
+  "version": 1,
+  "license": "CC-BY-SA-3.0",
+  "copyright": "Taken from Paradise Station from this PR https://github.com/ParadiseSS13/Paradise/pull/17000, original sprite by S34N (https://github.com/S34NW) and modified sprite by PuroSlavKing (https://github.com/PuroSlavKing)",
+  "size": {
+    "x": 32,
+    "y": 32
+  },
+  "states": [
+    {
+      "name": "icon"
+    },
+       {
+      "name": "equipped-NECK",
+      "directions": 4
+    }
+  ]
+}