From 108d7d9cb40bc5fd4ab93a2c741e16c5ff98ab8a Mon Sep 17 00:00:00 2001 From: T-Stalker <43253663+DogZeroX@users.noreply.github.com> Date: Sat, 22 Apr 2023 04:10:50 -0300 Subject: [PATCH] Adds shiny crystal for salvage and decoration (#15643) --- .../Structures/Decoration/crystals.yml | 99 ++++++++++++++++++ .../Decoration/crystal.rsi/crystal_blue.png | Bin 0 -> 1163 bytes .../Decoration/crystal.rsi/crystal_cyan.png | Bin 0 -> 1147 bytes .../Decoration/crystal.rsi/crystal_green.png | Bin 0 -> 1179 bytes .../Decoration/crystal.rsi/crystal_grey.png | Bin 0 -> 1038 bytes .../Decoration/crystal.rsi/crystal_orange.png | Bin 0 -> 1149 bytes .../Decoration/crystal.rsi/crystal_pink.png | Bin 0 -> 846 bytes .../Decoration/crystal.rsi/meta.json | 29 +++++ 8 files changed, 128 insertions(+) create mode 100644 Resources/Prototypes/Entities/Structures/Decoration/crystals.yml create mode 100644 Resources/Textures/Structures/Decoration/crystal.rsi/crystal_blue.png create mode 100644 Resources/Textures/Structures/Decoration/crystal.rsi/crystal_cyan.png create mode 100644 Resources/Textures/Structures/Decoration/crystal.rsi/crystal_green.png create mode 100644 Resources/Textures/Structures/Decoration/crystal.rsi/crystal_grey.png create mode 100644 Resources/Textures/Structures/Decoration/crystal.rsi/crystal_orange.png create mode 100644 Resources/Textures/Structures/Decoration/crystal.rsi/crystal_pink.png create mode 100644 Resources/Textures/Structures/Decoration/crystal.rsi/meta.json diff --git a/Resources/Prototypes/Entities/Structures/Decoration/crystals.yml b/Resources/Prototypes/Entities/Structures/Decoration/crystals.yml new file mode 100644 index 0000000000..704de51c66 --- /dev/null +++ b/Resources/Prototypes/Entities/Structures/Decoration/crystals.yml @@ -0,0 +1,99 @@ +- type: entity + id: CrystalGreen + parent: BaseStructure + name: green crystal + description: It's a shiny green crystal. + components: + - type: Sprite + sprite: Structures/Decoration/crystal.rsi + state: crystal_green + netsync: false + - type: PointLight + radius: 3 + energy: 3 + color: "#06DF24" + - type: Damageable + damageContainer: Inorganic + damageModifierSet: Metallic + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 50 + behaviors: + - !type:DoActsBehavior + acts: [ "Destruction" ] + - !type:PlaySoundBehavior + sound: + collection: GlassBreak + +- type: entity + id: CrystalPink + parent: CrystalGreen + name: pink crystal + description: It's a shiny pink crystal. + components: + - type: Sprite + sprite: Structures/Decoration/crystal.rsi + state: crystal_pink + - type: PointLight + radius: 3 + energy: 3 + color: "#DF06DC" + +- type: entity + id: CrystalGrey + parent: CrystalGreen + name: grey crystal + description: It's a shiny grey crystal. + components: + - type: Sprite + sprite: Structures/Decoration/crystal.rsi + state: crystal_grey + - type: PointLight + radius: 3 + energy: 3 + color: "#C1B0C1" + +- type: entity + id: CrystalOrange + parent: CrystalGreen + name: orange crystal + description: It's a shiny orange crystal. + components: + - type: Sprite + sprite: Structures/Decoration/crystal.rsi + state: crystal_orange + - type: PointLight + radius: 3 + energy: 3 + color: "#E8820F" + +- type: entity + id: CrystalBlue + parent: CrystalGreen + name: blue crystal + description: It's a shiny blue crystal. + components: + - type: Sprite + sprite: Structures/Decoration/crystal.rsi + state: crystal_blue + - type: PointLight + radius: 3 + energy: 3 + color: "#1843D4" + +- type: entity + id: CrystalCyan + parent: CrystalGreen + name: cyan crystal + description: It's a shiny cyan crystal. + components: + - type: Sprite + sprite: Structures/Decoration/crystal.rsi + state: crystal_cyan + - type: PointLight + radius: 3 + energy: 3 + color: "#18C9D4" + diff --git a/Resources/Textures/Structures/Decoration/crystal.rsi/crystal_blue.png b/Resources/Textures/Structures/Decoration/crystal.rsi/crystal_blue.png new file mode 100644 index 0000000000000000000000000000000000000000..03307bafd63823f95152ab34df802584d2c4ca4f GIT binary patch literal 1163 zcmV;61a$j}P)%)cp5pa7QRiu9C$Dnp=41WGu5N=KP?Sdxowjjyt z2kzX*Zn-~zK3o`Zz>`6;i4~DjtUlZw!^*`nDoa)P#nq$>=5q{EW($fl(+Fy-n2mv& zF1YXA2p(lV!m(Ehz^db`XhT=a4U< zwsMu8ylJ4C!1Q9rAqOYX6kE!b+PKeO8n>M4;LEuePmu(ho6Q=Z*tLaS(+QOfI8aVG@XP@MOcf@dpyQvm5 z^vQX^WC6?HZ$xV1JPhUvSPQCp1amM;B{37&oyzsNHQN4Wl7QoaOu1+S_t9`7>)arw zW1!XZ`@$c|iSJ!olS-hQ3yu@m*^E>&F+jWl<<<*nLiq<@lUvc&zxQomj|)%QHS?*IRS zI16$%2=HtvO1!Jy6}2w{rVFwS(uJu~5}bh>KiRz>T{zwgyf=X!Wxk96nshJu7__cN db3#au`U@}5F&{i`u?_$L002ovPDHLkV1oNwFMt35 literal 0 HcmV?d00001 diff --git a/Resources/Textures/Structures/Decoration/crystal.rsi/crystal_cyan.png b/Resources/Textures/Structures/Decoration/crystal.rsi/crystal_cyan.png new file mode 100644 index 0000000000000000000000000000000000000000..f245ead0358244bd5986e37dc01eee1160065c2f GIT binary patch literal 1147 zcmV->1cdvEP)^FEDIV0mTO<(^Flk_xX6Mx?Av_@q-cg?{l~H`}ZYJza4?3cp>_(%Ge@FEHr|G`nl!@ zbKXEiq>4r2>j)Uu=RFUor0y-kg@rg!P_^rR`E4iE^pqd;97tSPL~qPbAia17LA<^1 zWBDH&ovt(?+0t~9y@03>W@a$jw;Mw=pdMV(E;JG`UEy^y8aN?fPpZ0vUf#CeGUp#RV7$5VA?LaVj6X*(^+`!wA74x6lx1j((c<>O|yDy37Zuo!k z+V?N|r%MMhbb-`YsI|5yEL=SxsQ-Hg>d*ZMCTTGPgY+L~S9_?`XA>t_;TjJ!&ugeq z6dDp8M|0pHMznJYj2=jLDZ4N}>?>y5y*XqZffqWq-i!Mnhzg$mB^N4W(0sKrY|2p@ z=h!OjB99+Ff?zIj-RyyaWt}ELoga|BxN=!+=ij`b%I6SpEWBvXZy5S}IF3n(wRfV} z85VD&eu}}@>pUX@(|S=l=Br$XvjH_$QUo8LCzb|t#@>unvP05wcEPh!*GX(Z5QrZkPMqy!Bd58gj*w)cw16fF2hv_&*5jmb z%w6U)L3V)PQlII7RuUgPOP7JSrFOw}>ZO%i_B+%k1d={zZ~@pUdDrO}4RU#4$1d5D zLl?%RIVBo);l+!jI4d{oZ>D};2N=AEPa!;li(W|@v;llr-MV27>8)qL`TExQEYL16 z*m6>*h{O~iPGGQ+gnIQdywIx6=3_TA(9D6VjzJHI6ZB~#d)azfVem4Od z)z}64vRu%G>319jJHo|X>YKbNy9v0Wh>CF$-fnN`T1e1GiZhyJpMmBMByUI?DTXJp z3$yfupcfS`9+Qa3>4QfQ+MlUDn}A8efHc_obK#F^<1L4;TU)VEd;!hKK#sHvY=Hm( N002ovPDHLkV1k<+7;gXo literal 0 HcmV?d00001 diff --git a/Resources/Textures/Structures/Decoration/crystal.rsi/crystal_green.png b/Resources/Textures/Structures/Decoration/crystal.rsi/crystal_green.png new file mode 100644 index 0000000000000000000000000000000000000000..d8d60fd2763b8eea731bd25a8d8b9286cc6b3f09 GIT binary patch literal 1179 zcmV;M1Z4Y(P)nTVK! zg5xbn78Vu-uZqWjc=2NNAcn=8Ijjdgq+`^RM2VDOgbXoBqYNsW3=S?UvW}qj-gH%0 z_w-B*0cGE%d#Y;Q``-6`Rn-anA02cKvPP%q(87wS?fy}{&!X4W*iUV`PeQ?ZTVHw_796&UA1Atqe!+qO{ z9kHy`0hy?~D4c-1pInd_+&_e~=*NNEhJ_j+uvwuz4GbIr2ru&DIv4u{ZsA5;K@h;w zuGeV4x6QquWnf-RUi2a7-o&Vxk4liS7MRf8i&lY?_zh3+n8$4vCd(4tsV@A3&oQJ_ zi|=}$c1OlWfqc+(6o7YUU=)Y@gj*>9ekY;0QoP8|6;0~@|AyxX+;v>5TYUY;jq0sr zk9z?CU#s#3^gJ1mZtsO0T881y=g}j_C06@HW}NN(oPxxs3B>}0`)o=gaTG=#{Xd<$ zBgbyU%P7wT`4cLF8sOeuC+B`4k8F7W$6zmbV0+9Yu( zmE*N*3e9GmyamUWz@na#5r~eYh&7;&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JArp3(5cLuQA@ryKFEQIcr?30I{nrc)X6ZpvLdWZ P00000NkvXXu0mjfLJ=-D literal 0 HcmV?d00001 diff --git a/Resources/Textures/Structures/Decoration/crystal.rsi/crystal_pink.png b/Resources/Textures/Structures/Decoration/crystal.rsi/crystal_pink.png new file mode 100644 index 0000000000000000000000000000000000000000..f9f81c5cfe555d0d48a44fb12521b48c67d26656 GIT binary patch literal 846 zcmV-U1F`&xP)3wokD1p%{wf%(e7 zF*W&`DG+Aq%FJF7E_9jBm<)t6((EjA8WUWu^OP{b%wXg^hN-0Qaa;I#DEYb`xOo+T znef95f{SpHDkW2)G0%F`0I8_+L<@6iL-2$|;{osVb7sa~Na6)JKc6)rCzwANI* zEfC0M4aGG|ae3F+Loi~~0`l(*Tcnx@9E;1_1*-g_5G?(-g4&jK@zsbn064)5j%gAV z5~=h6_iQUHeN4su5XhomhdZIu5++Dg@Bq{Y6cQ`5l3ZAcle@t!petzs4O2plSQaWd z@M=^AybnYLz%+@x;ss%@{k=mrCxd8ARaBzbe}5krK*rwc#*a}u4Um0-NUh?_dXw7( zVpSS0Ynw%vcgG$3<9bjq*R@Xe5%h>`BA0L$D+;~MKi8e!j%fj;%~V|i|?H9Y`ZDnupZSJ@XqjG>L5K5xEQkK)a0Z7EPykONIjX+2_M&PXnQ%<^R^ zzE6IwKny`G%dxU7$?BMf!a7BW}?iZc2R{n&R$U>(Sb%_C9o^-v!{>uu`F_OZod?g}e&(K`ODk zdHwbO3xX0J2zA`QwL9Jf;8n0Tms Y0brumP0ZUVUjP6A07*qoM6N<$g0sVVz5oCK literal 0 HcmV?d00001 diff --git a/Resources/Textures/Structures/Decoration/crystal.rsi/meta.json b/Resources/Textures/Structures/Decoration/crystal.rsi/meta.json new file mode 100644 index 0000000000..14fb2c7974 --- /dev/null +++ b/Resources/Textures/Structures/Decoration/crystal.rsi/meta.json @@ -0,0 +1,29 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "https://github.com/Citadel-Station-13/Citadel-Station-13-RP/blob/fd35c5efa6973db72eaa646c3e653d230b8412ca/icons/obj/mining.dmi", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "crystal_green" + }, + { + "name": "crystal_pink" + }, + { + "name": "crystal_orange" + }, + { + "name": "crystal_blue" + }, + { + "name": "crystal_cyan" + }, + { + "name": "crystal_grey" + } + ] +} \ No newline at end of file