mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 17:50:37 +01:00
Use sapling fertilizer from LemonLake's factory mod for dungs
- And remove a "print"
This commit is contained in:
parent
18d7fa7597
commit
a4c3c59b07
@ -143,29 +143,25 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Dung
|
-- Dung (from factory's fertilizer)
|
||||||
|
|
||||||
minetest.register_node("mobs:dung", {
|
minetest.register_node("mobs:dung", {
|
||||||
description = "Cow dung",
|
tiles = {"default_dirt.png"},
|
||||||
tiles = {"mobs_dung.png"},
|
inventory_image = "mobs_dung.png",
|
||||||
inventory_image = "mobs_dung.png",
|
description = "Cow dung",
|
||||||
visual_scale = 0.7,
|
drawtype = "nodebox",
|
||||||
drawtype = "plantlike",
|
paramtype = "light",
|
||||||
wield_image = "mobs_dung.png",
|
is_ground_content = true,
|
||||||
paramtype = "light",
|
groups = {snappy = 3, attached_node = 1},
|
||||||
walkable = false,
|
node_box = {
|
||||||
is_ground_content = true,
|
type = "fixed",
|
||||||
sunlight_propagates = true,
|
fixed = {
|
||||||
selection_box = {
|
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||||
type = "fixed",
|
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||||
fixed = {-0.2, -0.5, -0.2, 0.2, 0, 0.2}
|
{0, -0.375, -0.0625, 0.0625, -0.3125, 0.0625},
|
||||||
},
|
{0, -0.3125, -0.0625, 0.0625, -0.25, 0},
|
||||||
groups = {snappy=2, dig_immediate=3},
|
{-0.0625, -0.375, -0.0625, 0, -0.3125, 0},
|
||||||
after_place_node = function(pos, placer, itemstack)
|
}
|
||||||
if placer:is_player() then
|
}
|
||||||
minetest.set_node(pos, {name="mobs:dung", param2=1})
|
|
||||||
end
|
|
||||||
end
|
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
@ -60,4 +60,4 @@ dofile(path.."/crafts.lua")
|
|||||||
-- Mob menu spawner special MFF
|
-- Mob menu spawner special MFF
|
||||||
dofile(path.."/mff_menu.lua")
|
dofile(path.."/mff_menu.lua")
|
||||||
|
|
||||||
print ("[MOD] Mobs Redo loaded")
|
minetest.log("action", "[MOD] Mobs Redo loaded")
|
||||||
|
Loading…
Reference in New Issue
Block a user