From: Puro <103608145+PuroSlavKing@users.noreply.github.com> Date: Mon, 3 Apr 2023 06:25:14 +0000 (+0300) Subject: [Clothing] watermelon helmet (#15025) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=88f0b3d4edbed8a6ec396a5f472b9bbf57c674d5;p=space-station-14.git [Clothing] watermelon helmet (#15025) --- diff --git a/Resources/Prototypes/Entities/Clothing/Head/hats.yml b/Resources/Prototypes/Entities/Clothing/Head/hats.yml index 980bc3552e..7dc1ed0e0f 100644 --- a/Resources/Prototypes/Entities/Clothing/Head/hats.yml +++ b/Resources/Prototypes/Entities/Clothing/Head/hats.yml @@ -538,3 +538,18 @@ 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 diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml index d1493f3a0c..1c8d38aa78 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml @@ -1093,6 +1093,10 @@ - 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 index 0000000000..79853a9c84 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 index 0000000000..c6bfab1985 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 index 0000000000..dbb1596e6d 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 index 0000000000..05be9f032a 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 index 0000000000..f842621d06 --- /dev/null +++ b/Resources/Textures/Clothing/Head/Hats/melon.rsi/meta.json @@ -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