Edited use_mode in moveToBuilding. It looks like df uses either 0 or 2 and 2 is structural.

develop
warmist 2012-05-24 14:03:05 +03:00
parent 2beaed4fd8
commit 2ab4e32a53
1 changed files with 1 additions and 1 deletions

@ -23,5 +23,5 @@ if #items==0 then
error("No items found!") error("No items found!")
end end
for k,v in pairs(items) do for k,v in pairs(items) do
dfhack.items.moveToBuilding(v,build,1) dfhack.items.moveToBuilding(v,build,0)
end end