From 05c602a3ff76ddffd01bbe7f3ec6a75781a3551d Mon Sep 17 00:00:00 2001 From: David Gay Date: Sat, 5 Jun 2021 18:33:05 -0400 Subject: Rename pig iron ingot --- CHANGELOG.md | 5 ++++- data/activities.yml | 16 ++++++++-------- data/items.yml | 4 ++-- db/migrate/20210605223042_rename_pig_iron_ingots.rb | 5 +++++ db/schema.rb | 2 +- 5 files changed, 20 insertions(+), 12 deletions(-) create mode 100644 db/migrate/20210605223042_rename_pig_iron_ingots.rb diff --git a/CHANGELOG.md b/CHANGELOG.md index e308d91..a01bbbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ All notable changes to this project will be documented in this file. - Planequarrying in the Deepshaft now has a 70% chance to yield iron ore, up from 40%. Consequently, crude iron ore chance has been reduced from 50% to 20%. - Crafting iron longsword now requires Otherforge level 7 (up from 5). -- XP value changes: +- XP value changes to obtaining items: - Iron ore reduced from 15 to 10. - Pure iron ore reduced from 30 to 25. - Gaian ore reduced from 80 to 50. @@ -23,6 +23,9 @@ All notable changes to this project will be documented in this file. - Claritas flower reduced from 85 to 45. - Shimmering essence reduced from 30 to 20. - Wisp of the current reduced from 50 to 35. + +### Items +- Pig iron ingot renamed to crude iron ingot. ### Mechanics - Any items equipped when combat completes now have a chance to be broken, damaged beyond repair. Broken items are diff --git a/data/activities.yml b/data/activities.yml index e46bae1..5896a98 100644 --- a/data/activities.yml +++ b/data/activities.yml @@ -465,9 +465,9 @@ harvest_enzon: xp: - gid: "magiculture" value: 45 -craft_pig_iron_ingot: - name: "Smelt Pig Iron Ingot" - description: "Smelt a pig iron ingot." +craft_crude_iron_ingot: + name: "Smelt Crude Iron Ingot" + description: "Smelt a crude iron ingot." whatnot: requirements: - type: "hearth_amenity" @@ -489,7 +489,7 @@ craft_pig_iron_ingot: quantity: 10 results: - type: "item" - gid: "pig_iron_ingot" + gid: "crude_iron_ingot" xp: - gid: "otherforge" value: 4 @@ -586,9 +586,9 @@ craft_arcanite_ingot: xp: - gid: "otherforge" value: 16 -craft_purify_pig_iron_ingot: - name: "Purify Pig Iron Ingot" - description: "Purify pig iron ingots into an iron ingot." +craft_purify_crude_iron_ingot: + name: "Purify Crude Iron Ingot" + description: "Purify crude iron ingots into an iron ingot." whatnot: requirements: - type: "hearth_amenity" @@ -606,7 +606,7 @@ craft_purify_pig_iron_ingot: scale_value: 1 cost: - type: "item" - gid: "pig_iron_ingot" + gid: "crude_iron_ingot" quantity: 5 results: - type: "item" diff --git a/data/items.yml b/data/items.yml index 6e20474..480c681 100644 --- a/data/items.yml +++ b/data/items.yml @@ -25,8 +25,8 @@ tourmaline: yellow_beryl: name: "yellow beryl" description: "A rare and beautiful yellow gem." -pig_iron_ingot: - name: "pig iron ingot" +crude_iron_ingot: + name: "crude iron ingot" description: "Low quality iron ingot meant to be remelted for further use." iron_ingot: name: "iron ingot" diff --git a/db/migrate/20210605223042_rename_pig_iron_ingots.rb b/db/migrate/20210605223042_rename_pig_iron_ingots.rb new file mode 100644 index 0000000..7a0c98e --- /dev/null +++ b/db/migrate/20210605223042_rename_pig_iron_ingots.rb @@ -0,0 +1,5 @@ +class RenamePigIronIngots < ActiveRecord::Migration[6.1] + def change + Item.find_by_gid("pig_iron_ingot").update(gid: "crude_iron_ingot") + end +end diff --git a/db/schema.rb b/db/schema.rb index 9e20579..9a41002 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2021_06_02_225942) do +ActiveRecord::Schema.define(version: 2021_06_05_223042) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" -- cgit v1.2.3