I would like to use some simple functions for scanning map.
smth like this
for _, tile in ipairs(g_map.getTiles()) do
if getDistanceBetween(pos(), tile:getPosition()) <= 7 then
if tile:getTopLookThing():getId() = "dragon ball id" then
playSound("alarm.wav")
end
end
end
end
auto(100)
If I can find the dragon balls, the cost of the license would be covered for me. 😊