mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-26 18:50:38 +01:00
Fix carts aliases
This commit is contained in:
parent
618d5f5daf
commit
706d03f9a4
3
mods/nalc/carts.lua
Normal file
3
mods/nalc/carts.lua
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
-- Aliases
|
||||||
|
minetest.register_alias("carts:rail_brake", "carts:brakerail")
|
||||||
|
minetest.register_alias("carts:rail_power", "carts:powerrail")
|
@ -15,11 +15,14 @@ dofile(modpath.."/nodes.lua")
|
|||||||
-- Custom tools
|
-- Custom tools
|
||||||
dofile(modpath.."/tools.lua")
|
dofile(modpath.."/tools.lua")
|
||||||
|
|
||||||
local mods = {"witchcraft", "cotton", "technic",
|
local mods =
|
||||||
"beds", "boats", "bucket",
|
{
|
||||||
"nyancat", "moreores", "moreblocks",
|
"witchcraft", "cotton", "technic",
|
||||||
"maptools", "doors", "flowers"
|
"beds", "boats", "bucket",
|
||||||
}
|
"nyancat", "moreores", "moreblocks",
|
||||||
|
"maptools", "doors", "flowers",
|
||||||
|
"carts"
|
||||||
|
}
|
||||||
|
|
||||||
for _,mod in ipairs(mods) do
|
for _,mod in ipairs(mods) do
|
||||||
if minetest.get_modpath(mod) then
|
if minetest.get_modpath(mod) then
|
||||||
|
@ -11,3 +11,6 @@ minetest.register_craft(
|
|||||||
{"default:steel_ingot", "group:wood", "default:steel_ingot"}
|
{"default:steel_ingot", "group:wood", "default:steel_ingot"}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Aliases
|
||||||
|
minetest.register_alias("carts:rail_copper", "moreores:copper_rail")
|
||||||
|
Loading…
Reference in New Issue
Block a user