Page 1 of 1
How to tell how many of each bot type I have?
Posted: Tue Jun 30, 2015 5:08 pm
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?
Re: How to tell how many of each bot type I have?
Posted: Tue Jun 30, 2015 9:13 pm
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.
Re: How to tell how many of each bot type I have?
Posted: Tue Jun 30, 2015 9:19 pm
by HanziQ
This information will be available in 0.12.
Re: How to tell how many of each bot type I have?
Posted: Tue Jun 30, 2015 11:16 pm
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…
Re: How to tell how many of each bot type I have?
Posted: Wed Jul 01, 2015 9:56 am
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"))
Re: How to tell how many of each bot type I have?
Posted: Wed Jul 01, 2015 11:34 am
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.
Re: How to tell how many of each bot type I have?
Posted: Wed Jul 01, 2015 4:06 pm
by wwdragon
Thanks for the replies!
I'm glad to hear it will show this info in the next version!