-- Remove old test items
DELETE FROM item WHERE item_definition_id = 'common.items.crafting_ing.modular.damage.sword.metal_blade';
DELETE FROM item WHERE item_definition_id = 'common.items.tag_examples.cloth_item';
DELETE FROM item WHERE item_definition_id = 'common.items.tag_examples.leather';
DELETE FROM item WHERE item_definition_id = 'common.items.tag_examples.leather_item';
DELETE FROM item WHERE item_definition_id = 'common.items.tag_examples.metal_ingot';
DELETE FROM item WHERE item_definition_id = 'common.items.tag_examples.placeholder';
DELETE FROM item WHERE item_definition_id = 'common.items.tag_examples.textile';

CREATE TEMP TABLE _temp_modular_items
(
    existing_item_definition_id TEXT NOT NULL,
    new_item_definition_id TEXT NOT NULL,
    pseudo_id INT NOT NULL,
    parent_pseudo_id INT,
    component_id INT
);

INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bloodsteel_axe-0', 'veloren.core.pseudo_items.modular.tool', 1, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bloodsteel_axe-0', 'common.items.modular.weapon.primary.axe.jagged', 2, 1, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bloodsteel_axe-0', 'common.items.modular.weapon.secondary.axe.long', 3, 1, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bloodsteel_axe-0', 'common.items.mineral.ingot.bloodsteel', 4, 2, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bloodsteel_axe-1', 'veloren.core.pseudo_items.modular.tool', 5, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bloodsteel_axe-1', 'common.items.modular.weapon.primary.axe.greataxe', 6, 5, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bloodsteel_axe-1', 'common.items.modular.weapon.secondary.axe.long', 7, 5, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bloodsteel_axe-1', 'common.items.mineral.ingot.bloodsteel', 8, 6, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bloodsteel_axe-2', 'veloren.core.pseudo_items.modular.tool', 9, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bloodsteel_axe-2', 'common.items.modular.weapon.primary.axe.labrys', 10, 9, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bloodsteel_axe-2', 'common.items.modular.weapon.secondary.axe.long', 11, 9, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bloodsteel_axe-2', 'common.items.mineral.ingot.bloodsteel', 12, 10, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bronze_axe-0', 'veloren.core.pseudo_items.modular.tool', 13, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bronze_axe-0', 'common.items.modular.weapon.primary.axe.axe', 14, 13, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bronze_axe-0', 'common.items.modular.weapon.secondary.axe.long', 15, 13, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bronze_axe-0', 'common.items.mineral.ingot.bronze', 16, 14, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bronze_axe-1', 'veloren.core.pseudo_items.modular.tool', 17, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bronze_axe-1', 'common.items.modular.weapon.primary.axe.ornate', 18, 17, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bronze_axe-1', 'common.items.modular.weapon.secondary.axe.long', 19, 17, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bronze_axe-1', 'common.items.mineral.ingot.bronze', 20, 18, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bronze_axe-2', 'veloren.core.pseudo_items.modular.tool', 21, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bronze_axe-2', 'common.items.modular.weapon.primary.axe.battleaxe', 22, 21, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bronze_axe-2', 'common.items.modular.weapon.secondary.axe.long', 23, 21, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.bronze_axe-2', 'common.items.mineral.ingot.bronze', 24, 22, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.cobalt_axe-0', 'veloren.core.pseudo_items.modular.tool', 25, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.cobalt_axe-0', 'common.items.modular.weapon.primary.axe.axe', 26, 25, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.cobalt_axe-0', 'common.items.modular.weapon.secondary.axe.long', 27, 25, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.cobalt_axe-0', 'common.items.mineral.ingot.cobalt', 28, 26, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.cobalt_axe-1', 'veloren.core.pseudo_items.modular.tool', 29, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.cobalt_axe-1', 'common.items.modular.weapon.primary.axe.battleaxe', 30, 29, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.cobalt_axe-1', 'common.items.modular.weapon.secondary.axe.long', 31, 29, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.cobalt_axe-1', 'common.items.mineral.ingot.cobalt', 32, 30, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-0', 'veloren.core.pseudo_items.modular.tool', 33, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-0', 'common.items.modular.weapon.primary.axe.greataxe', 34, 33, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-0', 'common.items.modular.weapon.secondary.axe.long', 35, 33, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-0', 'common.items.mineral.ingot.iron', 36, 34, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-1', 'veloren.core.pseudo_items.modular.tool', 37, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-1', 'common.items.modular.weapon.primary.axe.ornate', 38, 37, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-1', 'common.items.modular.weapon.secondary.axe.long', 39, 37, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-1', 'common.items.mineral.ingot.iron', 40, 38, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-2', 'veloren.core.pseudo_items.modular.tool', 41, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-2', 'common.items.modular.weapon.primary.axe.jagged', 42, 41, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-2', 'common.items.modular.weapon.secondary.axe.long', 43, 41, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-2', 'common.items.mineral.ingot.iron', 44, 42, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-3', 'veloren.core.pseudo_items.modular.tool', 45, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-3', 'common.items.modular.weapon.primary.axe.battleaxe', 46, 45, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-3', 'common.items.modular.weapon.secondary.axe.long', 47, 45, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-3', 'common.items.mineral.ingot.iron', 48, 46, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-4', 'veloren.core.pseudo_items.modular.tool', 49, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-4', 'common.items.modular.weapon.primary.axe.battleaxe', 50, 49, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-4', 'common.items.modular.weapon.secondary.axe.long', 51, 49, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-4', 'common.items.mineral.ingot.iron', 52, 50, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-5', 'veloren.core.pseudo_items.modular.tool', 53, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-5', 'common.items.modular.weapon.primary.axe.greataxe', 54, 53, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-5', 'common.items.modular.weapon.secondary.axe.long', 55, 53, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-5', 'common.items.mineral.ingot.iron', 56, 54, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-6', 'veloren.core.pseudo_items.modular.tool', 57, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-6', 'common.items.modular.weapon.primary.axe.axe', 58, 57, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-6', 'common.items.modular.weapon.secondary.axe.long', 59, 57, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-6', 'common.items.mineral.ingot.iron', 60, 58, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-7', 'veloren.core.pseudo_items.modular.tool', 61, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-7', 'common.items.modular.weapon.primary.axe.labrys', 62, 61, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-7', 'common.items.modular.weapon.secondary.axe.long', 63, 61, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-7', 'common.items.mineral.ingot.iron', 64, 62, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-8', 'veloren.core.pseudo_items.modular.tool', 65, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-8', 'common.items.modular.weapon.primary.axe.jagged', 66, 65, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-8', 'common.items.modular.weapon.secondary.axe.long', 67, 65, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-8', 'common.items.mineral.ingot.iron', 68, 66, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-9', 'veloren.core.pseudo_items.modular.tool', 69, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-9', 'common.items.modular.weapon.primary.axe.axe', 70, 69, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-9', 'common.items.modular.weapon.secondary.axe.long', 71, 69, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.iron_axe-9', 'common.items.mineral.ingot.iron', 72, 70, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.orc_axe-0', 'veloren.core.pseudo_items.modular.tool', 73, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.orc_axe-0', 'common.items.modular.weapon.primary.axe.poleaxe', 74, 73, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.orc_axe-0', 'common.items.modular.weapon.secondary.axe.long', 75, 73, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.orc_axe-0', 'common.items.mineral.ingot.bronze', 76, 74, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-0', 'veloren.core.pseudo_items.modular.tool', 77, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-0', 'common.items.modular.weapon.primary.axe.battleaxe', 78, 77, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-0', 'common.items.modular.weapon.secondary.axe.long', 79, 77, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-0', 'common.items.mineral.ingot.steel', 80, 78, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-1', 'veloren.core.pseudo_items.modular.tool', 81, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-1', 'common.items.modular.weapon.primary.axe.labrys', 82, 81, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-1', 'common.items.modular.weapon.secondary.axe.long', 83, 81, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-1', 'common.items.mineral.ingot.steel', 84, 82, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-2', 'veloren.core.pseudo_items.modular.tool', 85, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-2', 'common.items.modular.weapon.primary.axe.axe', 86, 85, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-2', 'common.items.modular.weapon.secondary.axe.long', 87, 85, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-2', 'common.items.mineral.ingot.steel', 88, 86, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-3', 'veloren.core.pseudo_items.modular.tool', 89, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-3', 'common.items.modular.weapon.primary.axe.poleaxe', 90, 89, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-3', 'common.items.modular.weapon.secondary.axe.long', 91, 89, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-3', 'common.items.mineral.ingot.steel', 92, 90, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-4', 'veloren.core.pseudo_items.modular.tool', 93, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-4', 'common.items.modular.weapon.primary.axe.ornate', 94, 93, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-4', 'common.items.modular.weapon.secondary.axe.long', 95, 93, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-4', 'common.items.mineral.ingot.steel', 96, 94, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-5', 'veloren.core.pseudo_items.modular.tool', 97, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-5', 'common.items.modular.weapon.primary.axe.ornate', 98, 97, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-5', 'common.items.modular.weapon.secondary.axe.long', 99, 97, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-5', 'common.items.mineral.ingot.steel', 100, 98, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-6', 'veloren.core.pseudo_items.modular.tool', 101, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-6', 'common.items.modular.weapon.primary.axe.jagged', 102, 101, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-6', 'common.items.modular.weapon.secondary.axe.long', 103, 101, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe.steel_axe-6', 'common.items.mineral.ingot.steel', 104, 102, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bloodsteel-0', 'veloren.core.pseudo_items.modular.tool', 105, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bloodsteel-0', 'common.items.modular.weapon.primary.sword.ornate', 106, 105, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bloodsteel-0', 'common.items.modular.weapon.secondary.sword.short', 107, 105, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bloodsteel-0', 'common.items.mineral.ingot.bloodsteel', 108, 106, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bloodsteel-1', 'veloren.core.pseudo_items.modular.tool', 109, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bloodsteel-1', 'common.items.modular.weapon.primary.sword.longsword', 110, 109, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bloodsteel-1', 'common.items.modular.weapon.secondary.sword.short', 111, 109, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bloodsteel-1', 'common.items.mineral.ingot.bloodsteel', 112, 110, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bloodsteel-2', 'veloren.core.pseudo_items.modular.tool', 113, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bloodsteel-2', 'common.items.modular.weapon.primary.sword.sawblade', 114, 113, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bloodsteel-2', 'common.items.modular.weapon.secondary.sword.short', 115, 113, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bloodsteel-2', 'common.items.mineral.ingot.bloodsteel', 116, 114, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bronze-0', 'veloren.core.pseudo_items.modular.tool', 117, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bronze-0', 'common.items.modular.weapon.primary.sword.katana', 118, 117, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bronze-0', 'common.items.modular.weapon.secondary.sword.short', 119, 117, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bronze-0', 'common.items.mineral.ingot.bronze', 120, 118, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bronze-1', 'veloren.core.pseudo_items.modular.tool', 121, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bronze-1', 'common.items.modular.weapon.primary.sword.longsword', 122, 121, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bronze-1', 'common.items.modular.weapon.secondary.sword.short', 123, 121, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bronze-1', 'common.items.mineral.ingot.bronze', 124, 122, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bronze-2', 'veloren.core.pseudo_items.modular.tool', 125, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bronze-2', 'common.items.modular.weapon.primary.sword.sawblade', 126, 125, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bronze-2', 'common.items.modular.weapon.secondary.sword.short', 127, 125, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.bronze-2', 'common.items.mineral.ingot.bronze', 128, 126, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.cobalt-0', 'veloren.core.pseudo_items.modular.tool', 129, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.cobalt-0', 'common.items.modular.weapon.primary.sword.longsword', 130, 129, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.cobalt-0', 'common.items.modular.weapon.secondary.sword.short', 131, 129, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.cobalt-0', 'common.items.mineral.ingot.cobalt', 132, 130, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.cobalt-1', 'veloren.core.pseudo_items.modular.tool', 133, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.cobalt-1', 'common.items.modular.weapon.primary.sword.ornate', 134, 133, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.cobalt-1', 'common.items.modular.weapon.secondary.sword.short', 135, 133, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.cobalt-1', 'common.items.mineral.ingot.cobalt', 136, 134, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.cobalt-2', 'veloren.core.pseudo_items.modular.tool', 137, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.cobalt-2', 'common.items.modular.weapon.primary.sword.sabre', 138, 137, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.cobalt-2', 'common.items.modular.weapon.secondary.sword.short', 139, 137, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.cobalt-2', 'common.items.mineral.ingot.cobalt', 140, 138, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.cobalt-3', 'veloren.core.pseudo_items.modular.tool', 141, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.cobalt-3', 'common.items.modular.weapon.primary.sword.sawblade', 142, 141, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.cobalt-3', 'common.items.modular.weapon.secondary.sword.short', 143, 141, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.cobalt-3', 'common.items.mineral.ingot.cobalt', 144, 142, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.iron-0', 'veloren.core.pseudo_items.modular.tool', 145, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.iron-0', 'common.items.modular.weapon.primary.sword.sawblade', 146, 145, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.iron-0', 'common.items.modular.weapon.secondary.sword.short', 147, 145, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.iron-0', 'common.items.mineral.ingot.iron', 148, 146, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.iron-1', 'veloren.core.pseudo_items.modular.tool', 149, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.iron-1', 'common.items.modular.weapon.primary.sword.katana', 150, 149, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.iron-1', 'common.items.modular.weapon.secondary.sword.short', 151, 149, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.iron-1', 'common.items.mineral.ingot.iron', 152, 150, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.iron-2', 'veloren.core.pseudo_items.modular.tool', 153, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.iron-2', 'common.items.modular.weapon.primary.sword.sabre', 154, 153, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.iron-2', 'common.items.modular.weapon.secondary.sword.short', 155, 153, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.iron-2', 'common.items.mineral.ingot.iron', 156, 154, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.iron-3', 'veloren.core.pseudo_items.modular.tool', 157, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.iron-3', 'common.items.modular.weapon.primary.sword.ornate', 158, 157, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.iron-3', 'common.items.modular.weapon.secondary.sword.short', 159, 157, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.iron-3', 'common.items.mineral.ingot.iron', 160, 158, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.iron-4', 'veloren.core.pseudo_items.modular.tool', 161, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.iron-4', 'common.items.modular.weapon.primary.sword.longsword', 162, 161, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.iron-4', 'common.items.modular.weapon.secondary.sword.short', 163, 161, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.iron-4', 'common.items.mineral.ingot.iron', 164, 162, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.obsidian-0', 'veloren.core.pseudo_items.modular.tool', 165, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.obsidian-0', 'common.items.modular.weapon.primary.sword.longsword', 166, 165, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.obsidian-0', 'common.items.modular.weapon.secondary.sword.short', 167, 165, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.obsidian-0', 'common.items.mineral.ingot.bloodsteel', 168, 166, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.orichalcum-0', 'veloren.core.pseudo_items.modular.tool', 169, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.orichalcum-0', 'common.items.modular.weapon.primary.sword.sabre', 170, 169, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.orichalcum-0', 'common.items.modular.weapon.secondary.sword.short', 171, 169, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.orichalcum-0', 'common.items.mineral.ingot.orichalcum', 172, 170, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.orichalcum-1', 'veloren.core.pseudo_items.modular.tool', 173, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.orichalcum-1', 'common.items.modular.weapon.primary.sword.longsword', 174, 173, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.orichalcum-1', 'common.items.modular.weapon.secondary.sword.short', 175, 173, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.orichalcum-1', 'common.items.mineral.ingot.orichalcum', 176, 174, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.steel-0', 'veloren.core.pseudo_items.modular.tool', 177, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.steel-0', 'common.items.modular.weapon.primary.sword.sabre', 178, 177, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.steel-0', 'common.items.modular.weapon.secondary.sword.short', 179, 177, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.steel-0', 'common.items.mineral.ingot.steel', 180, 178, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.steel-1', 'veloren.core.pseudo_items.modular.tool', 181, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.steel-1', 'common.items.modular.weapon.primary.sword.sabre', 182, 181, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.steel-1', 'common.items.modular.weapon.secondary.sword.short', 183, 181, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.steel-1', 'common.items.mineral.ingot.steel', 184, 182, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.steel-2', 'veloren.core.pseudo_items.modular.tool', 185, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.steel-2', 'common.items.modular.weapon.primary.sword.ornate', 186, 185, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.steel-2', 'common.items.modular.weapon.secondary.sword.short', 187, 185, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.steel-2', 'common.items.mineral.ingot.steel', 188, 186, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.steel-3', 'veloren.core.pseudo_items.modular.tool', 189, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.steel-3', 'common.items.modular.weapon.primary.sword.katana', 190, 189, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.steel-3', 'common.items.modular.weapon.secondary.sword.short', 191, 189, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword_1h.steel-3', 'common.items.mineral.ingot.steel', 192, 190, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bloodsteel-0', 'veloren.core.pseudo_items.modular.tool', 193, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bloodsteel-0', 'common.items.modular.weapon.primary.sword.zweihander', 194, 193, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bloodsteel-0', 'common.items.modular.weapon.secondary.sword.long', 195, 193, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bloodsteel-0', 'common.items.mineral.ingot.bloodsteel', 196, 194, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bloodsteel-1', 'veloren.core.pseudo_items.modular.tool', 197, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bloodsteel-1', 'common.items.modular.weapon.primary.sword.katana', 198, 197, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bloodsteel-1', 'common.items.modular.weapon.secondary.sword.long', 199, 197, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bloodsteel-1', 'common.items.mineral.ingot.bloodsteel', 200, 198, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bloodsteel-2', 'veloren.core.pseudo_items.modular.tool', 201, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bloodsteel-2', 'common.items.modular.weapon.primary.sword.sawblade', 202, 201, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bloodsteel-2', 'common.items.modular.weapon.secondary.sword.long', 203, 201, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bloodsteel-2', 'common.items.mineral.ingot.bloodsteel', 204, 202, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bronze-0', 'veloren.core.pseudo_items.modular.tool', 205, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bronze-0', 'common.items.modular.weapon.primary.sword.greatsword', 206, 205, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bronze-0', 'common.items.modular.weapon.secondary.sword.long', 207, 205, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bronze-0', 'common.items.mineral.ingot.bronze', 208, 206, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bronze-1', 'veloren.core.pseudo_items.modular.tool', 209, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bronze-1', 'common.items.modular.weapon.primary.sword.longsword', 210, 209, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bronze-1', 'common.items.modular.weapon.secondary.sword.long', 211, 209, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bronze-1', 'common.items.mineral.ingot.bronze', 212, 210, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bronze-2', 'veloren.core.pseudo_items.modular.tool', 213, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bronze-2', 'common.items.modular.weapon.primary.sword.sawblade', 214, 213, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bronze-2', 'common.items.modular.weapon.secondary.sword.long', 215, 213, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.bronze-2', 'common.items.mineral.ingot.bronze', 216, 214, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.cobalt-0', 'veloren.core.pseudo_items.modular.tool', 217, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.cobalt-0', 'common.items.modular.weapon.primary.sword.zweihander', 218, 217, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.cobalt-0', 'common.items.modular.weapon.secondary.sword.long', 219, 217, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.cobalt-0', 'common.items.mineral.ingot.cobalt', 220, 218, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.cobalt-1', 'veloren.core.pseudo_items.modular.tool', 221, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.cobalt-1', 'common.items.modular.weapon.primary.sword.greatsword', 222, 221, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.cobalt-1', 'common.items.modular.weapon.secondary.sword.long', 223, 221, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.cobalt-1', 'common.items.mineral.ingot.cobalt', 224, 222, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.cobalt-2', 'veloren.core.pseudo_items.modular.tool', 225, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.cobalt-2', 'common.items.modular.weapon.primary.sword.longsword', 226, 225, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.cobalt-2', 'common.items.modular.weapon.secondary.sword.long', 227, 225, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.cobalt-2', 'common.items.mineral.ingot.cobalt', 228, 226, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.cobalt-3', 'veloren.core.pseudo_items.modular.tool', 229, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.cobalt-3', 'common.items.modular.weapon.primary.sword.sawblade', 230, 229, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.cobalt-3', 'common.items.modular.weapon.secondary.sword.long', 231, 229, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.cobalt-3', 'common.items.mineral.ingot.cobalt', 232, 230, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-0', 'veloren.core.pseudo_items.modular.tool', 233, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-0', 'common.items.modular.weapon.primary.sword.sabre', 234, 233, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-0', 'common.items.modular.weapon.secondary.sword.long', 235, 233, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-0', 'common.items.mineral.ingot.iron', 236, 234, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-1', 'veloren.core.pseudo_items.modular.tool', 237, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-1', 'common.items.modular.weapon.primary.sword.greatsword', 238, 237, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-1', 'common.items.modular.weapon.secondary.sword.long', 239, 237, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-1', 'common.items.mineral.ingot.iron', 240, 238, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-10', 'veloren.core.pseudo_items.modular.tool', 241, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-10', 'common.items.modular.weapon.primary.sword.greatsword', 242, 241, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-10', 'common.items.modular.weapon.secondary.sword.long', 243, 241, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-10', 'common.items.mineral.ingot.iron', 244, 242, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-2', 'veloren.core.pseudo_items.modular.tool', 245, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-2', 'common.items.modular.weapon.primary.sword.zweihander', 246, 245, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-2', 'common.items.modular.weapon.secondary.sword.long', 247, 245, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-2', 'common.items.mineral.ingot.iron', 248, 246, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-3', 'veloren.core.pseudo_items.modular.tool', 249, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-3', 'common.items.modular.weapon.primary.sword.zweihander', 250, 249, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-3', 'common.items.modular.weapon.secondary.sword.long', 251, 249, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-3', 'common.items.mineral.ingot.iron', 252, 250, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-4', 'veloren.core.pseudo_items.modular.tool', 253, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-4', 'common.items.modular.weapon.primary.sword.greatsword', 254, 253, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-4', 'common.items.modular.weapon.secondary.sword.long', 255, 253, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-4', 'common.items.mineral.ingot.iron', 256, 254, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-5', 'veloren.core.pseudo_items.modular.tool', 257, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-5', 'common.items.modular.weapon.primary.sword.longsword', 258, 257, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-5', 'common.items.modular.weapon.secondary.sword.long', 259, 257, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-5', 'common.items.mineral.ingot.iron', 260, 258, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-6', 'veloren.core.pseudo_items.modular.tool', 261, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-6', 'common.items.modular.weapon.primary.sword.zweihander', 262, 261, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-6', 'common.items.modular.weapon.secondary.sword.long', 263, 261, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-6', 'common.items.mineral.ingot.iron', 264, 262, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-7', 'veloren.core.pseudo_items.modular.tool', 265, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-7', 'common.items.modular.weapon.primary.sword.greatsword', 266, 265, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-7', 'common.items.modular.weapon.secondary.sword.long', 267, 265, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-7', 'common.items.mineral.ingot.iron', 268, 266, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-8', 'veloren.core.pseudo_items.modular.tool', 269, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-8', 'common.items.modular.weapon.primary.sword.ornate', 270, 269, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-8', 'common.items.modular.weapon.secondary.sword.long', 271, 269, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-8', 'common.items.mineral.ingot.iron', 272, 270, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-9', 'veloren.core.pseudo_items.modular.tool', 273, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-9', 'common.items.modular.weapon.primary.sword.katana', 274, 273, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-9', 'common.items.modular.weapon.secondary.sword.long', 275, 273, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.iron-9', 'common.items.mineral.ingot.iron', 276, 274, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-0', 'veloren.core.pseudo_items.modular.tool', 277, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-0', 'common.items.modular.weapon.primary.sword.ornate', 278, 277, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-0', 'common.items.modular.weapon.secondary.sword.long', 279, 277, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-0', 'common.items.mineral.ingot.steel', 280, 278, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-1', 'veloren.core.pseudo_items.modular.tool', 281, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-1', 'common.items.modular.weapon.primary.sword.sabre', 282, 281, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-1', 'common.items.modular.weapon.secondary.sword.long', 283, 281, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-1', 'common.items.mineral.ingot.steel', 284, 282, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-2', 'veloren.core.pseudo_items.modular.tool', 285, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-2', 'common.items.modular.weapon.primary.sword.ornate', 286, 285, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-2', 'common.items.modular.weapon.secondary.sword.long', 287, 285, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-2', 'common.items.mineral.ingot.steel', 288, 286, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-3', 'veloren.core.pseudo_items.modular.tool', 289, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-3', 'common.items.modular.weapon.primary.sword.sawblade', 290, 289, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-3', 'common.items.modular.weapon.secondary.sword.long', 291, 289, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-3', 'common.items.mineral.ingot.steel', 292, 290, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-4', 'veloren.core.pseudo_items.modular.tool', 293, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-4', 'common.items.modular.weapon.primary.sword.greatsword', 294, 293, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-4', 'common.items.modular.weapon.secondary.sword.long', 295, 293, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-4', 'common.items.mineral.ingot.steel', 296, 294, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-5', 'veloren.core.pseudo_items.modular.tool', 297, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-5', 'common.items.modular.weapon.primary.sword.katana', 298, 297, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-5', 'common.items.modular.weapon.secondary.sword.long', 299, 297, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-5', 'common.items.mineral.ingot.steel', 300, 298, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-6', 'veloren.core.pseudo_items.modular.tool', 301, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-6', 'common.items.modular.weapon.primary.sword.longsword', 302, 301, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-6', 'common.items.modular.weapon.secondary.sword.long', 303, 301, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-6', 'common.items.mineral.ingot.steel', 304, 302, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-7', 'veloren.core.pseudo_items.modular.tool', 305, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-7', 'common.items.modular.weapon.primary.sword.sawblade', 306, 305, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-7', 'common.items.modular.weapon.secondary.sword.long', 307, 305, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-7', 'common.items.mineral.ingot.steel', 308, 306, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-8', 'veloren.core.pseudo_items.modular.tool', 309, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-8', 'common.items.modular.weapon.primary.sword.zweihander', 310, 309, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-8', 'common.items.modular.weapon.secondary.sword.long', 311, 309, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.steel-8', 'common.items.mineral.ingot.steel', 312, 310, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.stone-0', 'veloren.core.pseudo_items.modular.tool', 313, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.stone-0', 'common.items.modular.weapon.primary.sword.greatsword', 314, 313, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.stone-0', 'common.items.modular.weapon.secondary.sword.long', 315, 313, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.stone-0', 'common.items.mineral.ingot.bronze', 316, 314, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.stone-1', 'veloren.core.pseudo_items.modular.tool', 317, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.stone-1', 'common.items.modular.weapon.primary.sword.longsword', 318, 317, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.stone-1', 'common.items.modular.weapon.secondary.sword.long', 319, 317, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.stone-1', 'common.items.mineral.ingot.bronze', 320, 318, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.stone-2', 'veloren.core.pseudo_items.modular.tool', 321, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.stone-2', 'common.items.modular.weapon.primary.sword.greatsword', 322, 321, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.stone-2', 'common.items.modular.weapon.secondary.sword.long', 323, 321, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.stone-2', 'common.items.mineral.ingot.bronze', 324, 322, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.wood-0', 'veloren.core.pseudo_items.modular.tool', 325, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.wood-0', 'common.items.modular.weapon.primary.sword.longsword', 326, 325, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.wood-0', 'common.items.modular.weapon.secondary.sword.long', 327, 325, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.wood-0', 'common.items.mineral.ingot.bronze', 328, 326, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.wood-1', 'veloren.core.pseudo_items.modular.tool', 329, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.wood-1', 'common.items.modular.weapon.primary.sword.greatsword', 330, 329, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.wood-1', 'common.items.modular.weapon.secondary.sword.long', 331, 329, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.wood-1', 'common.items.mineral.ingot.bronze', 332, 330, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.wood-2', 'veloren.core.pseudo_items.modular.tool', 333, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.wood-2', 'common.items.modular.weapon.primary.sword.longsword', 334, 333, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.wood-2', 'common.items.modular.weapon.secondary.sword.long', 335, 333, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sword.wood-2', 'common.items.mineral.ingot.bronze', 336, 334, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.aurora', 'veloren.core.pseudo_items.modular.tool', 337, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.aurora', 'common.items.modular.weapon.secondary.staff.medium', 338, 337, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.aurora', 'common.items.modular.weapon.primary.staff.grandstaff', 339, 337, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.aurora', 'common.items.log.frostwood', 340, 339, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.bent_fuse', 'veloren.core.pseudo_items.modular.tool', 341, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.bent_fuse', 'common.items.modular.weapon.secondary.staff.medium', 342, 341, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.bent_fuse', 'common.items.modular.weapon.primary.staff.brand', 343, 341, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.bent_fuse', 'common.items.log.wood', 344, 343, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.bone_staff', 'veloren.core.pseudo_items.modular.tool', 345, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.bone_staff', 'common.items.modular.weapon.secondary.staff.medium', 346, 345, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.bone_staff', 'common.items.modular.weapon.primary.staff.pole', 347, 345, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.bone_staff', 'common.items.log.bamboo', 348, 347, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.crimson_eye', 'veloren.core.pseudo_items.modular.tool', 349, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.crimson_eye', 'common.items.modular.weapon.secondary.staff.medium', 350, 349, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.crimson_eye', 'common.items.modular.weapon.primary.staff.rod', 351, 349, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.crimson_eye', 'common.items.log.wood', 352, 351, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.dragon_tongue', 'veloren.core.pseudo_items.modular.tool', 353, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.dragon_tongue', 'common.items.modular.weapon.secondary.staff.medium', 354, 353, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.dragon_tongue', 'common.items.modular.weapon.primary.staff.rod', 355, 353, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.dragon_tongue', 'common.items.log.eldwood', 356, 355, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.fiery_wishing_rod', 'veloren.core.pseudo_items.modular.tool', 357, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.fiery_wishing_rod', 'common.items.modular.weapon.secondary.staff.medium', 358, 357, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.fiery_wishing_rod', 'common.items.modular.weapon.primary.staff.pole', 359, 357, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.fiery_wishing_rod', 'common.items.log.bamboo', 360, 359, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.flamethrower_0', 'veloren.core.pseudo_items.modular.tool', 361, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.flamethrower_0', 'common.items.modular.weapon.secondary.staff.medium', 362, 361, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.flamethrower_0', 'common.items.modular.weapon.primary.staff.staff', 363, 361, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.flamethrower_0', 'common.items.log.ironwood', 364, 363, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.frostwood_torch', 'veloren.core.pseudo_items.modular.tool', 365, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.frostwood_torch', 'common.items.modular.weapon.secondary.staff.medium', 366, 365, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.frostwood_torch', 'common.items.modular.weapon.primary.staff.staff', 367, 365, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.frostwood_torch', 'common.items.log.frostwood', 368, 367, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.golden_khakkara', 'veloren.core.pseudo_items.modular.tool', 369, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.golden_khakkara', 'common.items.modular.weapon.secondary.staff.medium', 370, 369, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.golden_khakkara', 'common.items.modular.weapon.primary.staff.ornate', 371, 369, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.golden_khakkara', 'common.items.log.ironwood', 372, 371, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.heated_arm', 'veloren.core.pseudo_items.modular.tool', 373, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.heated_arm', 'common.items.modular.weapon.secondary.staff.medium', 374, 373, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.heated_arm', 'common.items.modular.weapon.primary.staff.staff', 375, 373, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.heated_arm', 'common.items.log.hardwood', 376, 375, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.infused_tower', 'veloren.core.pseudo_items.modular.tool', 377, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.infused_tower', 'common.items.modular.weapon.secondary.staff.medium', 378, 377, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.infused_tower', 'common.items.modular.weapon.primary.staff.pole', 379, 377, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.infused_tower', 'common.items.log.hardwood', 380, 379, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.lava_rod', 'veloren.core.pseudo_items.modular.tool', 381, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.lava_rod', 'common.items.modular.weapon.secondary.staff.medium', 382, 381, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.lava_rod', 'common.items.modular.weapon.primary.staff.pole', 383, 381, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.lava_rod', 'common.items.log.hardwood', 384, 383, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.ley_seeker', 'veloren.core.pseudo_items.modular.tool', 385, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.ley_seeker', 'common.items.modular.weapon.secondary.staff.medium', 386, 385, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.ley_seeker', 'common.items.modular.weapon.primary.staff.brand', 387, 385, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.ley_seeker', 'common.items.log.bamboo', 388, 387, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.orc_iron', 'veloren.core.pseudo_items.modular.tool', 389, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.orc_iron', 'common.items.modular.weapon.secondary.staff.medium', 390, 389, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.orc_iron', 'common.items.modular.weapon.primary.staff.longpole', 391, 389, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.orc_iron', 'common.items.log.ironwood', 392, 391, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.ruby_rod', 'veloren.core.pseudo_items.modular.tool', 393, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.ruby_rod', 'common.items.modular.weapon.secondary.staff.medium', 394, 393, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.ruby_rod', 'common.items.modular.weapon.primary.staff.ornate', 395, 393, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.ruby_rod', 'common.items.log.eldwood', 396, 395, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.solar', 'veloren.core.pseudo_items.modular.tool', 397, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.solar', 'common.items.modular.weapon.secondary.staff.medium', 398, 397, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.solar', 'common.items.modular.weapon.primary.staff.rod', 399, 397, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.solar', 'common.items.log.hardwood', 400, 399, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.coralline_cane', 'veloren.core.pseudo_items.modular.tool', 401, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.coralline_cane', 'common.items.modular.weapon.secondary.sceptre.medium', 402, 401, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.coralline_cane', 'common.items.modular.weapon.primary.sceptre.sceptre', 403, 401, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.coralline_cane', 'common.items.log.ironwood', 404, 403, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.divine_gohei', 'veloren.core.pseudo_items.modular.tool', 405, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.divine_gohei', 'common.items.modular.weapon.secondary.sceptre.medium', 406, 405, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.divine_gohei', 'common.items.modular.weapon.primary.sceptre.cane', 407, 405, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.divine_gohei', 'common.items.log.bamboo', 408, 407, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.druids_arbor', 'veloren.core.pseudo_items.modular.tool', 409, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.druids_arbor', 'common.items.modular.weapon.secondary.sceptre.medium', 410, 409, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.druids_arbor', 'common.items.modular.weapon.primary.sceptre.arbor', 411, 409, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.druids_arbor', 'common.items.log.hardwood', 412, 411, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.emerald', 'veloren.core.pseudo_items.modular.tool', 413, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.emerald', 'common.items.modular.weapon.secondary.sceptre.medium', 414, 413, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.emerald', 'common.items.modular.weapon.primary.sceptre.ornate', 415, 413, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.emerald', 'common.items.log.eldwood', 416, 415, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.fork0', 'veloren.core.pseudo_items.modular.tool', 417, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.fork0', 'common.items.modular.weapon.secondary.sceptre.medium', 418, 417, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.fork0', 'common.items.modular.weapon.primary.sceptre.crook', 419, 417, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.fork0', 'common.items.log.frostwood', 420, 419, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.loops0', 'veloren.core.pseudo_items.modular.tool', 421, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.loops0', 'common.items.modular.weapon.secondary.sceptre.medium', 422, 421, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.loops0', 'common.items.modular.weapon.primary.sceptre.grandsceptre', 423, 421, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.loops0', 'common.items.log.frostwood', 424, 423, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.moon0', 'veloren.core.pseudo_items.modular.tool', 425, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.moon0', 'common.items.modular.weapon.secondary.sceptre.medium', 426, 425, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.moon0', 'common.items.modular.weapon.primary.sceptre.crozier', 427, 425, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.moon0', 'common.items.log.ironwood', 428, 427, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.root_green0', 'veloren.core.pseudo_items.modular.tool', 429, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.root_green0', 'common.items.modular.weapon.secondary.sceptre.medium', 430, 429, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.root_green0', 'common.items.modular.weapon.primary.sceptre.crozier', 431, 429, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.root_green0', 'common.items.log.bamboo', 432, 431, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.staff_nature', 'veloren.core.pseudo_items.modular.tool', 433, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.staff_nature', 'common.items.modular.weapon.secondary.sceptre.medium', 434, 433, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.staff_nature', 'common.items.modular.weapon.primary.sceptre.sceptre', 435, 433, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.staff_nature', 'common.items.log.hardwood', 436, 435, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.totem_green', 'veloren.core.pseudo_items.modular.tool', 437, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.totem_green', 'common.items.modular.weapon.secondary.sceptre.medium', 438, 437, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.totem_green', 'common.items.modular.weapon.primary.sceptre.ornate', 439, 437, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.sceptre.totem_green', 'common.items.log.ironwood', 440, 439, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.bronze_hammer-0', 'veloren.core.pseudo_items.modular.tool', 441, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.bronze_hammer-0', 'common.items.modular.weapon.primary.hammer.hammer', 442, 441, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.bronze_hammer-0', 'common.items.modular.weapon.secondary.hammer.long', 443, 441, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.bronze_hammer-0', 'common.items.mineral.ingot.bronze', 444, 442, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.bronze_hammer-1', 'veloren.core.pseudo_items.modular.tool', 445, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.bronze_hammer-1', 'common.items.modular.weapon.primary.hammer.greatmace', 446, 445, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.bronze_hammer-1', 'common.items.modular.weapon.secondary.hammer.long', 447, 445, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.bronze_hammer-1', 'common.items.mineral.ingot.bronze', 448, 446, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.cobalt_hammer-0', 'veloren.core.pseudo_items.modular.tool', 449, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.cobalt_hammer-0', 'common.items.modular.weapon.primary.hammer.hammer', 450, 449, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.cobalt_hammer-0', 'common.items.modular.weapon.secondary.hammer.long', 451, 449, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.cobalt_hammer-0', 'common.items.mineral.ingot.cobalt', 452, 450, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.cobalt_hammer-1', 'veloren.core.pseudo_items.modular.tool', 453, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.cobalt_hammer-1', 'common.items.modular.weapon.primary.hammer.greatmace', 454, 453, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.cobalt_hammer-1', 'common.items.modular.weapon.secondary.hammer.long', 455, 453, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.cobalt_hammer-1', 'common.items.mineral.ingot.cobalt', 456, 454, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-0', 'veloren.core.pseudo_items.modular.tool', 457, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-0', 'common.items.modular.weapon.primary.hammer.hammer', 458, 457, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-0', 'common.items.modular.weapon.secondary.hammer.long', 459, 457, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-0', 'common.items.mineral.ingot.iron', 460, 458, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-1', 'veloren.core.pseudo_items.modular.tool', 461, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-1', 'common.items.modular.weapon.primary.hammer.greathammer', 462, 461, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-1', 'common.items.modular.weapon.secondary.hammer.long', 463, 461, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-1', 'common.items.mineral.ingot.iron', 464, 462, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-2', 'veloren.core.pseudo_items.modular.tool', 465, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-2', 'common.items.modular.weapon.primary.hammer.greatmace', 466, 465, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-2', 'common.items.modular.weapon.secondary.hammer.long', 467, 465, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-2', 'common.items.mineral.ingot.iron', 468, 466, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-3', 'veloren.core.pseudo_items.modular.tool', 469, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-3', 'common.items.modular.weapon.primary.hammer.spikedmace', 470, 469, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-3', 'common.items.modular.weapon.secondary.hammer.long', 471, 469, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-3', 'common.items.mineral.ingot.iron', 472, 470, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-4', 'veloren.core.pseudo_items.modular.tool', 473, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-4', 'common.items.modular.weapon.primary.hammer.warhammer', 474, 473, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-4', 'common.items.modular.weapon.secondary.hammer.long', 475, 473, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-4', 'common.items.mineral.ingot.iron', 476, 474, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-5', 'veloren.core.pseudo_items.modular.tool', 477, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-5', 'common.items.modular.weapon.primary.hammer.maul', 478, 477, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-5', 'common.items.modular.weapon.secondary.hammer.long', 479, 477, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-5', 'common.items.mineral.ingot.iron', 480, 478, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-6', 'veloren.core.pseudo_items.modular.tool', 481, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-6', 'common.items.modular.weapon.primary.hammer.maul', 482, 481, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-6', 'common.items.modular.weapon.secondary.hammer.long', 483, 481, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-6', 'common.items.mineral.ingot.iron', 484, 482, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-7', 'veloren.core.pseudo_items.modular.tool', 485, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-7', 'common.items.modular.weapon.primary.hammer.greathammer', 486, 485, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-7', 'common.items.modular.weapon.secondary.hammer.long', 487, 485, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-7', 'common.items.mineral.ingot.iron', 488, 486, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-8', 'veloren.core.pseudo_items.modular.tool', 489, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-8', 'common.items.modular.weapon.primary.hammer.maul', 490, 489, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-8', 'common.items.modular.weapon.secondary.hammer.long', 491, 489, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.iron_hammer-8', 'common.items.mineral.ingot.iron', 492, 490, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.ramshead_hammer', 'veloren.core.pseudo_items.modular.tool', 493, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.ramshead_hammer', 'common.items.modular.weapon.primary.hammer.greatmace', 494, 493, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.ramshead_hammer', 'common.items.modular.weapon.secondary.hammer.long', 495, 493, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.ramshead_hammer', 'common.items.mineral.ingot.bloodsteel', 496, 494, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.runic_hammer', 'veloren.core.pseudo_items.modular.tool', 497, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.runic_hammer', 'common.items.modular.weapon.primary.hammer.ornate', 498, 497, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.runic_hammer', 'common.items.modular.weapon.secondary.hammer.long', 499, 497, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.runic_hammer', 'common.items.mineral.ingot.bloodsteel', 500, 498, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-0', 'veloren.core.pseudo_items.modular.tool', 501, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-0', 'common.items.modular.weapon.primary.hammer.hammer', 502, 501, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-0', 'common.items.modular.weapon.secondary.hammer.long', 503, 501, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-0', 'common.items.mineral.ingot.steel', 504, 502, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-1', 'veloren.core.pseudo_items.modular.tool', 505, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-1', 'common.items.modular.weapon.primary.hammer.greathammer', 506, 505, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-1', 'common.items.modular.weapon.secondary.hammer.long', 507, 505, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-1', 'common.items.mineral.ingot.steel', 508, 506, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-2', 'veloren.core.pseudo_items.modular.tool', 509, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-2', 'common.items.modular.weapon.primary.hammer.greatmace', 510, 509, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-2', 'common.items.modular.weapon.secondary.hammer.long', 511, 509, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-2', 'common.items.mineral.ingot.steel', 512, 510, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-3', 'veloren.core.pseudo_items.modular.tool', 513, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-3', 'common.items.modular.weapon.primary.hammer.spikedmace', 514, 513, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-3', 'common.items.modular.weapon.secondary.hammer.long', 515, 513, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-3', 'common.items.mineral.ingot.steel', 516, 514, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-4', 'veloren.core.pseudo_items.modular.tool', 517, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-4', 'common.items.modular.weapon.primary.hammer.greatmace', 518, 517, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-4', 'common.items.modular.weapon.secondary.hammer.long', 519, 517, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-4', 'common.items.mineral.ingot.steel', 520, 518, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-5', 'veloren.core.pseudo_items.modular.tool', 521, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-5', 'common.items.modular.weapon.primary.hammer.spikedmace', 522, 521, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-5', 'common.items.modular.weapon.secondary.hammer.long', 523, 521, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.steel_hammer-5', 'common.items.mineral.ingot.steel', 524, 522, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.stone_hammer-0', 'veloren.core.pseudo_items.modular.tool', 525, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.stone_hammer-0', 'common.items.modular.weapon.primary.hammer.greathammer', 526, 525, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.stone_hammer-0', 'common.items.modular.weapon.secondary.hammer.long', 527, 525, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.stone_hammer-0', 'common.items.mineral.ingot.bronze', 528, 526, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.stone_hammer-1', 'veloren.core.pseudo_items.modular.tool', 529, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.stone_hammer-1', 'common.items.modular.weapon.primary.hammer.greathammer', 530, 529, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.stone_hammer-1', 'common.items.modular.weapon.secondary.hammer.long', 531, 529, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.stone_hammer-1', 'common.items.mineral.ingot.bronze', 532, 530, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.stone_hammer-2', 'veloren.core.pseudo_items.modular.tool', 533, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.stone_hammer-2', 'common.items.modular.weapon.primary.hammer.maul', 534, 533, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.stone_hammer-2', 'common.items.modular.weapon.secondary.hammer.long', 535, 533, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.stone_hammer-2', 'common.items.mineral.ingot.bronze', 536, 534, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.stone_hammer-3', 'veloren.core.pseudo_items.modular.tool', 537, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.stone_hammer-3', 'common.items.modular.weapon.primary.hammer.greathammer', 538, 537, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.stone_hammer-3', 'common.items.modular.weapon.secondary.hammer.long', 539, 537, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.stone_hammer-3', 'common.items.mineral.ingot.bronze', 540, 538, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.wood_hammer-0', 'veloren.core.pseudo_items.modular.tool', 541, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.wood_hammer-0', 'common.items.modular.weapon.primary.hammer.hammer', 542, 541, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.wood_hammer-0', 'common.items.modular.weapon.secondary.hammer.long', 543, 541, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer.wood_hammer-0', 'common.items.mineral.ingot.bronze', 544, 542, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.bone-0', 'veloren.core.pseudo_items.modular.tool', 545, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.bone-0', 'common.items.modular.weapon.secondary.bow.medium', 546, 545, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.bone-0', 'common.items.modular.weapon.primary.bow.bow', 547, 545, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.bone-0', 'common.items.log.bamboo', 548, 547, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.bone-1', 'veloren.core.pseudo_items.modular.tool', 549, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.bone-1', 'common.items.modular.weapon.secondary.bow.medium', 550, 549, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.bone-1', 'common.items.modular.weapon.primary.bow.greatbow', 551, 549, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.bone-1', 'common.items.log.bamboo', 552, 551, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.bone-2', 'veloren.core.pseudo_items.modular.tool', 553, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.bone-2', 'common.items.modular.weapon.secondary.bow.medium', 554, 553, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.bone-2', 'common.items.modular.weapon.primary.bow.ornate', 555, 553, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.bone-2', 'common.items.log.bamboo', 556, 555, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.bone-3', 'veloren.core.pseudo_items.modular.tool', 557, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.bone-3', 'common.items.modular.weapon.secondary.bow.medium', 558, 557, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.bone-3', 'common.items.modular.weapon.primary.bow.composite', 559, 557, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.bone-3', 'common.items.log.bamboo', 560, 559, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.eldwood-0', 'veloren.core.pseudo_items.modular.tool', 561, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.eldwood-0', 'common.items.modular.weapon.secondary.bow.medium', 562, 561, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.eldwood-0', 'common.items.modular.weapon.primary.bow.bow', 563, 561, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.eldwood-0', 'common.items.log.eldwood', 564, 563, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.eldwood-1', 'veloren.core.pseudo_items.modular.tool', 565, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.eldwood-1', 'common.items.modular.weapon.secondary.bow.medium', 566, 565, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.eldwood-1', 'common.items.modular.weapon.primary.bow.warbow', 567, 565, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.eldwood-1', 'common.items.log.eldwood', 568, 567, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.eldwood-2', 'veloren.core.pseudo_items.modular.tool', 569, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.eldwood-2', 'common.items.modular.weapon.secondary.bow.medium', 570, 569, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.eldwood-2', 'common.items.modular.weapon.primary.bow.composite', 571, 569, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.eldwood-2', 'common.items.log.eldwood', 572, 571, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.frostwood-0', 'veloren.core.pseudo_items.modular.tool', 573, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.frostwood-0', 'common.items.modular.weapon.secondary.bow.medium', 574, 573, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.frostwood-0', 'common.items.modular.weapon.primary.bow.greatbow', 575, 573, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.frostwood-0', 'common.items.log.frostwood', 576, 575, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.frostwood-1', 'veloren.core.pseudo_items.modular.tool', 577, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.frostwood-1', 'common.items.modular.weapon.secondary.bow.medium', 578, 577, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.frostwood-1', 'common.items.modular.weapon.primary.bow.bow', 579, 577, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.frostwood-1', 'common.items.log.frostwood', 580, 579, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.frostwood-2', 'veloren.core.pseudo_items.modular.tool', 581, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.frostwood-2', 'common.items.modular.weapon.secondary.bow.medium', 582, 581, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.frostwood-2', 'common.items.modular.weapon.primary.bow.warbow', 583, 581, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.frostwood-2', 'common.items.log.frostwood', 584, 583, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-0', 'veloren.core.pseudo_items.modular.tool', 585, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-0', 'common.items.modular.weapon.secondary.bow.medium', 586, 585, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-0', 'common.items.modular.weapon.primary.bow.warbow', 587, 585, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-0', 'common.items.log.hardwood', 588, 587, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-1', 'veloren.core.pseudo_items.modular.tool', 589, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-1', 'common.items.modular.weapon.secondary.bow.medium', 590, 589, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-1', 'common.items.modular.weapon.primary.bow.composite', 591, 589, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-1', 'common.items.log.hardwood', 592, 591, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-2', 'veloren.core.pseudo_items.modular.tool', 593, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-2', 'common.items.modular.weapon.secondary.bow.medium', 594, 593, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-2', 'common.items.modular.weapon.primary.bow.ornate', 595, 593, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-2', 'common.items.log.hardwood', 596, 595, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-3', 'veloren.core.pseudo_items.modular.tool', 597, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-3', 'common.items.modular.weapon.secondary.bow.medium', 598, 597, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-3', 'common.items.modular.weapon.primary.bow.bow', 599, 597, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-3', 'common.items.log.hardwood', 600, 599, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-4', 'veloren.core.pseudo_items.modular.tool', 601, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-4', 'common.items.modular.weapon.secondary.bow.medium', 602, 601, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-4', 'common.items.modular.weapon.primary.bow.longbow', 603, 601, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-4', 'common.items.log.hardwood', 604, 603, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-5', 'veloren.core.pseudo_items.modular.tool', 605, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-5', 'common.items.modular.weapon.secondary.bow.medium', 606, 605, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-5', 'common.items.modular.weapon.primary.bow.greatbow', 607, 605, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.hardwood-5', 'common.items.log.hardwood', 608, 607, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.metal-0', 'veloren.core.pseudo_items.modular.tool', 609, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.metal-0', 'common.items.modular.weapon.secondary.bow.medium', 610, 609, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.metal-0', 'common.items.modular.weapon.primary.bow.greatbow', 611, 609, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.metal-0', 'common.items.log.ironwood', 612, 611, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.metal-1', 'veloren.core.pseudo_items.modular.tool', 613, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.metal-1', 'common.items.modular.weapon.secondary.bow.medium', 614, 613, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.metal-1', 'common.items.modular.weapon.primary.bow.composite', 615, 613, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.metal-1', 'common.items.log.ironwood', 616, 615, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.metal-2', 'veloren.core.pseudo_items.modular.tool', 617, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.metal-2', 'common.items.modular.weapon.secondary.bow.medium', 618, 617, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.metal-2', 'common.items.modular.weapon.primary.bow.bow', 619, 617, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.metal-2', 'common.items.log.ironwood', 620, 619, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.metal-3', 'veloren.core.pseudo_items.modular.tool', 621, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.metal-3', 'common.items.modular.weapon.secondary.bow.medium', 622, 621, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.metal-3', 'common.items.modular.weapon.primary.bow.warbow', 623, 621, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.metal-3', 'common.items.log.ironwood', 624, 623, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.metal-4', 'veloren.core.pseudo_items.modular.tool', 625, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.metal-4', 'common.items.modular.weapon.secondary.bow.medium', 626, 625, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.metal-4', 'common.items.modular.weapon.primary.bow.longbow', 627, 625, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.metal-4', 'common.items.log.ironwood', 628, 627, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.rawwood-0', 'veloren.core.pseudo_items.modular.tool', 629, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.rawwood-0', 'common.items.modular.weapon.secondary.bow.medium', 630, 629, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.rawwood-0', 'common.items.modular.weapon.primary.bow.greatbow', 631, 629, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.rawwood-0', 'common.items.log.wood', 632, 631, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.rawwood-1', 'veloren.core.pseudo_items.modular.tool', 633, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.rawwood-1', 'common.items.modular.weapon.secondary.bow.medium', 634, 633, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.rawwood-1', 'common.items.modular.weapon.primary.bow.longbow', 635, 633, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.rawwood-1', 'common.items.log.wood', 636, 635, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.wood-0', 'veloren.core.pseudo_items.modular.tool', 637, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.wood-0', 'common.items.modular.weapon.secondary.bow.medium', 638, 637, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.wood-0', 'common.items.modular.weapon.primary.bow.shortbow', 639, 637, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.wood-0', 'common.items.log.wood', 640, 639, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.wood-1', 'veloren.core.pseudo_items.modular.tool', 641, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.wood-1', 'common.items.modular.weapon.secondary.bow.medium', 642, 641, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.wood-1', 'common.items.modular.weapon.primary.bow.bow', 643, 641, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.wood-1', 'common.items.log.wood', 644, 643, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.wood-2', 'veloren.core.pseudo_items.modular.tool', 645, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.wood-2', 'common.items.modular.weapon.secondary.bow.medium', 646, 645, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.wood-2', 'common.items.modular.weapon.primary.bow.warbow', 647, 645, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.wood-2', 'common.items.log.wood', 648, 647, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.wood-3', 'veloren.core.pseudo_items.modular.tool', 649, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.wood-3', 'common.items.modular.weapon.secondary.bow.medium', 650, 649, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.wood-3', 'common.items.modular.weapon.primary.bow.longbow', 651, 649, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.wood-3', 'common.items.log.wood', 652, 651, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.wood-4', 'veloren.core.pseudo_items.modular.tool', 653, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.wood-4', 'common.items.modular.weapon.secondary.bow.medium', 654, 653, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.wood-4', 'common.items.modular.weapon.primary.bow.shortbow', 655, 653, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.bow.wood-4', 'common.items.log.wood', 656, 655, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.bloodsteel-0', 'veloren.core.pseudo_items.modular.tool', 657, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.bloodsteel-0', 'common.items.modular.weapon.primary.hammer.spikedmace', 658, 657, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.bloodsteel-0', 'common.items.modular.weapon.secondary.hammer.short', 659, 657, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.bloodsteel-0', 'common.items.mineral.ingot.bloodsteel', 660, 658, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.bloodsteel-1', 'veloren.core.pseudo_items.modular.tool', 661, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.bloodsteel-1', 'common.items.modular.weapon.primary.hammer.warhammer', 662, 661, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.bloodsteel-1', 'common.items.modular.weapon.secondary.hammer.short', 663, 661, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.bloodsteel-1', 'common.items.mineral.ingot.bloodsteel', 664, 662, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.bronze-0', 'veloren.core.pseudo_items.modular.tool', 665, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.bronze-0', 'common.items.modular.weapon.primary.hammer.warhammer', 666, 665, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.bronze-0', 'common.items.modular.weapon.secondary.hammer.short', 667, 665, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.bronze-0', 'common.items.mineral.ingot.bronze', 668, 666, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.bronze-1', 'veloren.core.pseudo_items.modular.tool', 669, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.bronze-1', 'common.items.modular.weapon.primary.hammer.hammer', 670, 669, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.bronze-1', 'common.items.modular.weapon.secondary.hammer.short', 671, 669, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.bronze-1', 'common.items.mineral.ingot.bronze', 672, 670, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.cobalt-0', 'veloren.core.pseudo_items.modular.tool', 673, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.cobalt-0', 'common.items.modular.weapon.primary.hammer.ornate', 674, 673, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.cobalt-0', 'common.items.modular.weapon.secondary.hammer.short', 675, 673, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.cobalt-0', 'common.items.mineral.ingot.cobalt', 676, 674, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.cobalt-1', 'veloren.core.pseudo_items.modular.tool', 677, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.cobalt-1', 'common.items.modular.weapon.primary.hammer.hammer', 678, 677, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.cobalt-1', 'common.items.modular.weapon.secondary.hammer.short', 679, 677, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.cobalt-1', 'common.items.mineral.ingot.cobalt', 680, 678, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.iron-0', 'veloren.core.pseudo_items.modular.tool', 681, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.iron-0', 'common.items.modular.weapon.primary.hammer.warhammer', 682, 681, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.iron-0', 'common.items.modular.weapon.secondary.hammer.short', 683, 681, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.iron-0', 'common.items.mineral.ingot.iron', 684, 682, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.iron-1', 'veloren.core.pseudo_items.modular.tool', 685, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.iron-1', 'common.items.modular.weapon.primary.hammer.hammer', 686, 685, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.iron-1', 'common.items.modular.weapon.secondary.hammer.short', 687, 685, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.iron-1', 'common.items.mineral.ingot.iron', 688, 686, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.iron-2', 'veloren.core.pseudo_items.modular.tool', 689, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.iron-2', 'common.items.modular.weapon.primary.hammer.spikedmace', 690, 689, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.iron-2', 'common.items.modular.weapon.secondary.hammer.short', 691, 689, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.iron-2', 'common.items.mineral.ingot.iron', 692, 690, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.orichalcum-0', 'veloren.core.pseudo_items.modular.tool', 693, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.orichalcum-0', 'common.items.modular.weapon.primary.hammer.ornate', 694, 693, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.orichalcum-0', 'common.items.modular.weapon.secondary.hammer.short', 695, 693, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.orichalcum-0', 'common.items.mineral.ingot.orichalcum', 696, 694, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.steel-0', 'veloren.core.pseudo_items.modular.tool', 697, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.steel-0', 'common.items.modular.weapon.primary.hammer.warhammer', 698, 697, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.steel-0', 'common.items.modular.weapon.secondary.hammer.short', 699, 697, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.steel-0', 'common.items.mineral.ingot.steel', 700, 698, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.steel-1', 'veloren.core.pseudo_items.modular.tool', 701, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.steel-1', 'common.items.modular.weapon.primary.hammer.hammer', 702, 701, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.steel-1', 'common.items.modular.weapon.secondary.hammer.short', 703, 701, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.steel-1', 'common.items.mineral.ingot.steel', 704, 702, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.steel-2', 'veloren.core.pseudo_items.modular.tool', 705, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.steel-2', 'common.items.modular.weapon.primary.hammer.ornate', 706, 705, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.steel-2', 'common.items.modular.weapon.secondary.hammer.short', 707, 705, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.steel-2', 'common.items.mineral.ingot.steel', 708, 706, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.stone-0', 'veloren.core.pseudo_items.modular.tool', 709, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.stone-0', 'common.items.modular.weapon.primary.hammer.spikedmace', 710, 709, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.stone-0', 'common.items.modular.weapon.secondary.hammer.short', 711, 709, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.stone-0', 'common.items.mineral.ingot.bronze', 712, 710, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.stone-1', 'veloren.core.pseudo_items.modular.tool', 713, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.stone-1', 'common.items.modular.weapon.primary.hammer.hammer', 714, 713, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.stone-1', 'common.items.modular.weapon.secondary.hammer.short', 715, 713, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.stone-1', 'common.items.mineral.ingot.bronze', 716, 714, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.wood-0', 'veloren.core.pseudo_items.modular.tool', 717, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.wood-0', 'common.items.modular.weapon.primary.hammer.hammer', 718, 717, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.wood-0', 'common.items.modular.weapon.secondary.hammer.short', 719, 717, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.wood-0', 'common.items.mineral.ingot.bronze', 720, 718, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.wood-1', 'veloren.core.pseudo_items.modular.tool', 721, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.wood-1', 'common.items.modular.weapon.primary.hammer.hammer', 722, 721, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.wood-1', 'common.items.modular.weapon.secondary.hammer.short', 723, 721, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.hammer_1h.wood-1', 'common.items.mineral.ingot.bronze', 724, 722, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.bloodsteel-0', 'veloren.core.pseudo_items.modular.tool', 725, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.bloodsteel-0', 'common.items.modular.weapon.primary.axe.jagged', 726, 725, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.bloodsteel-0', 'common.items.modular.weapon.secondary.axe.short', 727, 725, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.bloodsteel-0', 'common.items.mineral.ingot.bloodsteel', 728, 726, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.bloodsteel-1', 'veloren.core.pseudo_items.modular.tool', 729, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.bloodsteel-1', 'common.items.modular.weapon.primary.axe.axe', 730, 729, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.bloodsteel-1', 'common.items.modular.weapon.secondary.axe.short', 731, 729, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.bloodsteel-1', 'common.items.mineral.ingot.bloodsteel', 732, 730, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.bronze-0', 'veloren.core.pseudo_items.modular.tool', 733, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.bronze-0', 'common.items.modular.weapon.primary.axe.axe', 734, 733, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.bronze-0', 'common.items.modular.weapon.secondary.axe.short', 735, 733, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.bronze-0', 'common.items.mineral.ingot.bronze', 736, 734, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.bronze-1', 'veloren.core.pseudo_items.modular.tool', 737, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.bronze-1', 'common.items.modular.weapon.primary.axe.battleaxe', 738, 737, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.bronze-1', 'common.items.modular.weapon.secondary.axe.short', 739, 737, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.bronze-1', 'common.items.mineral.ingot.bronze', 740, 738, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.cobalt-0', 'veloren.core.pseudo_items.modular.tool', 741, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.cobalt-0', 'common.items.modular.weapon.primary.axe.axe', 742, 741, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.cobalt-0', 'common.items.modular.weapon.secondary.axe.short', 743, 741, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.cobalt-0', 'common.items.mineral.ingot.cobalt', 744, 742, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.cobalt-1', 'veloren.core.pseudo_items.modular.tool', 745, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.cobalt-1', 'common.items.modular.weapon.primary.axe.ornate', 746, 745, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.cobalt-1', 'common.items.modular.weapon.secondary.axe.short', 747, 745, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.cobalt-1', 'common.items.mineral.ingot.cobalt', 748, 746, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.iron-0', 'veloren.core.pseudo_items.modular.tool', 749, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.iron-0', 'common.items.modular.weapon.primary.axe.battleaxe', 750, 749, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.iron-0', 'common.items.modular.weapon.secondary.axe.short', 751, 749, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.iron-0', 'common.items.mineral.ingot.iron', 752, 750, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.iron-1', 'veloren.core.pseudo_items.modular.tool', 753, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.iron-1', 'common.items.modular.weapon.primary.axe.ornate', 754, 753, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.iron-1', 'common.items.modular.weapon.secondary.axe.short', 755, 753, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.iron-1', 'common.items.mineral.ingot.iron', 756, 754, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.iron-2', 'veloren.core.pseudo_items.modular.tool', 757, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.iron-2', 'common.items.modular.weapon.primary.axe.jagged', 758, 757, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.iron-2', 'common.items.modular.weapon.secondary.axe.short', 759, 757, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.iron-2', 'common.items.mineral.ingot.iron', 760, 758, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.iron-3', 'veloren.core.pseudo_items.modular.tool', 761, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.iron-3', 'common.items.modular.weapon.primary.axe.axe', 762, 761, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.iron-3', 'common.items.modular.weapon.secondary.axe.short', 763, 761, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.iron-3', 'common.items.mineral.ingot.iron', 764, 762, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.orichalcum-0', 'veloren.core.pseudo_items.modular.tool', 765, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.orichalcum-0', 'common.items.modular.weapon.primary.axe.ornate', 766, 765, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.orichalcum-0', 'common.items.modular.weapon.secondary.axe.short', 767, 765, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.orichalcum-0', 'common.items.mineral.ingot.orichalcum', 768, 766, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.steel-0', 'veloren.core.pseudo_items.modular.tool', 769, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.steel-0', 'common.items.modular.weapon.primary.axe.axe', 770, 769, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.steel-0', 'common.items.modular.weapon.secondary.axe.short', 771, 769, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.steel-0', 'common.items.mineral.ingot.steel', 772, 770, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.steel-1', 'veloren.core.pseudo_items.modular.tool', 773, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.steel-1', 'common.items.modular.weapon.primary.axe.jagged', 774, 773, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.steel-1', 'common.items.modular.weapon.secondary.axe.short', 775, 773, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.steel-1', 'common.items.mineral.ingot.steel', 776, 774, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.steel-2', 'veloren.core.pseudo_items.modular.tool', 777, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.steel-2', 'common.items.modular.weapon.primary.axe.battleaxe', 778, 777, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.steel-2', 'common.items.modular.weapon.secondary.axe.short', 779, 777, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.steel-2', 'common.items.mineral.ingot.steel', 780, 778, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.stone-0', 'veloren.core.pseudo_items.modular.tool', 781, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.stone-0', 'common.items.modular.weapon.primary.axe.axe', 782, 781, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.stone-0', 'common.items.modular.weapon.secondary.axe.short', 783, 781, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.stone-0', 'common.items.mineral.ingot.bronze', 784, 782, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.stone-1', 'veloren.core.pseudo_items.modular.tool', 785, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.stone-1', 'common.items.modular.weapon.primary.axe.battleaxe', 786, 785, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.stone-1', 'common.items.modular.weapon.secondary.axe.short', 787, 785, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.stone-1', 'common.items.mineral.ingot.bronze', 788, 786, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.wood-0', 'veloren.core.pseudo_items.modular.tool', 789, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.wood-0', 'common.items.modular.weapon.primary.axe.battleaxe', 790, 789, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.wood-0', 'common.items.modular.weapon.secondary.axe.short', 791, 789, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.wood-0', 'common.items.mineral.ingot.bronze', 792, 790, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.wood-1', 'veloren.core.pseudo_items.modular.tool', 793, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.wood-1', 'common.items.modular.weapon.primary.axe.axe', 794, 793, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.wood-1', 'common.items.modular.weapon.secondary.axe.short', 795, 793, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.axe_1h.wood-1', 'common.items.mineral.ingot.bronze', 796, 794, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.phoenix', 'veloren.core.pseudo_items.modular.tool', 797, NULL, NULL);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.phoenix', 'common.items.modular.weapon.secondary.staff.medium', 798, 797, 0);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.phoenix', 'common.items.modular.weapon.primary.staff.grandstaff', 799, 797, 1);
INSERT INTO _temp_modular_items VALUES('common.items.weapons.staff.phoenix', 'common.items.log.eldwood', 800, 799, 0);

-- Create a temporary table to hold data for the modular weapon items
CREATE TEMP TABLE _temp_modular_component_items
(
    temp_item_id INTEGER PRIMARY KEY AUTOINCREMENT  NOT NULL, -- new id, increment from 1
    base_item_id INTEGER NOT NULL,
    new_component_item_id INTEGER NULL,
    new_item_definition_id TEXT NOT NULL,
    existing_item_definition_id TEXT NOT NULL,
    pseudo_id INT NOT NULL,
    parent_pseudo_id INT,
    component_id INT
);

INSERT INTO _temp_modular_component_items
SELECT  NULL, --temp_item_id, autoincrement
        i.item_id, --base_item_id
        NULL, --new_component_item_id, updated in query below
        m.new_item_definition_id,
        m.existing_item_definition_id,
        m.pseudo_id,
        m.parent_pseudo_id,
        m.component_id
FROM    _temp_modular_items m
JOIN    item i ON (m.existing_item_definition_id = item_definition_id)
ORDER BY i.item_id;

-- Update the item_definition_id for the modular base items
UPDATE  item
SET     item_definition_id = (SELECT new_item_definition_id from _temp_modular_items m WHERE m.existing_item_definition_id = item_definition_id AND m.parent_pseudo_id IS NULL)
WHERE   EXISTS (SELECT new_item_definition_id FROM _temp_modular_items m WHERE m.existing_item_definition_id = item_definition_id AND m.parent_pseudo_id IS NULL);

-- Create an item_id for each new modular component item
INSERT
INTO    entity
SELECT  NULL
FROM    _temp_modular_component_items;

-- Assign a new entity_id to each modular component item
UPDATE  _temp_modular_component_items
SET     new_component_item_id = ((SELECT MAX(entity_id) FROM entity) + 1 - temp_item_id)
WHERE   parent_pseudo_id IS NOT NULL;

-- Insert the new modular component items, temporarily disabling foreign key constraints
-- due to the parent_container_item_id foreign key constraint not being satisfied
-- until the end of the query.
PRAGMA defer_foreign_keys = true;

CREATE INDEX idx_temp_modular_component_items_parent_pseudo_id ON _temp_modular_component_items (parent_pseudo_id);
CREATE INDEX idx_temp_modular_component_items_pseudo_id ON _temp_modular_component_items (pseudo_id);
CREATE INDEX idx_temp_modular_component_items_base_item_id ON _temp_modular_component_items (base_item_id);

INSERT INTO item
WITH RECURSIVE item_graph(item_id, new_component_item_id, parent_container_item_id, new_item_definition_id, pseudo_id, parent_pseudo_id, base_item_id, component_id) AS
(
    SELECT i.item_id, i.item_id, i.parent_container_item_id, t.new_item_definition_id, t.pseudo_id, parent_pseudo_id, t.base_item_id, t.component_id
    FROM    _temp_modular_component_items t
    JOIN   item i ON (i.item_id = t.base_item_id)
    WHERE t.parent_pseudo_id IS NULL

    UNION ALL

    SELECT item_graph.item_id, t.new_component_item_id, item_graph.new_component_item_id, t.new_item_definition_id, t.pseudo_id, t.parent_pseudo_id, t.base_item_id, t.component_id
    FROM    _temp_modular_component_items t
    JOIN item_graph ON t.parent_pseudo_id = item_graph.pseudo_id AND t.base_item_id = item_graph.base_item_id
)
SELECT  new_component_item_id,
        parent_container_item_id,
        new_item_definition_id,
        1, --stack_size
        'component_' || component_id --position
FROM    item_graph
WHERE   parent_pseudo_id IS NOT NULL;

PRAGMA defer_foreign_keys = false;
