]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
[Clothing] watermelon helmet (#15025)
authorPuro <103608145+PuroSlavKing@users.noreply.github.com>
Mon, 3 Apr 2023 06:25:14 +0000 (09:25 +0300)
committerGitHub <noreply@github.com>
Mon, 3 Apr 2023 06:25:14 +0000 (00:25 -0600)
Resources/Prototypes/Entities/Clothing/Head/hats.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml
Resources/Textures/Clothing/Head/Hats/melon.rsi/equipped-HELMET.png [new file with mode: 0644]
Resources/Textures/Clothing/Head/Hats/melon.rsi/icon.png [new file with mode: 0644]
Resources/Textures/Clothing/Head/Hats/melon.rsi/inhand-left.png [new file with mode: 0644]
Resources/Textures/Clothing/Head/Hats/melon.rsi/inhand-right.png [new file with mode: 0644]
Resources/Textures/Clothing/Head/Hats/melon.rsi/meta.json [new file with mode: 0644]

index 980bc3552ece11d0c83acc4ae5c93dee33d8274c..7dc1ed0e0f866eb1e819befa3f820b1a80a800cd 100644 (file)
     sprite: Clothing/Head/Hats/beret_cmo.rsi
   - type: Clothing
     sprite: Clothing/Head/Hats/beret_cmo.rsi
+
+- type: entity
+  parent: ClothingHeadBase
+  id: ClothingHeadClothingHeadHatWatermelon
+  name: watermelon helmet
+  description: A carelessly cut half of a watermelon, gutted from the inside, to be worn as a helmet. It can soften the blow to the head.
+  components:
+  - type: Sprite
+    sprite: Clothing/Head/Hats/melon.rsi
+  - type: Clothing
+    sprite: Clothing/Head/Hats/melon.rsi
+  - type: Armor
+    modifiers:
+      coefficients:
+        Blunt: 0.95
index d1493f3a0ca0cc84cc751d851c06aca74c9e2293..1c8d38aa786cc2ee001057375afe8ba32da5b0fb 100644 (file)
   - type: SliceableFood
     count: 5
     slice: FoodWatermelonSlice
+  - type: Butcherable
+    butcheringType: Knife
+    spawned:
+    - id: ClothingHeadClothingHeadHatWatermelon
 
 - type: entity
   name: watermelon
diff --git a/Resources/Textures/Clothing/Head/Hats/melon.rsi/equipped-HELMET.png b/Resources/Textures/Clothing/Head/Hats/melon.rsi/equipped-HELMET.png
new file mode 100644 (file)
index 0000000..79853a9
Binary files /dev/null and b/Resources/Textures/Clothing/Head/Hats/melon.rsi/equipped-HELMET.png differ
diff --git a/Resources/Textures/Clothing/Head/Hats/melon.rsi/icon.png b/Resources/Textures/Clothing/Head/Hats/melon.rsi/icon.png
new file mode 100644 (file)
index 0000000..c6bfab1
Binary files /dev/null and b/Resources/Textures/Clothing/Head/Hats/melon.rsi/icon.png differ
diff --git a/Resources/Textures/Clothing/Head/Hats/melon.rsi/inhand-left.png b/Resources/Textures/Clothing/Head/Hats/melon.rsi/inhand-left.png
new file mode 100644 (file)
index 0000000..dbb1596
Binary files /dev/null and b/Resources/Textures/Clothing/Head/Hats/melon.rsi/inhand-left.png differ
diff --git a/Resources/Textures/Clothing/Head/Hats/melon.rsi/inhand-right.png b/Resources/Textures/Clothing/Head/Hats/melon.rsi/inhand-right.png
new file mode 100644 (file)
index 0000000..05be9f0
Binary files /dev/null and b/Resources/Textures/Clothing/Head/Hats/melon.rsi/inhand-right.png differ
diff --git a/Resources/Textures/Clothing/Head/Hats/melon.rsi/meta.json b/Resources/Textures/Clothing/Head/Hats/melon.rsi/meta.json
new file mode 100644 (file)
index 0000000..f842621
--- /dev/null
@@ -0,0 +1,26 @@
+{
+  "version": 1,
+  "license": "CC-BY-SA-3.0",
+  "copyright": "Made by PuroSlavKing (github) for SS14",
+  "size": {
+    "x": 32,
+    "y": 32
+  },
+  "states": [
+    {
+      "name": "icon"
+    },
+    {
+      "name": "equipped-HELMET",
+      "directions": 4
+    },
+    {
+      "name": "inhand-left",
+      "directions": 4
+    },
+    {
+      "name": "inhand-right",
+      "directions": 4
+    }
+  ]
+}
\ No newline at end of file