How to change the amount of resource in 1 cell of the resource?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Post Reply
Airat9000
Smart Inserter
Smart Inserter
Posts: 1418
Joined: Fri Mar 28, 2014 12:32 am
Contact:

How to change the amount of resource in 1 cell of the resource?

Post by Airat9000 »

How to change the amount of resource in 1 cell of the resource?

как изменить количество ресурса в 1 ячейке у ресурса?
2019-04-10_3-13-35.png
2019-04-10_3-13-35.png (1.66 MiB) Viewed 923 times

quyxkh
Smart Inserter
Smart Inserter
Posts: 1028
Joined: Sun May 08, 2016 9:01 am
Contact:

Re: How to change the amount of resource in 1 cell of the resource?

Post by quyxkh »

Code: Select all

/c game.player.selected.amount=1e6 -- or … = game.player.selected.amount+1e6 

Airat9000
Smart Inserter
Smart Inserter
Posts: 1418
Joined: Fri Mar 28, 2014 12:32 am
Contact:

Re: How to change the amount of resource in 1 cell of the resource?

Post by Airat9000 »

quyxkh wrote:
Wed Apr 10, 2019 1:21 am

Code: Select all

/c game.player.selected.amount=1e6 -- or … = game.player.selected.amount+1e6 
bad codes
:(
2019-04-10_18-39-27.png
2019-04-10_18-39-27.png (33.97 KiB) Viewed 874 times

robot256
Filter Inserter
Filter Inserter
Posts: 596
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: How to change the amount of resource in 1 cell of the resource?

Post by robot256 »

He gave you a console command to run while you are playing and have your mouse hovered over the resource you want to change. (/c tells the game to execute this code) Did you try to copy it into the game files or something?

Post Reply

Return to “Gameplay Help”