Browse Source

Ajout du mod nalc_carts

Ajout de messages de chargements dans le journal.
tags/nalc-1.0
sys4-fr 1 year ago
parent
commit
c80fe1c620
12 changed files with 55 additions and 0 deletions
  1. +2
    -0
      nalc_beds/init.lua
  2. +2
    -0
      nalc_boats/init.lua
  3. +2
    -0
      nalc_bucket/init.lua
  4. +1
    -0
      nalc_carts/depends.txt
  5. +34
    -0
      nalc_carts/init.lua
  6. +2
    -0
      nalc_default/init.lua
  7. +2
    -0
      nalc_hardtrees/init.lua
  8. +2
    -0
      nalc_lib/init.lua
  9. +2
    -0
      nalc_mesecons/init.lua
  10. +2
    -0
      nalc_moreblocks/init.lua
  11. +2
    -0
      nalc_technic/init.lua
  12. +2
    -0
      nalc_weather/init.lua

+ 2
- 0
nalc_beds/init.lua View File

@@ -110,3 +110,5 @@ for _, colour in pairs({"white", "black", "blue", "green"}) do
burntime = 12,
})
end

minetest.log("action", "[nalc_beds] loaded.")

+ 2
- 0
nalc_boats/init.lua View File

@@ -348,3 +348,5 @@ minetest.register_craft(
{"default:glass", "bucket:bucket_water", "default:glass"},
},
})

minetest.log("action", "[nalc_boats] loaded.")

+ 2
- 0
nalc_bucket/init.lua View File

@@ -33,3 +33,5 @@ minetest.register_alias("bucket_acid", "nalc_bucket:bucket_acid")
minetest.register_alias("bucket:sand_source", "nalc_default:sand_source")
minetest.register_alias("bucket:sand_flowing", "nalc_default:sand_flowing")
minetest.register_alias("bucket:bucket_sand", "nalc_bucket:bucket_sand")

minetest.log("action", "[nalc_bucket] loaded.")

+ 1
- 0
nalc_carts/depends.txt View File

@@ -0,0 +1 @@
boost_cart

+ 34
- 0
nalc_carts/init.lua View File

@@ -0,0 +1,34 @@
-- Rail Copper
minetest.clear_craft({ output = "carts:copperrail" })
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",
recipe = {"group:rail", "default:mese_crystal_fragment"},
})

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

-- Aliases
minetest.register_alias("carts:rail_copper", "carts:copperrail")
minetest.register_alias("carts:rail_brake", "carts:brakerail")
minetest.register_alias("carts:rail_power", "carts:powerrail")

minetest.log("action", "[nalc_carts] loaded.")

+ 2
- 0
nalc_default/init.lua View File

@@ -24,3 +24,5 @@ minetest.override_item(
{
stack_max = 200
})

minetest.log("action", "[nalc_default] loaded.")

+ 2
- 0
nalc_hardtrees/init.lua View File

@@ -63,3 +63,5 @@ minetest.register_craft({
{"", "default:stick", ""},
}
})

minetest.log("action", "[nalc_hardtrees] loaded.")

+ 2
- 0
nalc_lib/init.lua View File

@@ -47,3 +47,5 @@ end
function nalc.not_hand_breakable(name)
remove_group(name, "oddly_breakable_by_hand")
end

minetest.log("action", "[nalc_lib] loaded.")

+ 2
- 0
nalc_mesecons/init.lua View File

@@ -56,3 +56,5 @@ minetest.override_item(
{
digiline = object_detector_digiline
})

minetest.log("action", "[nalc_mesecons] loaded.")

+ 2
- 0
nalc_moreblocks/init.lua View File

@@ -42,3 +42,5 @@ minetest.register_craft(
{"default:papyrus", "default:papyrus", "default:papyrus"}
}
})

minetest.log("action", "[nalc_moreblocks] loaded.")

+ 2
- 0
nalc_technic/init.lua View File

@@ -81,3 +81,5 @@ if minetest.get_modpath("dye") then
recipe = {"bakedclay:thistle"}
})
end

minetest.log("action", "[nalc_technic] loaded.")

+ 2
- 0
nalc_weather/init.lua View File

@@ -64,3 +64,5 @@ if minetest.global_exists("hw_utils") then
end

end

minetest.log("action", "[nalc_weather] loaded.")

Loading…
Cancel
Save