add autotower
parent
1be602d8aa
commit
585e755e23
|
@ -0,0 +1,8 @@
|
|||
ws.rg('AutoTower','Scaffold','atower',function()
|
||||
local it=minetest.localplayer:get_wielded_item():get_name()
|
||||
local lp=ws.dircoord(0,0,0)
|
||||
local nds=minetest.find_nodes_near_under_air(lp,4,{it},false)
|
||||
for k,v in ipairs(nds) do
|
||||
ws.place(vector.add(v,vector.new(0,1,0)),it)
|
||||
end
|
||||
end,function() end,function() end, {'autorefill'})
|
|
@ -214,6 +214,7 @@ dofile(mpath .. "/autofarm.lua")
|
|||
dofile(mpath .. "/railscaffold.lua")
|
||||
dofile(mpath .. "/wallbot.lua")
|
||||
dofile(mpath .. "/ow2bot.lua")
|
||||
dofile(mpath .. "/atower.lua")
|
||||
--dofile(mpath .. "/squarry.lua")
|
||||
local snapdir="north"
|
||||
ws.rg('DigHead','Player','dighead',function() ws.dig(ws.dircoord(0,1,0)) end)
|
||||
|
|
Loading…
Reference in New Issue