diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-06-16 18:12:21 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-06-16 18:12:21 -0400 |
commit | 75e0a665ce2a45e1158a427d3f70f854f5f4d5a8 (patch) | |
tree | 881209e2c8f7efcbce69482bc3caa19b4828e290 /boost_cart/rails.lua | |
parent | b8cd2f723c7c9079e631d7a4078862ff47b24915 (diff) | |
download | dreambuilder_modpack-75e0a665ce2a45e1158a427d3f70f854f5f4d5a8.tar dreambuilder_modpack-75e0a665ce2a45e1158a427d3f70f854f5f4d5a8.tar.gz dreambuilder_modpack-75e0a665ce2a45e1158a427d3f70f854f5f4d5a8.tar.bz2 dreambuilder_modpack-75e0a665ce2a45e1158a427d3f70f854f5f4d5a8.tar.xz dreambuilder_modpack-75e0a665ce2a45e1158a427d3f70f854f5f4d5a8.zip |
Updated several mods for Minetest 0.4.16
castles modpack, areas, biome_lib, blox, boost_cart, plantlife modpack
caverealms, coloredwood, concrete, currency, farming redo, home decor,
ilights, mesecons, moreores, pipeworks, signs_lib, technic, unified inventory
unified bricks, unified dyes, worldedit, and xban2
Diffstat (limited to 'boost_cart/rails.lua')
-rw-r--r-- | boost_cart/rails.lua | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/boost_cart/rails.lua b/boost_cart/rails.lua index c2a58cd..a03961b 100644 --- a/boost_cart/rails.lua +++ b/boost_cart/rails.lua @@ -1,4 +1,12 @@ -boost_cart:register_rail(":default:rail", { +-- Common rail registrations + +local regular_rail_itemname = "default:rail" +if minetest.registered_nodes["carts:rail"] then + -- MTG Compatibility + regular_rail_itemname = "carts:rail" +end + +boost_cart:register_rail(":"..regular_rail_itemname, { description = "Rail", tiles = { "carts_rail_straight.png", "carts_rail_curved.png", |