]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
small yml cleanup (#31720)
authorlzk <124214523+lzk228@users.noreply.github.com>
Sun, 1 Sep 2024 21:17:24 +0000 (23:17 +0200)
committerGitHub <noreply@github.com>
Sun, 1 Sep 2024 21:17:24 +0000 (23:17 +0200)
Resources/Prototypes/Entities/Clothing/Hands/base_clothinghands.yml
Resources/Prototypes/Entities/Clothing/Hands/rings.yml
Resources/Prototypes/Entities/Structures/Shuttles/station_anchor.yml

index da0011e1cc27a032aeeb2a4f8c686146b2a2919c..b17140169abd5aa332593eea0705d071ad7c09b5 100644 (file)
   parent: BaseItem
   id: RingBase
   components:
-    - type: Clothing
-      slots: [ gloves, neck ]
-    - type: Item
-      size: Tiny
-    - type: Tag
-      tags:
-      - Ring
+  - type: Clothing
+    slots: [ gloves, neck ]
+  - type: Sprite
+    sprite: Clothing/Hands/Rings/basic.rsi
+  - type: Appearance
+  - type: Item
+    size: Tiny
+  - type: Tag
+    tags:
+    - Ring
index e88ee81feecff8521123bf5ae2b1c61c2c261be6..d5eab870d24c8f2c26d1588db0ea77546afd43e9 100644 (file)
@@ -4,14 +4,12 @@
   name: gold ring
   description: A precious ring.
   components:
-    - type: Sprite
-      sprite: Clothing/Hands/Rings/basic.rsi
-      layers:
-        - state: ring
-          color: "#ffc833"
-    - type: StaticPrice
-      price: 300
-    - type: Appearance
+  - type: Sprite
+    layers:
+      - state: ring
+        color: "#ffc833"
+  - type: StaticPrice
+    price: 300
 
 - type: entity
   parent: RingBase
   name: silver ring
   description: Looks slightly less valuable than a gold one.
   components:
-    - type: Sprite
-      sprite: Clothing/Hands/Rings/basic.rsi
-      layers:
-        - state: ring
-    - type: StaticPrice
-      price: 275
-    - type: Appearance
+  - type: Sprite
+    layers:
+      - state: ring
+  - type: StaticPrice
+    price: 275
 
 - type: entity
   parent: RingBase
   name: gold diamond ring
   description: Made from ethically mined space diamonds.
   components:
-    - type: Sprite
-      sprite: Clothing/Hands/Rings/basic.rsi
-      layers:
-        - state: ring
-          color: "#ffc833"
-        - state: gem
-          color: "#c1ffff"
-    - type: StaticPrice
-      price: 1500
-    - type: Appearance
+  - type: Sprite
+    layers:
+      - state: ring
+        color: "#ffc833"
+      - state: gem
+        color: "#c1ffff"
+  - type: StaticPrice
+    price: 1500
 
 - type: entity
   parent: RingBase
   name: silver diamond ring
   description: Made from ethically mined space diamonds.
   components:
-    - type: Sprite
-      sprite: Clothing/Hands/Rings/basic.rsi
-      layers:
-        - state: ring
-        - state: gem
-          color: "#c1ffff"
-    - type: StaticPrice
-      price: 1400
-    - type: Appearance
+  - type: Sprite
+    layers:
+      - state: ring
+      - state: gem
+        color: "#c1ffff"
+  - type: StaticPrice
+    price: 1400
 
 - type: entity
   parent: RingBase
   name: gold gem ring
   description: Shiny and valuable!
   components:
-    - type: Sprite
-      sprite: Clothing/Hands/Rings/basic.rsi
-      layers:
-        - state: ring
-          color: "#ffc833"
-        - state: gem
-          map: [ "gemColor" ]
-    - type: StaticPrice
-      price: 2100
-    - type: Appearance
-    - type: RandomSprite
-      getAllGroups: true
-      available:
-        - gemColor:
-            gem: Rainbow
+  - type: Sprite
+    layers:
+      - state: ring
+        color: "#ffc833"
+      - state: gem
+        map: [ "gemColor" ]
+  - type: StaticPrice
+    price: 2100
+  - type: RandomSprite
+    getAllGroups: true
+    available:
+      - gemColor:
+          gem: Rainbow
 
 - type: entity
   parent: RingBase
   name: silver gem ring
   description: Shiny and not quite as valuable!
   components:
-    - type: Sprite
-      sprite: Clothing/Hands/Rings/basic.rsi
-      layers:
-        - state: ring
-        - state: gem
-          map: [ "gemColor" ]
-    - type: StaticPrice
-      price: 2000
-    - type: Appearance
-    - type: RandomSprite
-      getAllGroups: true
-      available:
-        - gemColor:
-            gem: Rainbow
+  - type: Sprite
+    layers:
+      - state: ring
+      - state: gem
+        map: [ "gemColor" ]
+  - type: StaticPrice
+    price: 2000
+  - type: RandomSprite
+    getAllGroups: true
+    available:
+      - gemColor:
+          gem: Rainbow
index 2f6e42bbf18c28fd2beb78564180b2ed3d22fba7..7b9a3225556d1a237fa3aa626bf0576031b4f363 100644 (file)
@@ -2,7 +2,7 @@
   id: StationAnchorBase
   abstract: true
   name: station anchor
-  description: Prevents stations from moving
+  description: Prevents stations from moving.
   placement:
     mode: AlignTileAny
   components:
@@ -45,7 +45,6 @@
         layer:
         - WallLayer
 
-
 - type: entity
   id: StationAnchorIndestructible
   parent: StationAnchorBase
@@ -54,8 +53,6 @@
 - type: entity
   id: StationAnchor
   parent: [StationAnchorBase, BaseMachinePowered, ConstructibleMachine]
-  name: station anchor
-  description: Prevents stations from moving
   placement:
     mode: AlignTileAny
   components: