1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-25 02:00:37 +01:00

Use sapling fertilizer from LemonLake's factory mod for dungs

- And remove a "print"
This commit is contained in:
LeMagnesium 2015-09-01 20:40:34 +02:00
parent 18d7fa7597
commit a4c3c59b07
2 changed files with 19 additions and 23 deletions

View File

@ -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({

View File

@ -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")