summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-05-23 20:15:03 -0400
committerDavid Gay <david@davidgay.org>2021-05-23 20:15:03 -0400
commit82eec1f68172857b3b39e6ab3e3b837de16c1198 (patch)
treea1edb49f55ad01c3acaf41070bf09f207fcfaf22 /data
parent6bf84733db22f6c5d5105acc3565b075fcc65917 (diff)
Item usage
Diffstat (limited to 'data')
-rw-r--r--data/items.yml12
1 files changed, 8 insertions, 4 deletions
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."