Page 1 of 1

help guys

Posted: Sun Aug 16, 2015 12:38 pm
by yousefabo
i love playing factorio with endlees ores

and this is the cmd i ues (0.11)

/c for k, v in pairs(game.findentitiesfiltered{area = {{game.player.position.x - 10, game.player.position.y - 10}, {game.player.position.x + 10, game.player.position.y + 10}}, type="resource"}) do v.amount = 1000000 end

but in 0.12.3 it is not working

can anyone make some adjustment to make it work with 0.12.3

Re: help guys

Posted: Sun Aug 16, 2015 5:11 pm
by DaveMcW
game.get_surface(1).find_entities_filtered

Re: help guys

Posted: Sun Aug 16, 2015 10:55 pm
by yousefabo
thank you so much