DigAmy wrote:I have an idea: create an iron golem mod to help the player to defeat the zombies from the zombie-waves mod... can anyone do that? Please :) ^_^
sloantothebone wrote:Hmm... How do we write a script that replaces a formation of nodes, such as 4 iron blocks and a pumpkin, with a mob?
on_place = function(itemstack, placer, pointed_thing)
local stack = ItemStack("default:diamondblock")
local pos = pointed_thing.above
if
minetest.get_node({x=pos.x+1,y=pos.y,z=pos.z}).name=="default:diamondblock" and
minetest.get_node({x=pos.x+1,y=pos.y,z=pos.z+1}).name=="default:diamondblock" and
minetest.get_node({x=pos.x+1,y=pos.y,z=pos.z-1}).name=="default:diamondblock" and
minetest.get_node({x=pos.x-1,y=pos.y,z=pos.z}).name=="default:diamondblock" and
minetest.get_node({x=pos.x-1,y=pos.y,z=pos.z+1}).name=="default:diamondblock" and
minetest.get_node({x=pos.x-1,y=pos.y,z=pos.z-1}).name=="default:diamondblock" and
minetest.get_node({x=pos.x,y=pos.y,z=pos.z+1}).name=="default:diamondblock" and
minetest.get_node({x=pos.x,y=pos.y,z=pos.z-1}).name=="default:diamondblock"
then
stack = ItemStack("teleports:teleport")
endCWz wrote:Do we really need to copy more mobs from minecraft? can't we come up with original mobs?
Users browsing this forum: No registered users and 15 guests