avatar
Untitled

Guest 439 15th May, 2022

MARKUP 0.72 KB
                                           
                         local useKnife = true
local useStake = true

-- Script


local knifeBodies = {4286, 4272, 4173, 4011, 4025, 4047, 4052, 4057, 4062, 4112, 4212, 4321, 4324, 4327, 10352, 10356, 10360, 10364}
local stakeBodies = {4097, 4137, 8738, 18958} 


macro(500,"Stake Bodies", function()

    for i, tile in ipairs(g_map.getTiles(posz())) do
        for u,item in ipairs(tile:getItems()) do
            if useKnife and table.find(knifeBodies, item:getId()) and findItem(3299) then
                useWith(3299, item)
            end
            if useStake and table.find(stakeBodies, item:getId()) and findItem(3299) then
                useWith(3299, item)
            end
        end
    end

end)
                      
                                       
To share this paste please copy this url and send to your friends
RAW Paste Data
Recent Pastes
Ta strona używa plików cookie w celu usprawnienia i ułatwienia dostępu do serwisu oraz prowadzenia danych statystycznych. Dalsze korzystanie z tej witryny oznacza akceptację tego stanu rzeczy.
Wykorzystywanie plików Cookie
Jak wyłączyć cookies?
ROZUMIEM