Just a little suggestion, it is not possible to use find_entities_filtered with an area of one tile, for example:
Code: Select all
game.surfaces[1].find_entities_filtered{
area = {{-17.5,-5.5}, {-17.5,-5.5}}
}
In case of 1 tile area, the function should fallback itself to the use of 'position' and transform my code into:
Code: Select all
game.surfaces[1].find_entities_filtered{
position= {-17.5,-5.5}
}
Regards,