From ca7fa7e985a33d0bc0c7b89f816141608436f9e1 Mon Sep 17 00:00:00 2001 From: Nim <128169402+Nimfar11@users.noreply.github.com> Date: Sun, 24 Aug 2025 13:51:48 +0300 Subject: [PATCH] Various leather (#1692) * various skin * fix --- .../Clothing/Cloak/Roles/blacksmith.yml | 5 ++++ .../Entities/Clothing/Cloak/bone_cloak.yml | 2 +- .../Clothing/OuterClothing/Roles/general.yml | 5 ++++ .../Entities/Clothing/Pants/Roles/general.yml | 5 ++++ .../_CP14/Entities/Clothing/Shoes/shoes.yml | 9 +++++++ .../_CP14/Entities/Objects/Misc/parts.yml | 24 +++++++++++++++++++ .../Recipes/Workbench/LeatherWorking/misc.yml | 13 ++++++++++ 7 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 Resources/Prototypes/_CP14/Entities/Objects/Misc/parts.yml create mode 100644 Resources/Prototypes/_CP14/Recipes/Workbench/LeatherWorking/misc.yml diff --git a/Resources/Prototypes/_CP14/Entities/Clothing/Cloak/Roles/blacksmith.yml b/Resources/Prototypes/_CP14/Entities/Clothing/Cloak/Roles/blacksmith.yml index b21b96caa3..aed8ccbf20 100644 --- a/Resources/Prototypes/_CP14/Entities/Clothing/Cloak/Roles/blacksmith.yml +++ b/Resources/Prototypes/_CP14/Entities/Clothing/Cloak/Roles/blacksmith.yml @@ -14,6 +14,11 @@ modifiers: coefficients: Heat: 0.95 + - type: Butcherable + butcheringType: Knife + spawned: + - id: CP14RuggedLeather1 + amount: 1 - type: Storage maxItemSize: Small defaultStorageOrientation: Vertical diff --git a/Resources/Prototypes/_CP14/Entities/Clothing/Cloak/bone_cloak.yml b/Resources/Prototypes/_CP14/Entities/Clothing/Cloak/bone_cloak.yml index f296fa477b..4f0892f623 100644 --- a/Resources/Prototypes/_CP14/Entities/Clothing/Cloak/bone_cloak.yml +++ b/Resources/Prototypes/_CP14/Entities/Clothing/Cloak/bone_cloak.yml @@ -2,7 +2,7 @@ parent: CP14ClothingCloakBase id: CP14ClothingCloakBone name: bone cloak - description: a brutal cloak for brutal skeletons. + description: A brutal cloak for brutal skeletons. components: - type: Sprite sprite: _CP14/Clothing/Cloak/bone_cloak.rsi diff --git a/Resources/Prototypes/_CP14/Entities/Clothing/OuterClothing/Roles/general.yml b/Resources/Prototypes/_CP14/Entities/Clothing/OuterClothing/Roles/general.yml index ec0f48312e..7cb1aca835 100644 --- a/Resources/Prototypes/_CP14/Entities/Clothing/OuterClothing/Roles/general.yml +++ b/Resources/Prototypes/_CP14/Entities/Clothing/OuterClothing/Roles/general.yml @@ -62,6 +62,11 @@ sprite: _CP14/Clothing/OuterClothing/Roles/General/brown_3.rsi - type: Clothing sprite: _CP14/Clothing/OuterClothing/Roles/General/brown_3.rsi + - type: Butcherable + butcheringType: Knife + spawned: + - id: CP14ThinLeather1 + amount: 1 - type: entity parent: diff --git a/Resources/Prototypes/_CP14/Entities/Clothing/Pants/Roles/general.yml b/Resources/Prototypes/_CP14/Entities/Clothing/Pants/Roles/general.yml index c1873becf7..679ac46fdc 100644 --- a/Resources/Prototypes/_CP14/Entities/Clothing/Pants/Roles/general.yml +++ b/Resources/Prototypes/_CP14/Entities/Clothing/Pants/Roles/general.yml @@ -32,6 +32,11 @@ sprite: _CP14/Clothing/Pants/loincloth.rsi - type: Clothing sprite: _CP14/Clothing/Pants/loincloth.rsi + - type: Butcherable + butcheringType: Knife + spawned: + - id: CP14ThinLeather1 + amount: 1 - type: entity parent: CP14ClothingPantsBase diff --git a/Resources/Prototypes/_CP14/Entities/Clothing/Shoes/shoes.yml b/Resources/Prototypes/_CP14/Entities/Clothing/Shoes/shoes.yml index 7c01a99b91..411e2ceec7 100644 --- a/Resources/Prototypes/_CP14/Entities/Clothing/Shoes/shoes.yml +++ b/Resources/Prototypes/_CP14/Entities/Clothing/Shoes/shoes.yml @@ -102,6 +102,15 @@ sprite: _CP14/Clothing/Shoes/long_leather_boots.rsi - type: Clothing sprite: _CP14/Clothing/Shoes/long_leather_boots.rsi + - type: PhysicalComposition + materialComposition: + CP14Leather: 5 + CP14Cloth: 5 + - type: Butcherable + butcheringType: Knife + spawned: + - id: CP14ThinLeather1 + amount: 1 - type: entity parent: CP14ClothingShoesBase diff --git a/Resources/Prototypes/_CP14/Entities/Objects/Misc/parts.yml b/Resources/Prototypes/_CP14/Entities/Objects/Misc/parts.yml new file mode 100644 index 0000000000..84d72b8546 --- /dev/null +++ b/Resources/Prototypes/_CP14/Entities/Objects/Misc/parts.yml @@ -0,0 +1,24 @@ +- type: entity + id: CP14IngredientBase # An item intended for crafting + parent: BaseItem + abstract: true + categories: [ ForkFiltered ] + components: + - type: Item + size: Tiny + +# Buckle +- type: entity + id: CP14IronBuckle + parent: CP14IngredientBase + name: iron buckle + description: A sturdy metal buckle for fastening straps and belts. + components: + - type: Sprite + sprite: _CP14/Objects/Ingredients/buckle.rsi + state: icon + - type: PhysicalComposition + materialComposition: + CP14Iron: 2 # 1/5 iron bar (10u) + - type: StaticPrice + price: 2 diff --git a/Resources/Prototypes/_CP14/Recipes/Workbench/LeatherWorking/misc.yml b/Resources/Prototypes/_CP14/Recipes/Workbench/LeatherWorking/misc.yml new file mode 100644 index 0000000000..84d680c003 --- /dev/null +++ b/Resources/Prototypes/_CP14/Recipes/Workbench/LeatherWorking/misc.yml @@ -0,0 +1,13 @@ +- type: CP14Recipe + id: CP14ClothingShoesLongLeatherBoots + tag: CP14RecipeLeatherWorking + category: LeatherWorking + craftTime: 2 + requirements: + - !type:StackResource + stack: CP14ThinLeather + count: 1 + - !type:ProtoIdResource + protoId: CP14String + count: 2 + result: CP14ClothingShoesLongLeatherBoots