]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
fix several bottle prototypes not having solution visuals (#16012)
authorMisterMecky <mrmecky@hotmail.com>
Fri, 12 May 2023 15:29:39 +0000 (23:29 +0800)
committerGitHub <noreply@github.com>
Fri, 12 May 2023 15:29:39 +0000 (11:29 -0400)
Resources/Prototypes/Entities/Objects/Specific/chemistry-bottles.yml

index 73c6a3a08f2ef65a886bb889d56e5eba9c95b96c..eede274411ec47bb9be066e986abcc979995ab4b 100644 (file)
   - type: SpaceGarbage
   - type: Sprite
     sprite: Objects/Specific/Chemistry/bottle.rsi
-    netsync: false
-    state: bottle-1
+    layers:
+      - state: bottle-1
+      - state: bottle-1-1
+        map: ["enum.SolutionContainerLayers.Fill"]
+        visible: false
+  - type: Appearance
+  - type: SolutionContainerVisuals
+    maxFillLevels: 6
+    fillBaseName: bottle-1-
   - type: Drink
     isOpen: true
   - type: SolutionContainerManager
   name: bottle
   parent: BaseChemistryEmptyBottle
   id: ChemistryEmptyBottle01
-  components:
-  - type: Sprite
-    sprite: Objects/Specific/Chemistry/bottle.rsi
-    layers:
-      - state: bottle-1
-      - state: bottle-1-1
-        map: ["enum.SolutionContainerLayers.Fill"]
-        visible: false
-  - type: Appearance
-  - type: SolutionContainerVisuals
-    maxFillLevels: 6
-    fillBaseName: bottle-1-
 
 - type: entity
   name: bottle
   id: ChemistryEmptyBottle02
   components:
   - type: Sprite
-    sprite: Objects/Specific/Chemistry/bottle.rsi
     layers:
       - state: bottle-2
       - state: bottle-2-1
         map: ["enum.SolutionContainerLayers.Fill"]
         visible: false
-  - type: Appearance
   - type: SolutionContainerVisuals
     maxFillLevels: 6
     fillBaseName: bottle-2-
   id: ChemistryEmptyBottle03
   components:
   - type: Sprite
-    sprite: Objects/Specific/Chemistry/bottle.rsi
     layers:
       - state: bottle-3
       - state: bottle-3-1
         map: ["enum.SolutionContainerLayers.Fill"]
         visible: false
-  - type: Appearance
   - type: SolutionContainerVisuals
     maxFillLevels: 6
     fillBaseName: bottle-3-
   id: ChemistryEmptyBottle04
   components:
   - type: Sprite
-    sprite: Objects/Specific/Chemistry/bottle.rsi
     layers:
       - state: bottle-4
       - state: bottle-4-1
         map: ["enum.SolutionContainerLayers.Fill"]
         visible: false
-  - type: Appearance
   - type: SolutionContainerVisuals
     maxFillLevels: 6
     fillBaseName: bottle-4-