c80fe1c620
Ajout de messages de chargements dans le journal.
35 lines
1013 B
Lua
35 lines
1013 B
Lua
-- Rail Copper
|
|
minetest.clear_craft({ output = "carts:copperrail" })
|
|
minetest.register_craft(
|
|
{
|
|
output = "carts:copperrail 16",
|
|
recipe = {
|
|
{"default:copper_ingot", "default:stick", "default:copper_ingot"},
|
|
{"default:copper_ingot", "default:stick", "default:copper_ingot"},
|
|
{"default:copper_ingot", "default:stick", "default:copper_ingot"},
|
|
}
|
|
})
|
|
|
|
-- Rail Power
|
|
minetest.clear_craft({ output = "carts:powerrail" })
|
|
minetest.register_craft({
|
|
type = "shapeless",
|
|
output = "carts:powerrail",
|
|
recipe = {"group:rail", "default:mese_crystal_fragment"},
|
|
})
|
|
|
|
-- Rail Brake
|
|
minetest.clear_craft({ output = "carts:brakerail" })
|
|
minetest.register_craft({
|
|
type = "shapeless",
|
|
output = "carts:brakerail",
|
|
recipe = {"group:rail", "default:coal_lump"},
|
|
})
|
|
|
|
-- Aliases
|
|
minetest.register_alias("carts:rail_copper", "carts:copperrail")
|
|
minetest.register_alias("carts:rail_brake", "carts:brakerail")
|
|
minetest.register_alias("carts:rail_power", "carts:powerrail")
|
|
|
|
minetest.log("action", "[nalc_carts] loaded.")
|