]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Makes vials work in dispensers (#23473)
authorBlazeror <154933882+Blazeror@users.noreply.github.com>
Thu, 4 Jan 2024 02:18:37 +0000 (03:18 +0100)
committerGitHub <noreply@github.com>
Thu, 4 Jan 2024 02:18:37 +0000 (13:18 +1100)
* Match solution names

* Y TEST FAIL?

* 2am fix it tomorrow if it doesn't work now

Resources/Prototypes/Entities/Objects/Specific/chemistry-vials.yml

index 1397c93614e2fc6ea223d65df165205a840006a7..5a34eabb362bd3170668be8f9053358510e4c588 100644 (file)
@@ -1,4 +1,4 @@
-# TODO: Have a seperate lid state that can be popped on and off (not as a seperate item) that changes whether the vial can be spilled or not
+# TODO: Have a seperate lid state that can be popped on and off (not as a seperate item) that changes whether the vial can be spilled or not.
 
 - type: entity
   name: vial
     maxFillLevels: 6
     fillBaseName: vial-1-
   - type: Drink
+    solution: beaker
   - type: SolutionContainerManager
     solutions:
-      drink:
+      beaker:
         maxVol: 30
         canMix: true
   - type: RefillableSolution
-    solution: drink
+    solution: beaker
   - type: DrainableSolution
-    solution: drink
+    solution: beaker
   - type: ExaminableSolution
-    solution: drink
+    solution: beaker
   - type: DrawableSolution
-    solution: drink
+    solution: beaker
   - type: SolutionTransfer
     maxTransferAmount: 30
     canChangeTransferAmount: true
@@ -59,7 +60,7 @@
       types:
         Blunt: 0
   - type: TrashOnSolutionEmpty
-    solution: drink
+    solution: beaker
   - type: StaticPrice
     price: 100
   - type: DamageOnLand
@@ -93,7 +94,7 @@
       - !type:DoActsBehavior
         acts: [ "Destruction" ]
   - type: Spillable
-    solution: drink
+    solution: beaker
 
 - type: entity
   id: VestineChemistryVial
   components:
     - type: SolutionContainerManager
       solutions:
-        drink:
+        beaker:
           maxVol: 30
           reagents:
             - ReagentId: Vestine