Added several missing items that didn't exist in any inventories/loadoads on the production server to the item_persistence migration

This commit is contained in:
Ben Wallis 2020-09-27 11:18:21 +01:00
parent 98c8240879
commit 099dfaae9c
2 changed files with 13 additions and 1 deletions

View File

@ -602,6 +602,18 @@ INSERT INTO _temp_item_defs VALUES('common.items.weapons.sword.wood_sword','Wood
-- Accounts for renamed "Powerful Potion" item
INSERT INTO _temp_item_defs VALUES('common.items.boss_drops.potions','Powerful Potion','');
-- Accounts for renamed "Weightless Rod" item
INSERT INTO _temp_item_defs VALUES('common.items.debug.boost', 'Weightless Rod', 'Boost');
-- Accounts for renamed "Sturdy Bihander" item
INSERT INTO _temp_item_defs VALUES('common.items.weapons.sword.zweihander_sword_0','Sturdy Bihander','Zweihander0');
-- Accounts for renamed "Sharp Kitchen Knife" item
INSERT INTO _temp_item_defs VALUES('common.items.weapons.dagger.starter_dagger','Sharp Kitchen Knife','BasicDagger');
-- Accounts for renamed "A Shield" item
INSERT INTO _temp_item_defs VALUES('common.items.weapons.shield.shield_1','A Shield','BasicShield');
-- Remove items that have another item with an identical Weapon/Armor Kind and Name so are
-- therefore indistinguishable in inventory/loadout JSON
DELETE FROM _temp_item_defs WHERE item_definition_id = 'common.items.utility.bomb_pile';

View File

@ -29,7 +29,7 @@ pub type PersistedComponents = (comp::Body, comp::Stats, comp::Inventory, comp::
// This macro is called at build-time, and produces the necessary migration info
// for the `embedded_migrations` call below.
//
// NOTE: Adding a useless comment to trigger the migrations being run. Delete
// NOTE: Adding a useless comment to trigger the migrations being run. Alter
// when needed.
embed_migrations!();