]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
changed from tag to material and added icon for capacitor
authorTheWaffleJesus <106146578+TheWaffleJesus@users.noreply.github.com>
Sun, 8 Sep 2024 08:34:08 +0000 (09:34 +0100)
committerTheWaffleJesus <106146578+TheWaffleJesus@users.noreply.github.com>
Sun, 8 Sep 2024 08:34:08 +0000 (09:34 +0100)
Resources/Prototypes/Recipes/Construction/Graphs/clothing/medsec_hud.yml
Resources/Prototypes/Recipes/Crafting/Graphs/improvised/potato.yml
Resources/Prototypes/Stacks/science_stacks.yml

index 03a70cb7fe707b5563cd6e231adc2c958b1fc446..78a27a9d0f373ecef83722602e7693e5a0be7188 100644 (file)
                 sprite: Objects/Devices/communication.rsi
                 state: walkietalkie
               doAfter: 5
-            - tag: CapacitorStockPart
-              name: capacitor
-              icon:
-                sprite: Objects/Misc/stock_parts.rsi
-                state: capacitor
-              doAfter: 5
-            - tag: CapacitorStockPart
-              name: capacitor
-              icon:
-                sprite: Objects/Misc/stock_parts.rsi
-                state: capacitor
+            - material: Capacitor
+              amount: 2
               doAfter: 5
     - node: medsecHud
       entity: ClothingEyesHudMedSec
index e3f972cfda47a60135757c24d21f6e7d1c8f8a02..f03670b673cfc3eeb62c556bba9382379d66c129 100644 (file)
             - material: Cable
               amount: 2
               doAfter: 1
-            - tag: CapacitorStockPart
-              name: capacitor
-              icon:
-                sprite: Objects/Misc/stock_parts.rsi
-                state: capacitor
-            - tag: CapacitorStockPart
-              name: capacitor
-              icon:
-                sprite: Objects/Misc/stock_parts.rsi
-                state: capacitor
+            - material: Capacitor
+              amount: 2
     - node: potatoaichip
       entity: PotatoAIChip
\ No newline at end of file
index 0d273c324e6b85fa06eb49dd341292af06af037f..647a5b2a7bf351e9c8f0aa22ecafa9c1fa2f8055 100644 (file)
@@ -7,6 +7,7 @@
 - type: stack
   id: Capacitor
   name: capacitor
+  icon: { sprite: /Textures/Objects/Misc/stock_parts.rsi, state: capacitor }
   spawn: CapacitorStockPart
   maxCount: 10