]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Added implanter sprite (#20758)
authorLink <131011403+LinkUyx@users.noreply.github.com>
Wed, 18 Oct 2023 17:18:54 +0000 (20:18 +0300)
committerGitHub <noreply@github.com>
Wed, 18 Oct 2023 17:18:54 +0000 (13:18 -0400)
* add

* Update meta.json

* tweaaaak

12 files changed:
Resources/Prototypes/Catalog/Cargo/cargo_armory.yml
Resources/Prototypes/Catalog/Cargo/cargo_fun.yml
Resources/Prototypes/Catalog/Cargo/cargo_medical.yml
Resources/Prototypes/Entities/Objects/Misc/implanters.yml
Resources/Textures/Objects/Specific/Medical/implanter.rsi/broken.png
Resources/Textures/Objects/Specific/Medical/implanter.rsi/implanter0.png
Resources/Textures/Objects/Specific/Medical/implanter.rsi/implanter1.png
Resources/Textures/Objects/Specific/Medical/implanter.rsi/meta.json
Resources/Textures/Objects/Specific/Medical/syndi_implanter.rsi/broken.png [new file with mode: 0644]
Resources/Textures/Objects/Specific/Medical/syndi_implanter.rsi/implanter0.png [new file with mode: 0644]
Resources/Textures/Objects/Specific/Medical/syndi_implanter.rsi/implanter1.png [new file with mode: 0644]
Resources/Textures/Objects/Specific/Medical/syndi_implanter.rsi/meta.json [new file with mode: 0644]

index 77140aba3b8e5c1bac287fadc5e9d3132d37a5ac..f8f5253b23a7148ef096c8634aba46ff51857497 100644 (file)
@@ -21,8 +21,8 @@
 - type: cargoProduct
   id: TrackingImplant
   icon:
-    sprite: Objects/Specific/Chemistry/syringe.rsi
-    state: syringe_base0
+    sprite: Objects/Specific/Medical/implanter.rsi
+    state: implanter0
   product: CrateTrackingImplants
   cost: 1000
   category: Armory
index cc18f6676f1086d2ab9c8a89347a47105a32f097..5ea658ffe518750a41c60e0730c3a8325f8c3dd1 100644 (file)
 - type: cargoProduct
   id: FunSadTromboneImplants
   icon:
-    sprite: Objects/Specific/Chemistry/syringe.rsi
-    state: syringe_base0
+    sprite: Objects/Specific/Medical/implanter.rsi
+    state: implanter0
   product: CrateFunSadTromboneImplants
   cost: 1000
   category: Fun
 - type: cargoProduct
   id: FunLightImplants
   icon:
-    sprite: Objects/Specific/Chemistry/syringe.rsi
-    state: syringe_base0
+    sprite: Objects/Specific/Medical/implanter.rsi
+    state: implanter0
   product: CrateFunLightImplants
   cost: 1000
   category: Fun
 - type: cargoProduct
   id: FunBikeHornImplants
   icon:
-    sprite: Objects/Specific/Chemistry/syringe.rsi
-    state: syringe_base0
+    sprite: Objects/Specific/Medical/implanter.rsi
+    state: implanter0
   product: CrateFunBikeHornImplants
   cost: 1000
   category: Fun
index 42370eb7d9a6d6dab4cf69c83316975b3ff75918..16498a5a750168fa6746fe2768ef6c15209ae52b 100644 (file)
 - type: cargoProduct
   id: MedicalMindShieldImplants
   icon:
-    sprite: Objects/Specific/Chemistry/syringe.rsi
-    state: syringe_base0
+    sprite: Objects/Specific/Medical/implanter.rsi
+    state: implanter0
   product: CrateMindShieldImplants
   cost: 3000
   category: Medical
index 8cb55e386e7a5bd75dc434775e10f8c087fa9a71..41966ab93f82e481b6dc6d0421c6c2a631d756b7 100644 (file)
           tags:
             - SubdermalImplant
     - type: Sprite
-      sprite: Objects/Specific/Chemistry/syringe.rsi
-      state: syringe_base0
+      sprite: Objects/Specific/Medical/implanter.rsi
+      state: implanter0
       layers:
-        - state: syringe2
+        - state: implanter0
+          map: [ "implantOnly" ]
+          visible: true
+        - state: implanter1
           map: [ "implantFull" ]
-          color: '#1cd94e'
           visible: false
-        - state: syringe_base0
-          map: [ "implantOnly" ]
     - type: Item
-      sprite: Objects/Specific/Chemistry/syringe.rsi
+      sprite: Objects/Specific/Medical/implanter.rsi
       heldPrefix: 0
     - type: Appearance
     - type: GenericVisualizer
@@ -43,7 +43,7 @@
         enum.ImplanterImplantOnlyVisuals.ImplantOnly:
           implantOnly:
             True: {state: broken}
-            False: {state: syringe_base0}
+            False: {state: implanter0}
 
 - type: entity
   id: Implanter
   abstract: true
   components:
     - type: Sprite
-      sprite: Objects/Specific/Chemistry/syringe.rsi
-      state: syringe_base0
+      sprite: Objects/Specific/Medical/implanter.rsi
+      state: implanter0
       layers:
-        - state: syringe2
+        - state: implanter1
           map: [ "implantFull" ]
-          color: '#1cd94e'
           visible: true
-        - state: syringe_base0
+        - state: implanter0
           map: [ "implantOnly" ]
     - type: Implanter
       currentMode: Inject
   abstract: true
   components:
     - type: Item
-      sprite: Objects/Specific/Medical/implanter.rsi
+      sprite: Objects/Specific/Medical/syndi_implanter.rsi
       size: 3
     - type: Sprite
-      sprite: Objects/Specific/Medical/implanter.rsi
+      sprite: Objects/Specific/Medical/syndi_implanter.rsi
       state: implanter1
       layers:
         - state: implanter0
index 027ecee0f7dd50e3a991da3cace39bca29e5c4dc..301d1928d74fa23b37d89fcb738977092ed066e7 100644 (file)
Binary files a/Resources/Textures/Objects/Specific/Medical/implanter.rsi/broken.png and b/Resources/Textures/Objects/Specific/Medical/implanter.rsi/broken.png differ
index 57956f4c907f44dedc29aa8ae67fc841985d94cf..81290957ad7abfa00ca780bf74358b8823de3312 100644 (file)
Binary files a/Resources/Textures/Objects/Specific/Medical/implanter.rsi/implanter0.png and b/Resources/Textures/Objects/Specific/Medical/implanter.rsi/implanter0.png differ
index 1dd9ee53bd1de40a364ff2a21d5a4bb385aba1ae..6072b5227211fe976fe89807467103a75c973196 100644 (file)
Binary files a/Resources/Textures/Objects/Specific/Medical/implanter.rsi/implanter1.png and b/Resources/Textures/Objects/Specific/Medical/implanter.rsi/implanter1.png differ
index 38050ea31012ac9cc8852f19a0e31538228096c8..efcfc1c348a1da727597f044879f590dd4c4c2a2 100644 (file)
@@ -1,7 +1,7 @@
 {
   "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",
+  "copyright": "Taken from tgstation at commit https://github.com/vgstation-coders/vgstation13/commit/1cdfb0230cc96d0ba751fa002d04f8aa2f25ad7d, resprite by @linkblyat",
   "size": {
     "x": 32,
     "y": 32
diff --git a/Resources/Textures/Objects/Specific/Medical/syndi_implanter.rsi/broken.png b/Resources/Textures/Objects/Specific/Medical/syndi_implanter.rsi/broken.png
new file mode 100644 (file)
index 0000000..027ecee
Binary files /dev/null and b/Resources/Textures/Objects/Specific/Medical/syndi_implanter.rsi/broken.png differ
diff --git a/Resources/Textures/Objects/Specific/Medical/syndi_implanter.rsi/implanter0.png b/Resources/Textures/Objects/Specific/Medical/syndi_implanter.rsi/implanter0.png
new file mode 100644 (file)
index 0000000..57956f4
Binary files /dev/null and b/Resources/Textures/Objects/Specific/Medical/syndi_implanter.rsi/implanter0.png differ
diff --git a/Resources/Textures/Objects/Specific/Medical/syndi_implanter.rsi/implanter1.png b/Resources/Textures/Objects/Specific/Medical/syndi_implanter.rsi/implanter1.png
new file mode 100644 (file)
index 0000000..1dd9ee5
Binary files /dev/null and b/Resources/Textures/Objects/Specific/Medical/syndi_implanter.rsi/implanter1.png differ
diff --git a/Resources/Textures/Objects/Specific/Medical/syndi_implanter.rsi/meta.json b/Resources/Textures/Objects/Specific/Medical/syndi_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"
+    }
+  ]
+}