]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
variable alias
authoriaada <iaada@users.noreply.github.com>
Sat, 9 Aug 2025 00:14:18 +0000 (19:14 -0500)
committeriaada <iaada@users.noreply.github.com>
Sat, 9 Aug 2025 00:14:18 +0000 (19:14 -0500)
Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_base.yml

index c0956fb33af02ba84e8f95534b01278a457ac2d5..f9903ccedc344c9cda1b72b2a5361a0951b8a3e1 100644 (file)
   - type: DnaSubstanceTrace
   - type: Edible
     edible: Drink # Namesake. This entity is a sort of cup you can drink directly from.
-    solution: drink
     destroyOnEmpty: false
+    solution: &sol drink # solution name alias
   - type: Spillable
-    solution: drink
+    solution: *sol
   - type: MixableSolution
-    solution: drink
+    solution: *sol
   - type: DrawableSolution
-    solution: drink
+    solution: *sol
   - type: RefillableSolution
-    solution: drink
+    solution: *sol
   - type: DrainableSolution
-    solution: drink
+    solution: *sol
   - type: InjectableSolution # Injectors (syringe) will fall back to RefillableSolution. This adds support for hyposprays and liquid anomalies.
-    solution: drink
+    solution: *sol
   - type: ExaminableSolution
-    solution: drink
+    solution: *sol
   - type: SolutionItemStatus
-    solution: drink
+    solution: *sol
   - type: SolutionContainerManager
     solutions:
       drink:
@@ -56,7 +56,7 @@
   components:
   - type: SpaceGarbage
   - type: TrashOnSolutionEmpty
-    solution: drink
+    solution: *sol
   - type: Tag
     tags:
     - Trash
@@ -70,7 +70,7 @@
   components:
   - type: Openable
   - type: PressurizedSolution
-    solution: drink
+    solution: *sol
   - type: Shakeable
   - type: Sealable