]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix Linter errors (#40283)
authorSlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>
Thu, 11 Sep 2025 13:17:37 +0000 (15:17 +0200)
committerGitHub <noreply@github.com>
Thu, 11 Sep 2025 13:17:37 +0000 (15:17 +0200)
Fix yoml

Resources/Prototypes/Entities/Objects/Consumable/Food/burger.yml

index 53ae0e99eccb1ef004c26e9c84fb9f050ed4589b..30f307b6eb06d5a469bb9dc409ff122be5474acf 100644 (file)
   components:
   - type: Item
     storedOffset: 0,1
+    inhandVisuals:
+      left:
+      - state: bear-inhand-left
+      right:
+      - state: bear-inhand-right
   - type: FlavorProfile
     flavors:
       - bun
   - type: Tag
     tags:
     - Meat
-  - type: Item
-    inhandVisuals:
-      left:
-      - state: bear-inhand-left
-      right:
-      - state: bear-inhand-right
 
 - type: entity
   parent: FoodBurgerBase
     shape:
     - 0,0,1,1
     storedOffset: 0,3
+    inhandVisuals:
+      left:
+      - state: burger-big-inhand-left
+      right:
+      - state: burger-big-inhand-right
   - type: FlavorProfile
     flavors: # What bun?
       - meaty
   - type: Tag
     tags:
     - Meat
-  - type: Item
-    inhandVisuals:
-      left:
-      - state: burger-big-inhand-left
-      right:
-      - state: burger-big-inhand-right
 # Tastes like bun, silver, magic.
 
 - type: entity
   components:
   - type: Item
     storedOffset: 0,1
+    inhandVisuals:
+      left:
+      - state: brain-inhand-left
+      right:
+      - state: brain-inhand-right
   - type: FlavorProfile
     flavors:
       - bun
   - type: Tag
     tags:
     - Meat
-  - type: Item
-    inhandVisuals:
-      left:
-      - state: brain-inhand-left
-      right:
-      - state: brain-inhand-right
 # Tastes like bun, brains.
 
 - type: entity
   components:
   - type: Item
     storedOffset: -1,1
+    inhandVisuals:
+      left:
+      - state: cat-inhand-left
+      - state: plain-inhand-left
+      right:
+      - state: cat-inhand-right
+      - state: plain-inhand-right
   - type: Sprite
     state: cat
   - type: FlavorProfile
   - type: Tag
     tags:
     - Meat
-  - type: Item
-    inhandVisuals:
-      left:
-      - state: cat-inhand-left
-      - state: plain-inhand-left
-      right:
-      - state: cat-inhand-right
-      - state: plain-inhand-right
 
 - type: entity
   name: cheese burger
   components:
   - type: Item
     storedOffset: 0,1
+    inhandVisuals:
+      left:
+      - state: clown-inhand-left
+      right:
+      - state: clown-inhand-right
   - type: FlavorProfile
     flavors:
       - bun
   - type: Tag
     tags:
     - Meat
-  - type: Item
-    inhandVisuals:
-      left:
-      - state: clown-inhand-left
-      right:
-      - state: clown-inhand-right
 
 - type: entity
   name: corger #not curger
     shape:
     - 0,0,1,1
     storedOffset: -2,0
+    inhandVisuals:
+      left:
+      - state: crazy-inhand-left
+      right:
+      - state: crazy-inhand-right
   - type: FlavorProfile
     flavors:
       - bun
   - type: Tag
     tags:
     - Meat
-  - type: Item
-    inhandVisuals:
-      left:
-      - state: crazy-inhand-left
-      right:
-      - state: crazy-inhand-right
 
 - type: entity
   parent: FoodBurgerBase
   components:
   - type: Item
     storedOffset: 0,1
+    inhandVisuals:
+      left:
+      - state: bun-inhand-left
+      - state: alpha-filling-inhand-left
+        color: "#98d966"
+      - state: alpha-patty-inhand-left
+        color: "#e8b348"
+      right:
+      - state: bun-inhand-right
+      - state: alpha-filling-inhand-right
+        color: "#98d966"
+      - state: alpha-patty-inhand-right
+        color: "#e8b348"
   - type: FlavorProfile
     flavors:
       - bun
   - type: Tag
     tags:
     - Meat
-  - type: Item
-    inhandVisuals:
-      left:
-      - state: bun-inhand-left
-      - state: alpha-filling-inhand-left
-        color: "#98d966"
-      - state: alpha-patty-inhand-left
-        color: "#e8b348"
-      right:
-      - state: bun-inhand-right
-      - state: alpha-filling-inhand-right
-        color: "#98d966"
-      - state: alpha-patty-inhand-right
-        color: "#e8b348"
 # Tastes like bun, duck.
 
 - type: entity
   components:
   - type: Item
     storedOffset: -2,1
+    inhandVisuals:
+      left:
+      - state: plasma-inhand-left
+      right:
+      - state: plasma-inhand-right
   - type: Sprite
     state: empowered
   - type: FlavorProfile
           Quantity: 8
         - ReagentId: Licoxide
           Quantity: 5
-  - type: Item
-    inhandVisuals:
-      left:
-      - state: plasma-inhand-left
-      right:
-      - state: plasma-inhand-right
 # Tastes like bun, pure electricity.
 
 - type: entity
   components:
   - type: Item
     storedOffset: 0,1
-  - type: FlavorProfile
-    flavors:
-      - bun
-      - fishy
-  - type: Sprite
-    state: fish
-  - type: Tag
-    tags:
-    - Meat
-  - type: Item
     inhandVisuals:
       left:
       - state: bun-inhand-left
         color: "#feffba"
       - state: alpha-patty-inhand-right
         color: "#f4bb53"
+  - type: FlavorProfile
+    flavors:
+      - bun
+      - fishy
+  - type: Sprite
+    state: fish
+  - type: Tag
+    tags:
+    - Meat
 # Tastes like bun, fish.
 
 - type: entity
     shape:
     - 0,0,1,1
     storedOffset: 0,1
+    inhandVisuals:
+      left:
+      - state: plain-inhand-left
+      right:
+      - state: plain-inhand-right
   - type: FlavorProfile
     flavors:
       - meaty
   - type: Tag
     tags:
     - Meat
-  - type: Item
-    inhandVisuals:
-      left:
-      - state: plain-inhand-left
-      right:
-      - state: plain-inhand-right
 
 # Tastes like bun, HEAT.
 
     shape:
     - 0,0,1,1
     storedOffset: 0,3
+    inhandVisuals:
+      left:
+      - state: alpha-bun-inhand-left
+        color: "#cededa"
+      - state: alpha-filling-inhand-left
+        color: "#6a6281"
+      - state: alpha-patty-inhand-left
+        color: "#95a79f"
+      right:
+      - state: alpha-bun-inhand-right
+        color: "#cededa"
+      - state: alpha-filling-inhand-right
+        color: "#6a6281"
+      - state: alpha-patty-inhand-right
+        color: "#95a79f"
   - type: FlavorProfile
     flavors:
       - bun
     tags:
       - ClothMade
       - Meat
-  - type: Item
-    inhandVisuals:
-      left:
-      - state: alpha-bun-inhand-left
-        color: "#cededa"
-      - state: alpha-filling-inhand-left
-        color: "#6a6281"
-      - state: alpha-patty-inhand-left
-        color: "#95a79f"
-      right:
-      - state: alpha-bun-inhand-right
-        color: "#cededa"
-      - state: alpha-filling-inhand-right
-        color: "#6a6281"
-      - state: alpha-patty-inhand-right
-        color: "#95a79f"
 # Tastes like bun, ectoplasm.
 
 - type: entity
   components:
   - type: Item
     storedOffset: 0,1
+    inhandVisuals:
+      left:
+      - state: bun-inhand-left
+      - state: alpha-filling-inhand-left
+        color: "#f2efce"
+      - state: alpha-patty-inhand-left
+        color: "#e3756d"
+      right:
+      - state: bun-inhand-right
+      - state: alpha-filling-inhand-right
+        color: "#f2efce"
+      - state: alpha-patty-inhand-right
+        color: "#e3756d"
   - type: FlavorProfile
     flavors:
       - muffin
   - type: Tag
     tags:
     - Meat
-  - type: Item
-    inhandVisuals:
-      left:
-      - state: bun-inhand-left
-      - state: alpha-filling-inhand-left
-        color: "#f2efce"
-      - state: alpha-patty-inhand-left
-        color: "#e3756d"
-      right:
-      - state: bun-inhand-right
-      - state: alpha-filling-inhand-right
-        color: "#f2efce"
-      - state: alpha-patty-inhand-right
-        color: "#e3756d"
 
 - type: entity
   parent: FoodBurgerBase
   components:
   - type: Item
     storedOffset: 0,1
+    inhandVisuals:
+      left:
+      - state: bun-inhand-left
+      - state: alpha-patty-inhand-left
+        color: "#91d90b"
+      - state: alpha-filling-inhand-left
+        color: "#91d90b"
+      right:
+      - state: bun-inhand-right
+      - state: alpha-patty-inhand-right
+        color: "#91d90b"
+      - state: alpha-filling-inhand-right
+        color: "#91d90b"
   - type: FlavorProfile
     flavors:
       - bun
           Quantity: 13
         - ReagentId: Vitamin
           Quantity: 5
-  - type: Item
-    inhandVisuals:
-      left:
-      - state: bun-inhand-left
-      - state: alpha-patty-inhand-left
-        color: "#91d90b"
-      - state: alpha-filling-inhand-left
-        color: "#91d90b"
-      right:
-      - state: bun-inhand-right
-      - state: alpha-patty-inhand-right
-        color: "#91d90b"
-      - state: alpha-filling-inhand-right
-        color: "#91d90b"
 # Tastes like bun, redditors.
 
 - type: entity
     shape:
     - 0,0,1,1
     storedOffset: -1,2
+    inhandVisuals:
+      left:
+      - state: spell-inhand-left
+      right:
+      - state: spell-inhand-right
   - type: FlavorProfile
     flavors:
       - bun
           Quantity: 5
         - ReagentId: Vitamin
           Quantity: 10
-  - type: Item
-    inhandVisuals:
-      left:
-      - state: spell-inhand-left
-      right:
-      - state: spell-inhand-right
 # Tastes like bun, silver.
 
 - type: entity
     shape:
     - 0,0,1,1
     storedOffset: 0,4
+    inhandVisuals:
+      left:
+      - state: burger-super-inhand-left
+      right:
+      - state: burger-super-inhand-right
   - type: FlavorProfile
     flavors: # What bun?
       - meaty
   - type: Tag
     tags:
     - Meat
-  - type: Item
-    inhandVisuals:
-      left:
-      - state: burger-super-inhand-left
-      right:
-      - state: burger-super-inhand-right
 # Tastes like bun, diabetes.
 
 - type: entity
   - type: Item
     shape:
     - 0,0,0,1
+    inhandVisuals:
+      left:
+      - state: mothroach-inhand-left
+      right:
+      - state: mothroach-inhand-right
   - type: FlavorProfile
     flavors:
       - bun
   - type: Tag
     tags:
     - Meat
-  - type: Item
-    inhandVisuals:
-      left:
-      - state: mothroach-inhand-left
-      right:
-      - state: mothroach-inhand-right