Zefram
2014-05-16 68b7bcc28e39bdf0926072b834eeeeec0ee6c721
commit | author | age
ee0765 1
S 2 -- Aliases to convert from legacy node/item names
3
4 technic.legacy_nodenames = {
5     ["technic:alloy_furnace"]        = "technic:lv_alloy_furnace",
6     ["technic:alloy_furnace_active"] = "technic:lv_alloy_furnace_active",
7     ["technic:battery_box"]  = "technic:lv_battery_box0",
8     ["technic:battery_box1"] = "technic:lv_battery_box1",
9     ["technic:battery_box2"] = "technic:lv_battery_box2",
10     ["technic:battery_box3"] = "technic:lv_battery_box3",
11     ["technic:battery_box4"] = "technic:lv_battery_box4",
12     ["technic:battery_box5"] = "technic:lv_battery_box5",
13     ["technic:battery_box6"] = "technic:lv_battery_box6",
14     ["technic:battery_box7"] = "technic:lv_battery_box7",
15     ["technic:battery_box8"] = "technic:lv_battery_box8",
16     ["technic:electric_furnace"]        = "technic:lv_electric_furnace",
17     ["technic:electric_furnace_active"] = "technic:lv_electric_furnace_active",
18     ["technic:grinder"]        = "technic:lv_grinder",
19     ["technic:grinder_active"] = "technic:lv_grinder_active",
20     ["technic:hv_battery_box"] = "technic:hv_battery_box0",
21     ["technic:hv_cable"] = "technic:hv_cable0",
22     ["technic:lv_cable"] = "technic:lv_cable0",
23     ["technic:mv_cable"] = "technic:mv_cable0",
24     ["technic:mv_battery_box"] = "technic:mv_battery_box0",
704925 25     ["technic:generator"]        = "technic:lv_generator",
P 26     ["technic:generator_active"] = "technic:lv_generator_active",
68b7bc 27     ["technic:iron_dust"] = "technic:wrought_iron_dust",
ee0765 28 }
S 29
30 for old, new in pairs(technic.legacy_nodenames) do
31     minetest.register_alias(old, new)
32 end
33