Added more methods.
This commit is contained in:
parent
f4fa29eab6
commit
5ed5343691
|
@ -76,11 +76,15 @@ function itemscript.dropAllDown(name, fuzzy)
|
||||||
end
|
end
|
||||||
|
|
||||||
function itemscript.dropAllUp(name, fuzzy)
|
function itemscript.dropAllUp(name, fuzzy)
|
||||||
dropFiltered(name, fuzzy or false, t.dropDown, itemMatchesFilter)
|
dropFiltered(name, fuzzy or false, t.dropUp, itemMatchesFilter)
|
||||||
end
|
end
|
||||||
|
|
||||||
function itemscript.dropAllExcept(name, fuzzy)
|
function itemscript.dropAllExcept(name, fuzzy)
|
||||||
dropFiltered(name, fuzzy or false, t.drop, itemMatchesFilter)
|
dropFiltered(name, fuzzy or false, t.drop, itemNotMatchesFilter)
|
||||||
|
end
|
||||||
|
|
||||||
|
function itemscript.dropAllDownExcept(name, fuzzy)
|
||||||
|
dropFiltered(name, fuzzy or false, t.dropDown, itemNotMatchesFilter)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Cleans up the turtle's inventory by compacting all stacks of items.
|
-- Cleans up the turtle's inventory by compacting all stacks of items.
|
||||||
|
|
Loading…
Reference in New Issue