From e50bd4dc6f0f04a9380b3b1e5396f8c262b5308f Mon Sep 17 00:00:00 2001 From: Scott Williams Date: Sun, 24 Jan 2021 19:45:44 +0000 Subject: [PATCH] Changed some recipes to use other gems. Removed DELETE statements from migration. --- assets/common/recipe_book.ron | 12 ++++++------ .../2021-01-24-141845_shinygem-to-diamond/down.sql | 8 +------- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/assets/common/recipe_book.ron b/assets/common/recipe_book.ron index 4782f90c68..e7174bb3a7 100644 --- a/assets/common/recipe_book.ron +++ b/assets/common/recipe_book.ron @@ -48,7 +48,7 @@ ("common.items.utility.collar", 1), [ ("common.items.crafting_ing.leather_scraps", 5), - ("common.items.crafting_ing.diamond", 1), + ("common.items.crafting_ing.ruby", 1), ], ), "bomb_coconut": ( @@ -160,7 +160,7 @@ ("common.items.crafting_ing.twigs", 5), ("common.items.crafting_ing.leather_scraps", 5), ("common.items.crafting_ing.cloth_scraps", 5), - ("common.items.crafting_ing.diamond", 1), + ("common.items.crafting_ing.emerald", 1), ("common.items.crafting_tools.craftsman_hammer", 0), ("common.items.crafting_tools.sewing_set", 0), ], @@ -172,7 +172,7 @@ ("common.items.crafting_ing.twigs", 5), ("common.items.crafting_ing.leather_scraps", 5), ("common.items.crafting_ing.cloth_scraps", 5), - ("common.items.crafting_ing.diamond", 1), + ("common.items.crafting_ing.ruby", 1), ("common.items.crafting_tools.craftsman_hammer", 0), ("common.items.crafting_tools.sewing_set", 0), ], @@ -185,7 +185,7 @@ ("common.items.crafting_ing.leather_scraps", 5), ("common.items.crafting_ing.cloth_scraps", 5), ("common.items.crafting_ing.icy_fang", 1), - ("common.items.crafting_ing.diamond", 1), + ("common.items.crafting_ing.ruby", 1), ("common.items.crafting_tools.craftsman_hammer", 0), ("common.items.crafting_tools.sewing_set", 0), ], @@ -197,7 +197,7 @@ ("common.items.crafting_ing.twigs", 15), ("common.items.crafting_ing.leather_scraps", 5), ("common.items.crafting_ing.cloth_scraps", 5), - ("common.items.crafting_ing.diamond", 1), + ("common.items.crafting_ing.ruby", 1), ("common.items.crafting_tools.craftsman_hammer", 0), ("common.items.crafting_tools.sewing_set", 0), ], @@ -207,7 +207,7 @@ [ ("common.items.crafting_ing.twigs", 20), ("common.items.ore.veloritefrag", 8), - ("common.items.crafting_ing.diamond", 4), + ("common.items.crafting_ing.ruby", 4), ("common.items.crafting_tools.craftsman_hammer", 0), ], ), diff --git a/server/src/migrations/2021-01-24-141845_shinygem-to-diamond/down.sql b/server/src/migrations/2021-01-24-141845_shinygem-to-diamond/down.sql index 9a71837e02..0f76d01f96 100644 --- a/server/src/migrations/2021-01-24-141845_shinygem-to-diamond/down.sql +++ b/server/src/migrations/2021-01-24-141845_shinygem-to-diamond/down.sql @@ -1,8 +1,2 @@ UPDATE item -SET item_definition_id = 'common.items.weapons.crafting.shiny_gem' WHERE item_definition_id = 'common.items.crafting_ing.diamond'; - -DELETE FROM item WHERE item_definition_id = 'common.items.crafting_ing.ruby'; -DELETE FROM item WHERE item_definition_id = 'common.items.crafting_ing.emerald'; -DELETE FROM item WHERE item_definition_id = 'common.items.crafting_ing.sapphire'; -DELETE FROM item WHERE item_definition_id = 'common.items.crafting_ing.topaz'; -DELETE FROM item WHERE item_definition_id = 'common.items.crafting_ing.amethyst'; +SET item_definition_id = 'common.items.weapons.crafting.shiny_gem' WHERE item_definition_id = 'common.items.crafting_ing.diamond'; \ No newline at end of file