From: iaada Date: Sat, 9 Aug 2025 00:14:18 +0000 (-0500) Subject: variable alias X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=72d6fc35373baf3d509e90b4fcb82f9208b1fd18;p=space-station-14.git variable alias --- diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_base.yml b/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_base.yml index c0956fb33a..f9903ccedc 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_base.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_base.yml @@ -17,24 +17,24 @@ - 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