mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-22 05:42:33 +01:00
33 lines
1.4 KiB
Lua
33 lines
1.4 KiB
Lua
|
|
-- Aliases to convert from legacy node/item names
|
|
|
|
technic.legacy_nodenames = {
|
|
["technic:alloy_furnace"] = "technic:lv_alloy_furnace",
|
|
["technic:alloy_furnace_active"] = "technic:lv_alloy_furnace_active",
|
|
["technic:battery_box"] = "technic:lv_battery_box0",
|
|
["technic:battery_box1"] = "technic:lv_battery_box1",
|
|
["technic:battery_box2"] = "technic:lv_battery_box2",
|
|
["technic:battery_box3"] = "technic:lv_battery_box3",
|
|
["technic:battery_box4"] = "technic:lv_battery_box4",
|
|
["technic:battery_box5"] = "technic:lv_battery_box5",
|
|
["technic:battery_box6"] = "technic:lv_battery_box6",
|
|
["technic:battery_box7"] = "technic:lv_battery_box7",
|
|
["technic:battery_box8"] = "technic:lv_battery_box8",
|
|
["technic:electric_furnace"] = "technic:lv_electric_furnace",
|
|
["technic:electric_furnace_active"] = "technic:lv_electric_furnace_active",
|
|
["technic:grinder"] = "technic:lv_grinder",
|
|
["technic:grinder_active"] = "technic:lv_grinder_active",
|
|
["technic:hv_battery_box"] = "technic:hv_battery_box0",
|
|
["technic:hv_cable"] = "technic:hv_cable0",
|
|
["technic:lv_cable"] = "technic:lv_cable0",
|
|
["technic:mv_cable"] = "technic:mv_cable0",
|
|
["technic:mv_battery_box"] = "technic:mv_battery_box0",
|
|
["technic:generator"] = "technic:lv_generator",
|
|
["technic:generator_active"] = "technic:lv_generator_active",
|
|
}
|
|
|
|
for old, new in pairs(technic.legacy_nodenames) do
|
|
minetest.register_alias(old, new)
|
|
end
|
|
|