minetest.register_alias("default:rail", "carts:rail")
+
carts:register_rail("carts:powerrail", {
description = "Powered rail",
tiles = {
"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",
}
})
+
carts:register_rail("carts:brakerail", {
description = "Brake rail",
tiles = {
groups = carts:get_rail_groups(),
}, {acceleration = -3})
-
minetest.register_craft({
output = "carts:brakerail 8",
recipe = {