summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-05-28 10:21:12 -0400
committerDavid Gay <david@davidgay.org>2021-05-28 10:21:12 -0400
commit04a81a4517c33d86cdebed9116bbd0a7656bd68d (patch)
tree3b817d0a4af5fc948c5d336dd7d9ecf825a7d889 /data
parent87d006ed6b34d00274c72dba055ba4fbc2980212 (diff)
Refactor HA effects and equipment equip effects to use the same format, then include them both in Character#effects
Diffstat (limited to 'data')
-rw-r--r--data/hearth_amenities.yml6
-rw-r--r--data/items.yml14
2 files changed, 10 insertions, 10 deletions
diff --git a/data/hearth_amenities.yml b/data/hearth_amenities.yml
index d6dca76..fd090c8 100644
--- a/data/hearth_amenities.yml
+++ b/data/hearth_amenities.yml
@@ -17,7 +17,7 @@ forge:
effects:
- type: "stat_change"
level: 2
- stat: "otherforge_speed"
+ gid: "otherforge_speed"
modifier: 4
labratory:
name: "Labratory"
@@ -31,7 +31,7 @@ labratory:
effects:
- type: "stat_change"
level: 2
- stat: "fluxseethe_speed"
+ gid: "fluxseethe_speed"
modifier: 4
listern_font:
name: "Listern Font"
@@ -50,5 +50,5 @@ listern_font:
effects:
- type: "stat_change"
level: 2
- stat: "max_wounds"
+ gid: "max_wounds"
modifier: 1
diff --git a/data/items.yml b/data/items.yml
index 2c00f61..c153b57 100644
--- a/data/items.yml
+++ b/data/items.yml
@@ -35,10 +35,10 @@ iron_dagger:
equip_slots:
- "mainhand"
equip_effects:
- - type: "stat"
+ - type: "stat_change"
gid: "accuracy"
modifier: 2
- - type: "stat"
+ - type: "stat_change"
gid: "power"
modifier: 2
iron_short_sword:
@@ -48,10 +48,10 @@ iron_short_sword:
equip_slots:
- "mainhand"
equip_effects:
- - type: "stat"
+ - type: "stat_change"
gid: "accuracy"
modifier: 3
- - type: "stat"
+ - type: "stat_change"
gid: "power"
modifier: 3
iron_longsword:
@@ -65,10 +65,10 @@ iron_longsword:
- gid: "beastslay"
level: 3
equip_effects:
- - type: "stat"
+ - type: "stat_change"
gid: "accuracy"
modifier: 4
- - type: "stat"
+ - type: "stat_change"
gid: "power"
modifier: 4
mending_salve:
@@ -145,7 +145,7 @@ warm_diadem:
equip_slots:
- "head"
equip_effects:
- - type: "stat"
+ - type: "stat_change"
gid: "max_hp"
modifier: 1
warped_eyestalk: