Search found 6 matches

by Offsetpeter
Fri Apr 29, 2016 2:04 pm
Forum: Gameplay Help
Topic: explain some console commands
Replies: 14
Views: 4865

Re: explain some console commands

prg wrote:You have a stray ` at the end.
nice that workt thank you
by Offsetpeter
Fri Apr 29, 2016 1:22 pm
Forum: Gameplay Help
Topic: explain some console commands
Replies: 14
Views: 4865

Re: explain some console commands

so no that dose not work
by Offsetpeter
Fri Apr 29, 2016 10:54 am
Forum: Gameplay Help
Topic: explain some console commands
Replies: 14
Views: 4865

Re: explain some console commands

so if i copy paste this :

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

it wil give me a 5x5 iron ore patch ??
by Offsetpeter
Thu Apr 28, 2016 11:00 pm
Forum: Gameplay Help
Topic: explain some console commands
Replies: 14
Views: 4865

Re: explain some console commands

if you want yes please
let me ask it like this

for example what do i need to put in the console command if i want a 5x5 iron ore deposit
by Offsetpeter
Thu Apr 28, 2016 10:38 pm
Forum: Gameplay Help
Topic: explain some console commands
Replies: 14
Views: 4865

Re: explain some console commands

Open console with ~ or whatever you might have configured, ctrl+v, enter.

i know that yes but the command it self

Add new resource patch
This creates a new 5x5 patch of resources, centered on the player character. For resources other than stone, just change "stone" to "iron-ore", "copper-ore ...
by Offsetpeter
Thu Apr 28, 2016 9:58 pm
Forum: Gameplay Help
Topic: explain some console commands
Replies: 14
Views: 4865

explain some console commands

i am trying to use the console command to add a resources patch but i dont understand the wikipedia

/c local surface = game.local_player.surface;
for y=-2,2 do
for x=-2,2 do
surface.create_entity({name="stone", amount=5000, position={game.local_player.position.x+x, game.local_player.position.y+y ...

Go to advanced search