i need cheats for 13.9

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Jesus8000
Long Handed Inserter
Long Handed Inserter
Posts: 61
Joined: Fri Apr 15, 2016 7:13 pm
Contact:

i need cheats for 13.9

Post by Jesus8000 »

/c local surface = game.local_player.surface;
for y=-2,2 do
for x=-2,2 do
surface.create_entity({name="iron-ore", amount=25000000, position={game.local_player.position.x+x, game.local_player.position.y+y}})
end
end

dosnt work anymore?
i just wanna have some time to build my base, instead of serching and planting mining drills all the time
sorry, my english is not the yellow from the egg.... 4give me
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: i need cheats for 13.9

Post by daniel34 »

Replace local_player with player.
quick links: log file | graphical issues | wiki
Jesus8000
Long Handed Inserter
Long Handed Inserter
Posts: 61
Joined: Fri Apr 15, 2016 7:13 pm
Contact:

Re: i need cheats for 13.9

Post by Jesus8000 »

nice thx brah

finish cheat for all wo serch after these problem in google

/c local surface = game.player.surface;
for y=-2,2 do
for x=-2,2 do
surface.create_entity({name="iron-ore", amount=25000000, position={game.player.position.x+x, game.player.position.y+y}})
end
end
sorry, my english is not the yellow from the egg.... 4give me
Post Reply

Return to “Gameplay Help”