From c317d56ba66f4fea8246a6702da12f66f7aaff8e Mon Sep 17 00:00:00 2001 From: Nim <128169402+Nimfar11@users.noreply.github.com> Date: Tue, 26 Sep 2023 03:04:03 +0300 Subject: [PATCH] [Resprite] Syndicate Implanter (#20376) * Syndicate Implanter * cop * size * fix --- .../Entities/Objects/Misc/implanters.yml | 47 ++++++++++++++---- .../Specific/Medical/implanter.rsi/broken.png | Bin 0 -> 257 bytes .../Medical/implanter.rsi/implanter0.png | Bin 0 -> 229 bytes .../Medical/implanter.rsi/implanter1.png | Bin 0 -> 124 bytes .../Specific/Medical/implanter.rsi/meta.json | 20 ++++++++ 5 files changed, 57 insertions(+), 10 deletions(-) create mode 100644 Resources/Textures/Objects/Specific/Medical/implanter.rsi/broken.png create mode 100644 Resources/Textures/Objects/Specific/Medical/implanter.rsi/implanter0.png create mode 100644 Resources/Textures/Objects/Specific/Medical/implanter.rsi/implanter1.png create mode 100644 Resources/Textures/Objects/Specific/Medical/implanter.rsi/meta.json diff --git a/Resources/Prototypes/Entities/Objects/Misc/implanters.yml b/Resources/Prototypes/Entities/Objects/Misc/implanters.yml index 0410bf6f54..a3d5fbef39 100644 --- a/Resources/Prototypes/Entities/Objects/Misc/implanters.yml +++ b/Resources/Prototypes/Entities/Objects/Misc/implanters.yml @@ -74,6 +74,35 @@ currentMode: Inject implantOnly: true +- type: entity + id: BaseImplantOnlyImplanterSyndi + parent: BaseImplantOnlyImplanter + description: A compact disposable syringe exclusively designed for the injection of subdermal implants. + abstract: true + components: + - type: Item + sprite: Objects/Specific/Medical/implanter.rsi + size: 3 + - type: Sprite + sprite: Objects/Specific/Medical/implanter.rsi + state: implanter1 + layers: + - state: implanter0 + map: [ "implantFull" ] + visible: true + - state: implanter1 + map: [ "implantOnly" ] + - type: GenericVisualizer + visuals: + enum.ImplanterVisuals.Full: + implantFull: + True: {visible: true} + False: {visible: false} + enum.ImplanterImplantOnlyVisuals.ImplantOnly: + implantOnly: + True: {state: broken} + False: {state: implanter1} + #Fun implanters - type: entity @@ -115,7 +144,7 @@ - type: entity id: StorageImplanter name: storage implanter - parent: BaseImplantOnlyImplanter + parent: BaseImplantOnlyImplanterSyndi components: - type: Implanter implant: StorageImplant @@ -123,7 +152,7 @@ - type: entity id: FreedomImplanter name: freedom implanter - parent: BaseImplantOnlyImplanter + parent: BaseImplantOnlyImplanterSyndi components: - type: Implanter implant: FreedomImplant @@ -131,7 +160,7 @@ - type: entity id: UplinkImplanter name: uplink implanter - parent: BaseImplantOnlyImplanter + parent: BaseImplantOnlyImplanterSyndi components: - type: Implanter implant: UplinkImplant @@ -139,7 +168,7 @@ - type: entity id: EmpImplanter name: EMP implanter - parent: BaseImplantOnlyImplanter + parent: BaseImplantOnlyImplanterSyndi components: - type: Implanter implant: EmpImplant @@ -147,19 +176,17 @@ - type: entity id: DnaScramblerImplanter name: DNA scrambler implanter - parent: BaseImplantOnlyImplanter + parent: BaseImplantOnlyImplanterSyndi components: - type: Implanter implant: DnaScramblerImplant - currentMode: Inject - implantOnly: false #Nuclear Operative/Special implanters - type: entity id: MicroBombImplanter name: micro-bomb implanter - parent: BaseImplantOnlyImplanter + parent: BaseImplantOnlyImplanterSyndi components: - type: Implanter implant: MicroBombImplant @@ -167,7 +194,7 @@ - type: entity id: MacroBombImplanter name: macro-bomb implanter - parent: BaseImplantOnlyImplanter + parent: BaseImplantOnlyImplanterSyndi components: - type: Implanter implant: MacroBombImplant @@ -175,7 +202,7 @@ - type: entity id: DeathRattleImplanter name: death rattle implanter - parent: BaseImplantOnlyImplanter + parent: BaseImplantOnlyImplanterSyndi components: - type: Implanter implant: DeathRattleImplant diff --git a/Resources/Textures/Objects/Specific/Medical/implanter.rsi/broken.png b/Resources/Textures/Objects/Specific/Medical/implanter.rsi/broken.png new file mode 100644 index 0000000000000000000000000000000000000000..027ecee0f7dd50e3a991da3cace39bca29e5c4dc GIT binary patch literal 257 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz&H|6fVg?4jBOuH;Rhv&5D7e|v z#WAE}&f80dT!#!q*dB-%aLY!C2OC7*nX^l5`6FH%7rh6Dd%Dag_+2vXzRT6*t#)#X z<*g>k)+W~}|Kpk7^ZvZ|`0R_*j6kCxK!R1HOGzU6M%8wH?|R8B&gUE7&siKCyZI!; zXA@OLmlI)=CcU$|a?V%y_v}qeazk5P=S`k6X-d$Nt##Z|tUK)0w_Mw_W;g4*+CN{W uo;1I(et-S#$BkRR%=~jrkO^eLAJqqp>LI$Bn%}1ggZQ4VelF{r5}E)&!C;pF literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Specific/Medical/implanter.rsi/implanter0.png b/Resources/Textures/Objects/Specific/Medical/implanter.rsi/implanter0.png new file mode 100644 index 0000000000000000000000000000000000000000..57956f4c907f44dedc29aa8ae67fc841985d94cf GIT binary patch literal 229 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz#^NA%Cx&(BWL^R}^F3W0Ln2z= zUNGchG8ACFpns!Pw=6g1;F67-XKCx)Q>bW*IS_sFp2Ih;+Yx#kVVToHRwi$C)aAKx z-XH3`o8*k^} c;_`*X>7LG_s>-9jK&LWzy85}Sb4q9e0Q=cl7ytkO literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Specific/Medical/implanter.rsi/implanter1.png b/Resources/Textures/Objects/Specific/Medical/implanter.rsi/implanter1.png new file mode 100644 index 0000000000000000000000000000000000000000..1dd9ee53bd1de40a364ff2a21d5a4bb385aba1ae GIT binary patch literal 124 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz#^NA%Cx&(BWL^R}W}YsNArY-_ z&jboG2naYFT;3v=MXJtr->KQ-sVb&HS$=Pfh;sd!esWBUD< Vl}YsXHx8f)44$rjF6*2UngBi!DDwaS literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Specific/Medical/implanter.rsi/meta.json b/Resources/Textures/Objects/Specific/Medical/implanter.rsi/meta.json new file mode 100644 index 0000000000..38050ea310 --- /dev/null +++ b/Resources/Textures/Objects/Specific/Medical/implanter.rsi/meta.json @@ -0,0 +1,20 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Taken from tgstation at commit https://github.com/PestoVerde322/tgstation/blob/37460afeeb24f84e591d538e40bb04e60aef9cf8/icons/obj/syringe.dmi", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "broken" + }, + { + "name": "implanter0" + }, + { + "name": "implanter1" + } + ] +}