Page 1 of 1

Prototype properties documentation?

Posted: Tue Apr 18, 2017 9:22 pm
by Freaky
Hi,

I was looking at the different prototypes and their properties and stumbled over this:

Code: Select all

{
  type = "logistic-robot",
  min_to_charge = 0.2,
  max_to_charge = 0.95,
  transfer_distance = 0.5,
  .......
}
I found this nice list of prototype-documentation, but the documentation for robots is not yet there:
https://wiki.factorio.com/index.php?tit ... efinitions

Can anyone explain to me, what those properties mean exactly?

Thanks in advance.

Freaky

Re: Prototype properties documentation?

Posted: Wed Apr 19, 2017 11:05 am
by pieppiep
I can't find anything about it, but maybe you can experiment with the values.
Maybe make 2 types, one with original settings and the other with changed settings.

My guess based on the naming would be min_to_charge the parts of the max energy when the robot pauses it's action and will try to charge at a roboport.
Max_to_charge might be about when the robot finishes an action and is still above this value it can immediately start another action. If there are no bots above max_to_charge a bot below this value will be choosen.
But that's all guesses, so experimenting will be necessary to confirm it.

Re: Prototype properties documentation?

Posted: Fri Apr 21, 2017 1:29 pm
by Freaky
Thanks, pieppiep.

Your explanation seems plausible :)

In all the mods, I've downloaded so far from the mod-portal, they never changed those 3 properties. So they either are good as they are or are unimportant ;)

Ciao, Freaky