Untitled
unknown
plain_text
2 years ago
496 B
6
Indexable
--- click reuse
local reUseToggle = macro(400, "Click ReUse", "", function() end)
local excluded = {268, 237, 238, 23373, 266, 236, 239, 7643, 23375, 7642, 23374, 5908, 5942, storage.shovel, storage.rope, storage.machete}
onUseWith(function(pos, itemId, target, subType)
if reUseToggle.isOn() and not table.find(excluded, itemId) then
schedule(50, function()
item = findItem(itemId)
if item then
modules.game_interface.startUseWith(item)
end
end)
end
end)Editor is loading...