From 93a77e89fee28f30c5f9d329130b90f8f8c17c76 Mon Sep 17 00:00:00 2001 From: Ubaser <134914314+UbaserB@users.noreply.github.com> Date: Sun, 7 Jan 2024 18:03:46 +1100 Subject: [PATCH] Flower wreaths (#23662) * add * fix --- .../Entities/Clothing/Neck/misc.yml | 14 ++++++++++ .../Graphs/improvised/flowerwreath.yml | 26 ++++++++++++++++++ .../Recipes/Crafting/improvised.yml | 15 +++++++++- .../Misc/flower-wreath.rsi/equipped-NECK.png | Bin 0 -> 1478 bytes .../Neck/Misc/flower-wreath.rsi/icon.png | Bin 0 -> 1254 bytes .../Neck/Misc/flower-wreath.rsi/meta.json | 19 +++++++++++++ 6 files changed, 73 insertions(+), 1 deletion(-) create mode 100644 Resources/Prototypes/Recipes/Crafting/Graphs/improvised/flowerwreath.yml create mode 100644 Resources/Textures/Clothing/Neck/Misc/flower-wreath.rsi/equipped-NECK.png create mode 100644 Resources/Textures/Clothing/Neck/Misc/flower-wreath.rsi/icon.png create mode 100644 Resources/Textures/Clothing/Neck/Misc/flower-wreath.rsi/meta.json 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 0000000000000000000000000000000000000000..197567953954d0e5e092ce92ed3349cb0028c27a GIT binary patch literal 1478 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=jKx9jP7LeL$-D$|_);T0(|mmy zw18|5AO?X;!IOa`XMsm#F;KxA5N2eb5`33|fjKWTB%&n3*T*V3KUXg?B|j-uuOhbq ztjngt3dqb&ElE_U$j!+swyLmI0;{kBvO&W7N(x{lCE2!05xxNm&iO^D3TAo+dIm~% zTnY*bHbp6ERzWUqQ0+jTtx`rwNr9EVetCJhUb(Seeo?x
G?W
zUP)qwZeFo6#1NP{E~&-IMVSR9nfZANAafIw@=Hr>m6Sjh!2!gbDamkq3QCJ|z_z3$
z>!;?V=BDPA6zd!68R}!xSCW~AaA96CG&q0(qYsh+YBRv9&9k5+*#sC;t`$J{K>Y`F
zXfoK|;*u17BnA3L1_l