From 470bc5bd99b793e46305310b5fbeb3068eba45f1 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sat, 20 Jun 2026 23:43:35 -0400 Subject: refactor: removed separate crafting recipes and combined them into item YAML --- data/items/equipment/leather_chaps.yaml | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) (limited to 'data/items/equipment/leather_chaps.yaml') diff --git a/data/items/equipment/leather_chaps.yaml b/data/items/equipment/leather_chaps.yaml index 1a17c16..0c2dd44 100644 --- a/data/items/equipment/leather_chaps.yaml +++ b/data/items/equipment/leather_chaps.yaml @@ -1,12 +1,27 @@ -id: leather_chaps -name: leather chaps color: "130" -description: "A pair of leather chaps." -value: 20 +craft: + consume: + - items: + - leather + quantity: 1 + - items: + - thread + quantity: 1 + level: 18 + message: You craft a pair of leather chaps. + skill: crafting + tool: needle + type: crafting + wait: 4 + xp: 27 +description: A pair of leather chaps. equip_slot: legs +id: leather_chaps +name: leather chaps stats: - stab_defense: 2 - slash_defense: 4 - crush_defense: 3 - science_defense: 3 - ranged_defense: 6 + crush_defense: 3 + ranged_defense: 6 + science_defense: 3 + slash_defense: 4 + stab_defense: 2 +value: 20 -- cgit v1.2.3