Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /c local surface=game.player.surface
- local oreName="iron-ore"
- local size=5
- local density=999999999999999
- for y=-size, size do
- for x=-size, size do
- surface.create_entity({name=oreName, amount=density, position={game.player.position.x+x, game.player.position.y+y}})
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement