Ajout des mods nalc_bakedclay, nalc_nether et nalc_diet.
This commit is contained in:
parent
9c26201bfc
commit
e333fde4a8
2
nalc_bakedclay/depends.txt
Normal file
2
nalc_bakedclay/depends.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
bakedclay
|
||||||
|
unifieddyes
|
12
nalc_bakedclay/init.lua
Normal file
12
nalc_bakedclay/init.lua
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
-- If bakedclay loaded then remove "dye:grey 3" craft recipe
|
||||||
|
-- in order to avoid unifieddyes conflict
|
||||||
|
|
||||||
|
minetest.clear_craft({output = "dye:grey"})
|
||||||
|
minetest.register_craft(
|
||||||
|
{
|
||||||
|
type = "shapeless",
|
||||||
|
output = "dye:grey 2",
|
||||||
|
recipe = {"dye:black", "dye:white"}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.log("action", "[nalc_bakedclay] loaded.")
|
3
nalc_diet/depends.txt
Normal file
3
nalc_diet/depends.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
diet
|
||||||
|
farming?
|
||||||
|
mtfoods?
|
30
nalc_diet/init.lua
Normal file
30
nalc_diet/init.lua
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
local function overwrite(name, hunger_change, replace_with_item, poisen, heal)
|
||||||
|
local tab = minetest.registered_items[name]
|
||||||
|
if not tab then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
tab.on_use = diet.item_eat(hunger_change, replace_with_item, poisen, heal)
|
||||||
|
end
|
||||||
|
|
||||||
|
if minetest.get_modpath("farming") and farming.mod == "redo" then
|
||||||
|
-- Strawberries fix
|
||||||
|
overwrite("ethereal:strawberry", 1)
|
||||||
|
overwrite("farming_plus:strawberry_item", 1)
|
||||||
|
|
||||||
|
-- Banana
|
||||||
|
overwrite("ethereal:banana", 2)
|
||||||
|
overwrite("ethereal:orange", 4)
|
||||||
|
|
||||||
|
-- Support with farming_redo >= 1.29
|
||||||
|
if tonumber(farming.version) >= 1.29 then
|
||||||
|
overwrite("farming:chili_pepper", 2)
|
||||||
|
overwrite("farming:chili_bowl", 8)
|
||||||
|
overwrite("farming:porridge", 6)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
if minetest.get_modpath("mtfoods") then
|
||||||
|
overwrite("mtfoods:boston_cream", 5)
|
||||||
|
end
|
||||||
|
|
||||||
|
minetest.log("action", "[nalc_diet] loaded.")
|
2
nalc_nether/depends.txt
Normal file
2
nalc_nether/depends.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
nether
|
||||||
|
toolranks
|
93
nalc_nether/init.lua
Normal file
93
nalc_nether/init.lua
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
-- Nether Toolranks
|
||||||
|
-- Nether Pickaxes
|
||||||
|
minetest.override_item(
|
||||||
|
"nether:pick_mushroom",
|
||||||
|
{
|
||||||
|
original_description = "Nether Mushroom Pickaxe",
|
||||||
|
description = toolranks.create_description("Nether Mushroom Pickaxe", 0, 1),
|
||||||
|
after_use = toolranks.new_afteruse
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.override_item(
|
||||||
|
"nether:pick_wood",
|
||||||
|
{
|
||||||
|
original_description = "Nether Wood Pickaxe",
|
||||||
|
description = toolranks.create_description("Nether Wood Pickaxe", 0, 1),
|
||||||
|
after_use = toolranks.new_afteruse
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.override_item(
|
||||||
|
"nether:pick_netherrack",
|
||||||
|
{
|
||||||
|
original_description = "Netherrack Pickaxe",
|
||||||
|
description = toolranks.create_description("Netherrack Pickaxe", 0, 1),
|
||||||
|
after_use = toolranks.new_afteruse
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.override_item(
|
||||||
|
"nether:pick_netherrack_blue",
|
||||||
|
{
|
||||||
|
original_description = "Blue Netherrack Pickaxe",
|
||||||
|
description = toolranks.create_description("Blue Netherrack Pickaxe", 0, 1),
|
||||||
|
after_use = toolranks.new_afteruse
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.override_item(
|
||||||
|
"nether:pick_white",
|
||||||
|
{
|
||||||
|
original_description = "Siwtonic Pickaxe",
|
||||||
|
description = toolranks.create_description("Siwtonic Pickaxe", 0, 1),
|
||||||
|
after_use = toolranks.new_afteruse
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Nether Axes
|
||||||
|
minetest.override_item(
|
||||||
|
"nether:axe_netherrack",
|
||||||
|
{
|
||||||
|
original_description = "Netherrack Axe",
|
||||||
|
description = toolranks.create_description("Netherrack Axe", 0, 1),
|
||||||
|
after_use = toolranks.new_afteruse
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.override_item(
|
||||||
|
"nether:axe_netherrack_blue",
|
||||||
|
{
|
||||||
|
original_description = "Blue Netherrack Axe",
|
||||||
|
description = toolranks.create_description("Blue Netherrack Axe", 0, 1),
|
||||||
|
after_use = toolranks.new_afteruse
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.override_item(
|
||||||
|
"nether:axe_white",
|
||||||
|
{
|
||||||
|
original_description = "Siwtonic Axe",
|
||||||
|
description = toolranks.create_description("Siwtonic Axe", 0, 1),
|
||||||
|
after_use = toolranks.new_afteruse
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Nether Shovels
|
||||||
|
minetest.override_item(
|
||||||
|
"nether:shovel_netherrack",
|
||||||
|
{
|
||||||
|
original_description = "Netherrack Shovel",
|
||||||
|
description = toolranks.create_description("Netherrack Shovel", 0, 1),
|
||||||
|
after_use = toolranks.new_afteruse
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.override_item(
|
||||||
|
"nether:shovel_netherrack_blue",
|
||||||
|
{
|
||||||
|
original_description = "Blue Netherrack Shovel",
|
||||||
|
description = toolranks.create_description("Blue Netherrack Shovel", 0, 1),
|
||||||
|
after_use = toolranks.new_afteruse
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.override_item(
|
||||||
|
"nether:shovel_white",
|
||||||
|
{
|
||||||
|
original_description = "Siwtonic Shovel",
|
||||||
|
description = toolranks.create_description("Siwtonic Shovel", 0, 1),
|
||||||
|
after_use = toolranks.new_afteruse
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.log("action", "[nalc_nether] loaded.")
|
Loading…
Reference in New Issue
Block a user