Browse Source

Supprime du code obsolète de nalc_carts et nalc_moreblocks

tags/nalc-1.2.0
sys4 7 months ago
parent
commit
524e2b787a
3 changed files with 0 additions and 63 deletions
  1. +0
    -2
      nalc_carts/depends.txt
  2. +0
    -20
      nalc_carts/init.lua
  3. +0
    -41
      nalc_moreblocks/init.lua

+ 0
- 2
nalc_carts/depends.txt View File

@@ -1,3 +1 @@
boost_cart
moreblocks?
moreores?

+ 0
- 20
nalc_carts/init.lua View File

@@ -1,25 +1,4 @@
minetest.clear_craft( {output = "default:rail" })

if minetest.get_modpath("moreores") then
minetest.clear_craft({ output = "moreores:copper_rail" })
else
minetest.clear_craft({ output = "carts:copperrail" })
end

minetest.register_craft(
{
output = "carts:copperrail 16",
recipe = {
{"default:copper_ingot", "default:stick", "default:copper_ingot"},
{"default:copper_ingot", "default:stick", "default:copper_ingot"},
{"default:copper_ingot", "default:stick", "default:copper_ingot"},
}
})

-- Rail Power
minetest.clear_craft({ output = "carts:powerrail" })
minetest.register_craft({
type = "shapeless",
output = "carts:powerrail",
@@ -27,7 +6,6 @@ minetest.register_craft({
})

-- Rail Brake
minetest.clear_craft({ output = "carts:brakerail" })
minetest.register_craft({
type = "shapeless",
output = "carts:brakerail",


+ 0
- 41
nalc_moreblocks/init.lua View File

@@ -1,48 +1,3 @@

minetest.clear_craft(
{
output = "default:sign_wall_wood",
})
minetest.register_craft(
{
output = "default:sign_wall_wood 3",
recipe = {
{"group:wood", "group:wood", "group:wood"},
{"group:wood", "group:wood", "group:wood"},
{"", "group:stick", ""},
}
})

minetest.clear_craft(
{
output = "default:ladder_wood",
})
minetest.register_craft(
{
output = "default:ladder_wood 5",
recipe = {
{"group:stick", "", "group:stick"},
{"group:stick", "group:stick", "group:stick"},
{"group:stick", "", "group:stick"}
}
})

minetest.clear_craft(
{
output = "default:paper",
})
minetest.register_craft(
{
output= "default:paper",
recipe = {
{"default:papyrus", "default:papyrus", "default:papyrus"}
}
})

-- Micro wood bug
local def = minetest.registered_nodes["moreblocks:micro_wood"]
def.groups.wood = 0


Loading…
Cancel
Save