Get Items/Effects under mouse
#31
hotkey("f5", "get items/effects under mouse", function()
local tile = getTileUnderCursor()
if tile then
for i, fx in ipairs(tile:getEffects()) do
warn("fx: " .. fx:getId())
end
for i, fx in ipairs(tile:getItems()) do
warn("item: " .. fx:getId())
end
end
end)
- remove | + add
26 May 2021