From f029299c3a60df8301a4ab32ab693b672798e8ad Mon Sep 17 00:00:00 2001 From: David Gay Date: Sun, 23 May 2021 17:50:06 -0400 Subject: Have equipment stats affect combat stats --- data/items.yml | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) (limited to 'data') diff --git a/data/items.yml b/data/items.yml index f97d339..48e9b22 100644 --- a/data/items.yml +++ b/data/items.yml @@ -28,12 +28,32 @@ pig_iron_ingot: iron_ingot: name: "iron ingot" description: "A simple bar of iron." +iron_dagger: + name: "Iron dagger" + description: "A dagger made of iron." + whatnot: + equip_slots: + - "mainhand" + effects: + - type: "stat" + gid: "accuracy" + modifier: 2 + - type: "stat" + gid: "power" + modifier: 2 iron_short_sword: name: "Iron short sword" description: "A short sword made of iron." whatnot: equip_slots: - "mainhand" + effects: + - type: "stat" + gid: "accuracy" + modifier: 3 + - type: "stat" + gid: "power" + modifier: 3 iron_longsword: name: "Iron longsword" description: "A longsword made of iron." @@ -42,7 +62,15 @@ iron_longsword: - "mainhand" equip_requirements: skills: - beastslay: 3 + - gid: "beastslay" + level: 3 + effects: + - type: "stat" + gid: "accuracy" + modifier: 4 + - type: "stat" + gid: "power" + modifier: 4 mending_salve: name: "Mending salve" description: "A healing mixture capable of closing wounds." -- cgit v1.2.3