How to tell how many of each bot type I have?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
wwdragon
Long Handed Inserter
Long Handed Inserter
Posts: 91
Joined: Sun Jun 28, 2015 12:16 am
Contact:

How to tell how many of each bot type I have?

Post by wwdragon »

So if I mouse over a provider chest, it shows total bots, but NOT weather they are logistics or construction.

Can anyone explain the way to tell how much of each?
User avatar
Takezu
Fast Inserter
Fast Inserter
Posts: 247
Joined: Sun May 10, 2015 5:46 pm
Contact:

Re: How to tell how many of each bot type I have?

Post by Takezu »

The chest shows only the logistic bots total, and the cunstruction bots that carry stuff at that time. Idle construction bots aren't considert in the number.
User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: How to tell how many of each bot type I have?

Post by HanziQ »

This information will be available in 0.12.
User avatar
Gandalf
Filter Inserter
Filter Inserter
Posts: 294
Joined: Fri Dec 19, 2014 10:15 pm
Contact:

Re: How to tell how many of each bot type I have?

Post by Gandalf »

HanziQ wrote:This information will be available in 0.12.
God damn release it already, I want it nowww!!1
No pressure tho, it's cool…
OS: Linux Mint 19 x64 | desktop: Awesome 4.2  |  Intel Core i5 8600k  |  16GB DDR4  |  NVidia GTX 1050 Ti (driver version: 410.104)    (2019-03)
Udav
Inserter
Inserter
Posts: 23
Joined: Fri May 29, 2015 10:20 pm
Contact:

Re: How to tell how many of each bot type I have?

Post by Udav »

Try this console commands:
/c game.player.print(game.player.force.getentitycount("logistic-robot"))
/c game.player.print(game.player.force.getentitycount("construction-robot"))
PiggyWhiskey
Filter Inserter
Filter Inserter
Posts: 255
Joined: Wed May 13, 2015 5:28 am
Contact:

Re: How to tell how many of each bot type I have?

Post by PiggyWhiskey »

From this forum thread.

Code: Select all

/c 
local ls,cs="logistic-robot","construction-robot";
local log,con = game.forces.player.getentitycount(ls),game.forces.player.getentitycount(cs);
for c in game.getchunks() do
 for _,port in pairs(game.findentitiesfiltered{area={{c.x*32,c.y*32},{c.x*32+32,c.y*32+32}}}) do
 con=con+port.getitemcount(cs);
 log=log+port.getitemcount(ls) end end
 for _,p in pairs(game.players) do p.print(con..cs..", "..log..ls) end
DeamonEngineer wrote:This script was made by a streaming friend of mine to help out my stream goal of 1k bots per follower, the only thing this script doesn't include is bots held on inserter's.
wwdragon
Long Handed Inserter
Long Handed Inserter
Posts: 91
Joined: Sun Jun 28, 2015 12:16 am
Contact:

Re: How to tell how many of each bot type I have?

Post by wwdragon »

Thanks for the replies!

I'm glad to hear it will show this info in the next version! :-D
Post Reply

Return to “Gameplay Help”