technic.register_solar_array({tier="MV", power=30})
+-- compatibility alias for upgrading from old versions of technic
+minetest.register_alias("technic:solar_panel_mv", "technic:solar_array_mv")
dofile(path.."/tree_tap.lua")
dofile(path.."/sonic_screwdriver.lua")
+if minetest.get_modpath("screwdriver") then
+ -- compatibility alias
+ minetest.register_alias("technic:screwdriver", "screwdriver:screwdriver")
+end
+
-- Rubber trees, moretrees also supplies these
if not minetest.get_modpath("moretrees") then
dofile(modpath.."/rubber.lua")
+else
+ -- older versions of technic provided rubber trees regardless
+ minetest.register_alias("technic:rubber_sapling", "moretrees:rubber_tree_sapling")
+ minetest.register_alias("technic:rubber_tree_empty", "moretrees:rubber_tree_trunk_empty")
end
-- mg suppport
})
minetest.register_alias("technic:diamond_block", "default:diamondblock")
+minetest.register_alias("technic:diamond", "default:diamond")
+minetest.register_alias("technic:mineral_diamond", "default:stone_with_diamond")