From: Ubaser <134914314+UbaserB@users.noreply.github.com> Date: Sun, 7 Jan 2024 07:03:46 +0000 (+1100) Subject: Flower wreaths (#23662) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=93a77e89fee28f30c5f9d329130b90f8f8c17c76;p=space-station-14.git Flower wreaths (#23662) * add * fix --- diff --git a/Resources/Prototypes/Entities/Clothing/Neck/misc.yml b/Resources/Prototypes/Entities/Clothing/Neck/misc.yml index f5dc5e110b..6516bd4729 100644 --- a/Resources/Prototypes/Entities/Clothing/Neck/misc.yml +++ b/Resources/Prototypes/Entities/Clothing/Neck/misc.yml @@ -55,3 +55,17 @@ event: !type:StethoscopeActionEvent checkCanInteract: false priority: -1 + +- type: entity + parent: ClothingNeckBase + id: ClothingNeckFlowerWreath + name: flower wreath + description: A wreath of colourful flowers. + components: + - type: Sprite + sprite: Clothing/Neck/Misc/flower-wreath.rsi + - type: Clothing + sprite: Clothing/Neck/Misc/flower-wreath.rsi + - type: Construction + graph: flowerwreath + node: flowerwreath diff --git a/Resources/Prototypes/Recipes/Crafting/Graphs/improvised/flowerwreath.yml b/Resources/Prototypes/Recipes/Crafting/Graphs/improvised/flowerwreath.yml new file mode 100644 index 0000000000..a0a87a14d8 --- /dev/null +++ b/Resources/Prototypes/Recipes/Crafting/Graphs/improvised/flowerwreath.yml @@ -0,0 +1,26 @@ +- type: constructionGraph + id: flowerwreath + start: start + graph: + - node: start + edges: + - to: flowerwreath + steps: + - tag: Flower + name: flower + icon: + sprite: Objects/Specific/Hydroponics/poppy.rsi + state: produce + - tag: Flower + name: flower + icon: + sprite: Objects/Specific/Hydroponics/poppy.rsi + state: produce + - tag: Ambrosia + name: ambrosia + icon: + sprite: Objects/Specific/Hydroponics/ambrosia_vulgaris.rsi + state: produce + doAfter: 10 + - node: flowerwreath + entity: ClothingNeckFlowerWreath diff --git a/Resources/Prototypes/Recipes/Crafting/improvised.yml b/Resources/Prototypes/Recipes/Crafting/improvised.yml index 9fb10b741d..ba4eab57c9 100644 --- a/Resources/Prototypes/Recipes/Crafting/improvised.yml +++ b/Resources/Prototypes/Recipes/Crafting/improvised.yml @@ -1,4 +1,4 @@ -- type: construction +- type: construction name: baseball bat id: bat graph: WoodenBat @@ -124,6 +124,19 @@ state: icon objectType: Item +- type: construction + name: flower wreath + id: flowerwreath + graph: flowerwreath + startNode: start + targetNode: flowerwreath + category: construction-category-clothing + description: "A wreath of colourful flowers." + icon: + sprite: Clothing/Neck/Misc/flower-wreath.rsi + state: icon + objectType: Item + - type: construction name: damp rag id: rag diff --git a/Resources/Textures/Clothing/Neck/Misc/flower-wreath.rsi/equipped-NECK.png b/Resources/Textures/Clothing/Neck/Misc/flower-wreath.rsi/equipped-NECK.png new file mode 100644 index 0000000000..1975679539 Binary files /dev/null and b/Resources/Textures/Clothing/Neck/Misc/flower-wreath.rsi/equipped-NECK.png differ diff --git a/Resources/Textures/Clothing/Neck/Misc/flower-wreath.rsi/icon.png b/Resources/Textures/Clothing/Neck/Misc/flower-wreath.rsi/icon.png new file mode 100644 index 0000000000..4797bd0cf6 Binary files /dev/null and b/Resources/Textures/Clothing/Neck/Misc/flower-wreath.rsi/icon.png differ diff --git a/Resources/Textures/Clothing/Neck/Misc/flower-wreath.rsi/meta.json b/Resources/Textures/Clothing/Neck/Misc/flower-wreath.rsi/meta.json new file mode 100644 index 0000000000..71f798f2c4 --- /dev/null +++ b/Resources/Textures/Clothing/Neck/Misc/flower-wreath.rsi/meta.json @@ -0,0 +1,19 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Drawn by Ubaser.", + "size": { + "x": 32, + "y": 32 + }, + + "states": [ + { + "name": "equipped-NECK", + "directions": 4 + }, + { + "name": "icon" + } + ] +}