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?
How to tell how many of each bot type I have?
Re: How to tell how many of each bot type I have?
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?
This information will be available in 0.12.
Re: How to tell how many of each bot type I have?
God damn release it already, I want it nowww!!1HanziQ wrote:This information will be available in 0.12.
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)
Re: How to tell how many of each bot type I have?
Try this console commands:
/c game.player.print(game.player.force.getentitycount("logistic-robot"))
/c game.player.print(game.player.force.getentitycount("construction-robot"))
/c game.player.print(game.player.force.getentitycount("logistic-robot"))
/c game.player.print(game.player.force.getentitycount("construction-robot"))
-
- 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?
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?
Thanks for the replies!
I'm glad to hear it will show this info in the next version!
I'm glad to hear it will show this info in the next version!