From 9cb617a24c73c6406b3db51fad487cc711ed6fb9 Mon Sep 17 00:00:00 2001 From: Whatstone <166147148+whatston3@users.noreply.github.com> Date: Thu, 17 Oct 2024 11:25:48 -0400 Subject: [PATCH] Entity YAML Cleanup (#2267) * Entity YAML fixes * Fix CardHandParent ID/parent --- .../Entities/Structures/Machines/lathe.yml | 2 +- .../Structures/Wallmounts/intercom.yml | 2 ++ .../Entities/Objects/Misc/cards.yml | 25 +++++++++++++++---- .../Entities/Structures/Machines/lathe.yml | 6 ++--- .../Catalog/Fills/Lockers/wardrobe_job.yml | 7 +++++- .../OuterClothing/goblin_outerclothing.yml | 3 ++- .../Objects/Consumable/Drinks/drinks_keg.yml | 2 ++ .../Objects/Consumable/Food/ingredients.yml | 1 + .../Entities/Objects/Misc/mortuary_urn.yml | 4 +-- .../_NF/Entities/Objects/Tools/welders.yml | 16 +++--------- .../Structures/Machines/crate_machine.yml | 6 ++++- .../Entities/Structures/Machines/lathe.yml | 4 +-- .../Machines/microwave_recipe_assemblers.yml | 5 ++++ .../Shuttles/thrusters_security.yml | 8 ++++++ .../Storage/Closets/wall_lockers.yml | 6 ++++- .../_NF/Entities/Structures/atm.yml | 10 ++++---- 16 files changed, 73 insertions(+), 34 deletions(-) diff --git a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml index fa2023956fa..5d6863377a1 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml @@ -977,7 +977,7 @@ - type: entity id: MedicalTechFab - parent: [ BaseLatheLube, BlueprintReceiverBase ] # Frontier: added BlueprintReceiverBase + parent: [ BlueprintReceiverBase, BaseLatheLube ] # Frontier: added BlueprintReceiverBase name: medical techfab description: Prints equipment for use by the medbay. components: diff --git a/Resources/Prototypes/Entities/Structures/Wallmounts/intercom.yml b/Resources/Prototypes/Entities/Structures/Wallmounts/intercom.yml index e6a00aaa74e..b8f0e3b3ea2 100644 --- a/Resources/Prototypes/Entities/Structures/Wallmounts/intercom.yml +++ b/Resources/Prototypes/Entities/Structures/Wallmounts/intercom.yml @@ -204,6 +204,8 @@ map: ["enum.WiresVisualLayers.MaintenancePanel"] - type: WiresPanel open: false + - type: Physics # Frontier + canCollide: false # Frontier - type: entity id: BaseIntercomSecure diff --git a/Resources/Prototypes/EstacaoPirata/Entities/Objects/Misc/cards.yml b/Resources/Prototypes/EstacaoPirata/Entities/Objects/Misc/cards.yml index b90217a7053..ae815af058e 100644 --- a/Resources/Prototypes/EstacaoPirata/Entities/Objects/Misc/cards.yml +++ b/Resources/Prototypes/EstacaoPirata/Entities/Objects/Misc/cards.yml @@ -31,16 +31,28 @@ - type: StaticPrice # Frontier price: 200 # Frontier +# Frontier: base stack for card stack component - type: entity parent: BaseItem + id: CardStackBase + name: stack of cards + abstract: true + components: + - type: Item + size: Small + - type: CardStack + - type: ContainerContainer # Frontier + containers: # Frontier + cardstack-container: !type:Container # Frontier +# End Frontier + +- type: entity + parent: CardStackBase id: CardHandBase categories: [ HideSpawnMenu ] name: hand of cards components: - - type: Item - size: Small - type: CardHand - - type: CardStack - type: Sprite sprite: EstacaoPirata/Objects/Misc/cards.rsi state: singlecard_down_black @@ -54,7 +66,7 @@ price: 0.01 # Frontier - type: entity - parent: BaseItem + parent: CardStackBase id: CardDeckBase categories: [ HideSpawnMenu ] name: deck of cards @@ -65,7 +77,6 @@ - type: Item size: Normal - type: CardDeck - - type: CardStack - type: entity @@ -184,6 +195,8 @@ - type: StaticPrice # Frontier price: 0.01 # Frontier +# region Black Cards + - type: entity parent: CardBase categories: [ HideSpawnMenu ] @@ -771,3 +784,5 @@ - type: Sprite sprite: EstacaoPirata/Objects/Misc/cards.rsi state: black_joker + +# endregion Black Deck \ No newline at end of file diff --git a/Resources/Prototypes/Nyanotrasen/Entities/Structures/Machines/lathe.yml b/Resources/Prototypes/Nyanotrasen/Entities/Structures/Machines/lathe.yml index b81f54a7a6c..5c1c3bbabcf 100644 --- a/Resources/Prototypes/Nyanotrasen/Entities/Structures/Machines/lathe.yml +++ b/Resources/Prototypes/Nyanotrasen/Entities/Structures/Machines/lathe.yml @@ -1,5 +1,5 @@ - type: entity - parent: [ BaseLatheLube, BlueprintReceiverBase ] # Frontier: Protolathe