diff --git a/Resources/Prototypes/_CP14/Entities/Clothing/Head/Roles/general.yml b/Resources/Prototypes/_CP14/Entities/Clothing/Head/Roles/general.yml index c9e4726d5a..1fb054149a 100644 --- a/Resources/Prototypes/_CP14/Entities/Clothing/Head/Roles/general.yml +++ b/Resources/Prototypes/_CP14/Entities/Clothing/Head/Roles/general.yml @@ -84,4 +84,18 @@ - type: Sprite sprite: _CP14/Clothing/Head/Roles/General/jagermeister_hat.rsi - type: Clothing - sprite: _CP14/Clothing/Head/Roles/General/jagermeister_hat.rsi \ No newline at end of file + sprite: _CP14/Clothing/Head/Roles/General/jagermeister_hat.rsi + +- type: entity + parent: CP14ClothingHeadBase + id: CP14ClothingHeadStrawHat + name: straw hat + description: Easy to make, not too bad to lose. + components: + - type: Sprite + sprite: _CP14/Clothing/Head/Roles/General/straw_hat.rsi + - type: Clothing + sprite: _CP14/Clothing/Head/Roles/General/straw_hat.rsi + - type: Construction + graph: CP14StrawHat + node: cp14headstrawhat diff --git a/Resources/Prototypes/_CP14/Loadouts/Jobs/general.yml b/Resources/Prototypes/_CP14/Loadouts/Jobs/general.yml index 6af01d68ea..b69be3dbb0 100644 --- a/Resources/Prototypes/_CP14/Loadouts/Jobs/general.yml +++ b/Resources/Prototypes/_CP14/Loadouts/Jobs/general.yml @@ -202,6 +202,7 @@ - CP14ClothingHeadJestersCap - CP14ClothingHeadHuntersHat - CP14ClothingHeadJagermeisterHat + - CP14ClothingHeadStrawHat - type: loadout id: CP14ClothingHeadMetalHeadband @@ -223,6 +224,11 @@ equipment: head: CP14ClothingHeadJestersCap +- type: loadout + id: CP14ClothingHeadStrawHat + equipment: + head: CP14ClothingHeadStrawHat + - type: loadout id: CP14ClothingHeadHuntersHat equipment: diff --git a/Resources/Prototypes/_CP14/Recipes/Crafting/Graphs/straw_hat.yml b/Resources/Prototypes/_CP14/Recipes/Crafting/Graphs/straw_hat.yml new file mode 100644 index 0000000000..3414274f38 --- /dev/null +++ b/Resources/Prototypes/_CP14/Recipes/Crafting/Graphs/straw_hat.yml @@ -0,0 +1,17 @@ +- type: constructionGraph + id: CP14StrawHat + start: start + graph: + - node: start + edges: + - to: cp14headstrawhat + steps: + - tag: CP14Wheat + name: wheat + icon: + sprite: _CP14/Objects/Flora/Farm/wheat.rsi + state: base1 + doAfter: 4 + + - node: cp14headstrawhat + entity: CP14ClothingHeadStrawHat diff --git a/Resources/Prototypes/_CP14/Recipes/Crafting/clothing.yml b/Resources/Prototypes/_CP14/Recipes/Crafting/clothing.yml index be7b201d19..4d4a8715eb 100644 --- a/Resources/Prototypes/_CP14/Recipes/Crafting/clothing.yml +++ b/Resources/Prototypes/_CP14/Recipes/Crafting/clothing.yml @@ -11,3 +11,17 @@ icon: sprite: _CP14/Clothing/Head/Produced/wreath.rsi state: icon + +- type: construction + crystallPunkAllowed: true + name: straw hat + id: cp14headstrawhat + graph: CP14StrawHat + startNode: start + targetNode: cp14headstrawhat + category: construction-category-clothing + objectType: Item + description: Easy to make, not too bad to lose. + icon: + sprite: _CP14/Clothing/Head/Roles/General/straw_hat.rsi + state: icon diff --git a/Resources/Textures/_CP14/Clothing/Head/Roles/General/straw_hat.rsi/equipped-HELMET.png b/Resources/Textures/_CP14/Clothing/Head/Roles/General/straw_hat.rsi/equipped-HELMET.png new file mode 100644 index 0000000000..65841e7a01 Binary files /dev/null and b/Resources/Textures/_CP14/Clothing/Head/Roles/General/straw_hat.rsi/equipped-HELMET.png differ diff --git a/Resources/Textures/_CP14/Clothing/Head/Roles/General/straw_hat.rsi/icon.png b/Resources/Textures/_CP14/Clothing/Head/Roles/General/straw_hat.rsi/icon.png new file mode 100644 index 0000000000..2a81c56f1b Binary files /dev/null and b/Resources/Textures/_CP14/Clothing/Head/Roles/General/straw_hat.rsi/icon.png differ diff --git a/Resources/Textures/_CP14/Clothing/Head/Roles/General/straw_hat.rsi/meta.json b/Resources/Textures/_CP14/Clothing/Head/Roles/General/straw_hat.rsi/meta.json new file mode 100644 index 0000000000..8f89a72be6 --- /dev/null +++ b/Resources/Textures/_CP14/Clothing/Head/Roles/General/straw_hat.rsi/meta.json @@ -0,0 +1,18 @@ +{ + "version": 1, + "license": "All right reserved", + "copyright": "Created by creamy", + "size": { + "x": 48, + "y": 48 + }, + "states": [ + { + "name": "icon" + }, + { + "name": "equipped-HELMET", + "directions": 4 + } + ] +}