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?xG?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&2TID3>rQ0f1=%%EmC6?xtDA^UI0)r_hGcnIbAEFFZJ46)KR2zLP4zK}v+bS|B zwKzYg6cq4wmZmn~us{(+!~jG?1U3!Gg6J9oGV)9EfeET8Gubn*B(t0{EQH;md6^}4Faywpk#r$Nj+J9kNqK%zb_h5kkU|ls8mKvt5JgI%kmL^zePH^x z@UW8@&z(h_F4Fe1s*Oy|Ad@(!tnFM;6Cd7t9Mj zipJD5>gn;-G73Ht7Ex?&*2vpcx_Y(1Dvh}!O*?f?wPS-`-m;lRih(7;sB{YH-e%DKQrr<4|ZYud((S^Gc#v+8KV=btK5ey<6x^4xWO z`hyF$ObgOKKPXlBUp>BSefH0{D@{Ibm0KUS{A3`5 z7#o|}{N6ps>X=qMEV+5vpDFKDz1fSKaXm+7ch6g+)3K#$=N38kN&DN2s_$)#J8ibT z`^TyOjA}nmc7JM{@3rmL&YXDls?U#~hkrKhM{+7IWJPt&cAPwjXwB|K&aN&YV*1>#0{|j+Ss(9lTLfpwJ|?Gjp=C^)r@LA~ESaX7Yc| zIO&V+bPo~-%IO}sBKX3lL*ma8R9H%^$(^(y3#3%(iC#)QSiXZjDAKaJjU<6qCK QK2RCz>FVdQ&MBb@0DztRA^-pY literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..4797bd0cf6a51aff4b590292d9a72dca3ab92a5f GIT binary patch literal 1254 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz#^NA%Cx&(BWL^R}e5nzhX}-P; zT0k}j5QD&_;K@Lev%n*=7^q+l2s5%z3BJp~z?_#E5>XQ2>tmIipR1RclAn~SSCLx) z)@4&+1!U%?mLw`v zE(HYzo1&C7s~{IQsCFRFRw<*Tq`*pFzr4I$uiRKKzbIYb(9+UU-@r)U$VeBcLbtdw zuOzWTH?LS3VhGF}m(=3qqRfJl%=|nBkhzIT`K2YcN=hJ$-~i&zlw`O)1*JtfU|Uj> z^;2_Fb5rw5iuDck4E3?;E6GelxG=968XUlY(Fe%@wHaX5=2=jZYyu1^*9xF}p#B3o zG#PAfaY>3kk^+4r0|N_P10!7{OMSTifX=r`NwzA8(5=(PRlNb(1VJ}~{; zaoOm@^O7Cc;i*;zzzp`?)5S3)f-^Zmf_1T?ffN&%V3uL(d2%a%`i{r;lON=_9bR7} zX(pSJwByrbd*`38|EJ7$pJY8_kHkM?NrOM_nZK5u`%=GJ=W@MTev5=p->WUo7oYuC zxSwo1BUke!U&5g@0X@SBPygF(GLrfGwlVZ1_j6C4Glom7nN}z6U@^Tj?GO7;k-Lk^ z_0|6Vubq8t+F=>iuJ`W`RIn#bkT_weaJv3}+7T&JgW4MzlNK?gF=!lp|NGd1g0JGt z%o-*+N6m~aw!ckC2vxNepYW6+pp4n_(4AlM%}3|S^8CNI*=SGIFScj<0;^0|+?*4j dL|YiJM3RpUSvU2G%~DVqvd$@?2>|vBnLPji literal 0 HcmV?d00001 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" + } + ] +} -- 2.51.2