diff --git a/mods/carts/rails.lua b/mods/carts/rails.lua index f929e84..5da4ac4 100644 --- a/mods/carts/rails.lua +++ b/mods/carts/rails.lua @@ -20,6 +20,7 @@ minetest.register_craft({ minetest.register_alias("default:rail", "carts:rail") + carts:register_rail("carts:powerrail", { description = "Powered rail", tiles = { @@ -27,7 +28,7 @@ carts:register_rail("carts:powerrail", { "carts_rail_t_junction_pwr.png", "carts_rail_crossing_pwr.png" }, groups = carts:get_rail_groups(), -}, {acceleration = 4}) +}, {acceleration = 5}) minetest.register_craft({ output = "carts:powerrail 8", @@ -38,6 +39,7 @@ minetest.register_craft({ } }) + carts:register_rail("carts:brakerail", { description = "Brake rail", tiles = { @@ -47,7 +49,6 @@ carts:register_rail("carts:brakerail", { groups = carts:get_rail_groups(), }, {acceleration = -3}) - minetest.register_craft({ output = "carts:brakerail 8", recipe = {