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:
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
|
||||
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
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue
Block a user