From 619d02f08a2e45c184d09edbba1ce8e6059fdc43 Mon Sep 17 00:00:00 2001 From: Zymem <97173622+Zymem@users.noreply.github.com> Date: Sun, 27 Feb 2022 16:56:35 -0300 Subject: [PATCH] Second attempt at adding monkey hats (#6917) --- Resources/Prototypes/Entities/Mobs/NPCs/animals.yml | 7 +++++++ Resources/Prototypes/Entities/Mobs/Player/silicon.yml | 2 +- ..._inventory_template.yml => head_inventory_template.yml} | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) rename Resources/Prototypes/InventoryTemplates/{drone_inventory_template.yml => head_inventory_template.yml} (76%) diff --git a/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml b/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml index 126a7010ce..feb89a0b27 100644 --- a/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml +++ b/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml @@ -550,6 +550,13 @@ group: Monkey - type: SentienceTarget flavorKind: primate + - type: Inventory + templateId: head + - type: Strippable + - type: UserInterface + interfaces: + - key: enum.StrippingUiKey.Key + type: StrippableBoundUserInterface - type: Sprite drawdepth: Mobs layers: diff --git a/Resources/Prototypes/Entities/Mobs/Player/silicon.yml b/Resources/Prototypes/Entities/Mobs/Player/silicon.yml index 5ef4701ba5..d9433a6940 100644 --- a/Resources/Prototypes/Entities/Mobs/Player/silicon.yml +++ b/Resources/Prototypes/Entities/Mobs/Player/silicon.yml @@ -77,7 +77,7 @@ - type: NameIdentifier group: Drone - type: Inventory - templateId: drone + templateId: head - type: Strippable - type: UserInterface interfaces: diff --git a/Resources/Prototypes/InventoryTemplates/drone_inventory_template.yml b/Resources/Prototypes/InventoryTemplates/head_inventory_template.yml similarity index 76% rename from Resources/Prototypes/InventoryTemplates/drone_inventory_template.yml rename to Resources/Prototypes/InventoryTemplates/head_inventory_template.yml index 94959bb94a..c4328ee2dd 100644 --- a/Resources/Prototypes/InventoryTemplates/drone_inventory_template.yml +++ b/Resources/Prototypes/InventoryTemplates/head_inventory_template.yml @@ -1,5 +1,5 @@ -- type: inventoryTemplate - id: drone +- type: inventoryTemplate + id: head slots: - name: head slotTexture: head