]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Added generic empty liquids tank (#20563)
authordrteaspoon420 <87363733+drteaspoon420@users.noreply.github.com>
Sat, 30 Sep 2023 20:21:07 +0000 (23:21 +0300)
committerGitHub <noreply@github.com>
Sat, 30 Sep 2023 20:21:07 +0000 (13:21 -0700)
Resources/Prototypes/Entities/Structures/Storage/Tanks/tanks.yml
Resources/Textures/Structures/Storage/tanks.rsi/generictank-1.png [new file with mode: 0644]
Resources/Textures/Structures/Storage/tanks.rsi/meta.json

index f4269b1fab320eef8a3e62c7c3e5bfe61c34d173..5f3b841565d16765b34b84a68a52767d5ab91f23 100644 (file)
   - type: ExaminableSolution
     solution: tank
   - type: ReagentTank
-    transferAmount: 100
\ No newline at end of file
+    transferAmount: 100
+
+- type: entity
+  id: GenericTank
+  parent: StorageTank
+  suffix: Empty
+  components:
+    - type: StaticPrice
+      price: 500
+    - type: Sprite
+      sprite: Structures/Storage/tanks.rsi
+      layers:
+        - state: generictank-1
+        - state: watertank-2-1
+          map: ["enum.SolutionContainerLayers.Fill"]
+          visible: false
+    - type: Appearance
+    - type: SolutionContainerVisuals
+      maxFillLevels: 5
+      fillBaseName: watertank-2-
+    - type: ExaminableSolution
+      solution: tank
diff --git a/Resources/Textures/Structures/Storage/tanks.rsi/generictank-1.png b/Resources/Textures/Structures/Storage/tanks.rsi/generictank-1.png
new file mode 100644 (file)
index 0000000..238e073
Binary files /dev/null and b/Resources/Textures/Structures/Storage/tanks.rsi/generictank-1.png differ
index 5dfa9273d1a27c739c53b92f1272c179aab81f07..93b557cf5a2b7184daf5ef98792f0f09269c1953 100644 (file)
     },
     {
       "name": "watercooler-2-4"
+    },
+    {
+      "name": "generictank-1"
     }
   ]
 }