1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-13 14:00:32 +01:00

Fix carts aliases

This commit is contained in:
sys4-fr 2017-12-02 18:36:06 +01:00
parent 618d5f5daf
commit 706d03f9a4
3 changed files with 14 additions and 5 deletions

3
mods/nalc/carts.lua Normal file
View File

@ -0,0 +1,3 @@
-- Aliases
minetest.register_alias("carts:rail_brake", "carts:brakerail")
minetest.register_alias("carts:rail_power", "carts:powerrail")

View File

@ -15,11 +15,14 @@ dofile(modpath.."/nodes.lua")
-- Custom tools
dofile(modpath.."/tools.lua")
local mods = {"witchcraft", "cotton", "technic",
"beds", "boats", "bucket",
"nyancat", "moreores", "moreblocks",
"maptools", "doors", "flowers"
}
local mods =
{
"witchcraft", "cotton", "technic",
"beds", "boats", "bucket",
"nyancat", "moreores", "moreblocks",
"maptools", "doors", "flowers",
"carts"
}
for _,mod in ipairs(mods) do
if minetest.get_modpath(mod) then

View File

@ -11,3 +11,6 @@ minetest.register_craft(
{"default:steel_ingot", "group:wood", "default:steel_ingot"}
}
})
-- Aliases
minetest.register_alias("carts:rail_copper", "moreores:copper_rail")