From 335d9a3eddcb590c3ca5de9cba9b152e5e560af1 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Tue, 13 Feb 2018 14:05:34 -0500 Subject: removed boost_cart and carbone_mobs -- too many crashes updated blox, homedecor, plantlifed, cottages, farming_redo, framedglass, gloopblocks, mesecons, moreblocks, moretrees, pipeworks, player_textures, replacer, signs_lib, stained_glass, technic, travelnet, unified_inventory, unifieddyes, and worldedit. --- boost_cart/rails.lua | 137 --------------------------------------------------- 1 file changed, 137 deletions(-) delete mode 100644 boost_cart/rails.lua (limited to 'boost_cart/rails.lua') diff --git a/boost_cart/rails.lua b/boost_cart/rails.lua deleted file mode 100644 index a03961b..0000000 --- a/boost_cart/rails.lua +++ /dev/null @@ -1,137 +0,0 @@ --- 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", - "carts_rail_t_junction.png", "carts_rail_crossing.png" - }, - groups = boost_cart:get_rail_groups() -}) - --- Moreores' copper rail -if minetest.get_modpath("moreores") then - minetest.register_alias("carts:copperrail", "moreores:copper_rail") -else - boost_cart:register_rail(":carts:copperrail", { - description = "Copper rail", - tiles = { - "carts_rail_straight_cp.png", "carts_rail_curved_cp.png", - "carts_rail_t_junction_cp.png", "carts_rail_crossing_cp.png" - }, - groups = boost_cart:get_rail_groups() - }) - - minetest.register_craft({ - output = "carts:copperrail 12", - recipe = { - {"default:copper_ingot", "", "default:copper_ingot"}, - {"default:copper_ingot", "group:stick", "default:copper_ingot"}, - {"default:copper_ingot", "", "default:copper_ingot"}, - } - }) -end - --- Power rail -boost_cart:register_rail(":carts:powerrail", { - description = "Powered rail", - tiles = { - "carts_rail_straight_pwr.png", "carts_rail_curved_pwr.png", - "carts_rail_t_junction_pwr.png", "carts_rail_crossing_pwr.png" - }, - groups = boost_cart:get_rail_groups(), - after_place_node = function(pos, placer, itemstack) - if not mesecon then - minetest.get_meta(pos):set_string("cart_acceleration", "0.5") - end - end, - mesecons = { - effector = { - action_on = function(pos, node) - boost_cart:boost_rail(pos, 0.5) - end, - action_off = function(pos, node) - minetest.get_meta(pos):set_string("cart_acceleration", "0") - end, - }, - }, -}) - -minetest.register_craft({ - output = "carts:powerrail 6", - recipe = { - {"default:steel_ingot", "default:mese_crystal_fragment", "default:steel_ingot"}, - {"default:steel_ingot", "group:stick", "default:steel_ingot"}, - {"default:steel_ingot", "default:mese_crystal_fragment", "default:steel_ingot"}, - } -}) - --- Brake rail -boost_cart:register_rail(":carts:brakerail", { - description = "Brake rail", - tiles = { - "carts_rail_straight_brk.png", "carts_rail_curved_brk.png", - "carts_rail_t_junction_brk.png", "carts_rail_crossing_brk.png" - }, - groups = boost_cart:get_rail_groups(), - after_place_node = function(pos, placer, itemstack) - if not mesecon then - minetest.get_meta(pos):set_string("cart_acceleration", "-0.3") - end - end, - mesecons = { - effector = { - action_on = function(pos, node) - minetest.get_meta(pos):set_string("cart_acceleration", "-0.3") - end, - action_off = function(pos, node) - minetest.get_meta(pos):set_string("cart_acceleration", "0") - end, - }, - }, -}) - -minetest.register_craft({ - output = "carts:brakerail 6", - recipe = { - {"default:steel_ingot", "default:coal_lump", "default:steel_ingot"}, - {"default:steel_ingot", "group:stick", "default:steel_ingot"}, - {"default:steel_ingot", "default:coal_lump", "default:steel_ingot"}, - } -}) - -boost_cart:register_rail("boost_cart:startstoprail", { - description = "Start-stop rail", - tiles = { - "carts_rail_straight_ss.png", "carts_rail_curved_ss.png", - "carts_rail_t_junction_ss.png", "carts_rail_crossing_ss.png" - }, - groups = boost_cart:get_rail_groups(), - after_place_node = function(pos, placer, itemstack) - if not mesecon then - minetest.get_meta(pos):set_string("cart_acceleration", "halt") - end - end, - mesecons = { - effector = { - action_on = function(pos, node) - boost_cart:boost_rail(pos, 0.5) - end, - action_off = function(pos, node) - minetest.get_meta(pos):set_string("cart_acceleration", "halt") - end, - }, - }, -}) - -minetest.register_craft({ - type = "shapeless", - output = "boost_cart:startstoprail 2", - recipe = {"carts:powerrail", "carts:brakerail"}, -}) -- cgit v1.2.3