From 82eec1f68172857b3b39e6ab3e3b837de16c1198 Mon Sep 17 00:00:00 2001 From: David Gay Date: Sun, 23 May 2021 20:15:03 -0400 Subject: Item usage --- data/items.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'data') diff --git a/data/items.yml b/data/items.yml index 48e9b22..837702c 100644 --- a/data/items.yml +++ b/data/items.yml @@ -34,7 +34,7 @@ iron_dagger: whatnot: equip_slots: - "mainhand" - effects: + equip_effects: - type: "stat" gid: "accuracy" modifier: 2 @@ -47,7 +47,7 @@ iron_short_sword: whatnot: equip_slots: - "mainhand" - effects: + equip_effects: - type: "stat" gid: "accuracy" modifier: 3 @@ -64,7 +64,7 @@ iron_longsword: skills: - gid: "beastslay" level: 3 - effects: + equip_effects: - type: "stat" gid: "accuracy" modifier: 4 @@ -74,7 +74,11 @@ iron_longsword: mending_salve: name: "Mending salve" description: "A healing mixture capable of closing wounds." - usable: true + whatnot: + use_effects: + - type: "change_wounds" + value: -1 + message: "You apply the salve to your skin." wood: name: "wood" description: "A bit of wood." -- cgit v1.2.3