compatibility: old batteries -> new battery, constructor battery recipe fix

master
rnd1 2017-12-29 13:09:27 +01:00
parent 6f4dd57098
commit 4671256224
3 changed files with 6 additions and 2 deletions

2
README
View File

@ -1,7 +1,7 @@
BASIC_MACHINES: lightweight automation mod for minetest
minetest 0.4.14+
(c) 2015-2016 rnd
textures by rnd, new textures by by SaKeL (2016) and Jozet (2017)
textures by rnd, new textures by SaKeL (2016) and Jozet (2017)
MANUAL:

View File

@ -19,7 +19,7 @@ basic_machines.craft_recipes = {
["ball_spawner"]={item = "basic_machines:ball_spawner", description = "Spawn moving energy balls", craft = {"basic_machines:power_cell","basic_machines:keypad"}, tex = "basic_machines_ball"},
["battery"]={item = "basic_machines:battery", description = "Power for machines", craft = {"default:bronzeblock 2","default:mese","default:diamond"}, tex = "basic_machine_battery"},
["battery"]={item = "basic_machines:battery_0", description = "Power for machines", craft = {"default:bronzeblock 2","default:mese","default:diamond"}, tex = "basic_machine_battery"},
["generator"]={item = "basic_machines:generator", description = "Generate power crystals", craft = {"default:diamondblock 5","basic_machines:battery 5","default:goldblock 5"}, tex = "basic_machine_generator"},

View File

@ -83,4 +83,8 @@ minetest.register_craft({
}
})
-- COMPATIBILITY
minetest.register_alias("basic_machines:battery", "basic_machines:battery_0")
print("[MOD] basic_machines " .. basic_machines.version .. " loaded.")