]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
[Resprite] Syndicate Implanter (#20376)
authorNim <128169402+Nimfar11@users.noreply.github.com>
Tue, 26 Sep 2023 00:04:03 +0000 (03:04 +0300)
committerGitHub <noreply@github.com>
Tue, 26 Sep 2023 00:04:03 +0000 (20:04 -0400)
* Syndicate Implanter

* cop

* size

* fix

Resources/Prototypes/Entities/Objects/Misc/implanters.yml
Resources/Textures/Objects/Specific/Medical/implanter.rsi/broken.png [new file with mode: 0644]
Resources/Textures/Objects/Specific/Medical/implanter.rsi/implanter0.png [new file with mode: 0644]
Resources/Textures/Objects/Specific/Medical/implanter.rsi/implanter1.png [new file with mode: 0644]
Resources/Textures/Objects/Specific/Medical/implanter.rsi/meta.json [new file with mode: 0644]

index 0410bf6f541b540f561c165d3f2a87d468387495..a3d5fbef397ad7f1342cf3a63173f5eba22a400d 100644 (file)
       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
 - type: entity
   id: StorageImplanter
   name: storage implanter
-  parent: BaseImplantOnlyImplanter
+  parent: BaseImplantOnlyImplanterSyndi
   components:
     - type: Implanter
       implant: StorageImplant
 - type: entity
   id: FreedomImplanter
   name: freedom implanter
-  parent: BaseImplantOnlyImplanter
+  parent: BaseImplantOnlyImplanterSyndi
   components:
     - type: Implanter
       implant: FreedomImplant
 - type: entity
   id: UplinkImplanter
   name: uplink implanter
-  parent: BaseImplantOnlyImplanter
+  parent: BaseImplantOnlyImplanterSyndi
   components:
   - type: Implanter
     implant: UplinkImplant
 - type: entity
   id: EmpImplanter
   name: EMP implanter
-  parent: BaseImplantOnlyImplanter
+  parent: BaseImplantOnlyImplanterSyndi
   components:
     - type: Implanter
       implant: EmpImplant
 - 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
 - type: entity
   id: MacroBombImplanter
   name: macro-bomb implanter
-  parent: BaseImplantOnlyImplanter
+  parent: BaseImplantOnlyImplanterSyndi
   components:
     - type: Implanter
       implant: MacroBombImplant
 - 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 (file)
index 0000000..027ecee
Binary files /dev/null and b/Resources/Textures/Objects/Specific/Medical/implanter.rsi/broken.png differ
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 (file)
index 0000000..57956f4
Binary files /dev/null and b/Resources/Textures/Objects/Specific/Medical/implanter.rsi/implanter0.png differ
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 (file)
index 0000000..1dd9ee5
Binary files /dev/null and b/Resources/Textures/Objects/Specific/Medical/implanter.rsi/implanter1.png differ
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 (file)
index 0000000..38050ea
--- /dev/null
@@ -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"
+    }
+  ]
+}