From 89df4270e8abe21eef24de373ce3a93bf94d5be5 Mon Sep 17 00:00:00 2001 From: lzk <124214523+lzk228@users.noreply.github.com> Date: Sun, 1 Sep 2024 23:17:24 +0200 Subject: [PATCH] small yml cleanup (#31720) --- .../Clothing/Hands/base_clothinghands.yml | 17 +-- .../Entities/Clothing/Hands/rings.yml | 114 ++++++++---------- .../Structures/Shuttles/station_anchor.yml | 5 +- 3 files changed, 62 insertions(+), 74 deletions(-) diff --git a/Resources/Prototypes/Entities/Clothing/Hands/base_clothinghands.yml b/Resources/Prototypes/Entities/Clothing/Hands/base_clothinghands.yml index da0011e1cc..b17140169a 100644 --- a/Resources/Prototypes/Entities/Clothing/Hands/base_clothinghands.yml +++ b/Resources/Prototypes/Entities/Clothing/Hands/base_clothinghands.yml @@ -54,10 +54,13 @@ 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 diff --git a/Resources/Prototypes/Entities/Clothing/Hands/rings.yml b/Resources/Prototypes/Entities/Clothing/Hands/rings.yml index e88ee81fee..d5eab870d2 100644 --- a/Resources/Prototypes/Entities/Clothing/Hands/rings.yml +++ b/Resources/Prototypes/Entities/Clothing/Hands/rings.yml @@ -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 @@ -19,13 +17,11 @@ 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 @@ -33,16 +29,14 @@ 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 @@ -50,15 +44,13 @@ 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 @@ -66,21 +58,19 @@ 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 @@ -88,17 +78,15 @@ 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 diff --git a/Resources/Prototypes/Entities/Structures/Shuttles/station_anchor.yml b/Resources/Prototypes/Entities/Structures/Shuttles/station_anchor.yml index 2f6e42bbf1..7b9a322555 100644 --- a/Resources/Prototypes/Entities/Structures/Shuttles/station_anchor.yml +++ b/Resources/Prototypes/Entities/Structures/Shuttles/station_anchor.yml @@ -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: -- 2.51.2