[1.1.34]robot_limit in entity roboport not working

Bugs that are actually features.
Post Reply
meifray
Long Handed Inserter
Long Handed Inserter
Posts: 61
Joined: Sat May 29, 2021 6:12 pm
Contact:

[1.1.34]robot_limit in entity roboport not working

Post by meifray »

Image
Image
Image

the weird part is that command was not able to get the robot_limit(and most of roboport property),but item tooltip did,
and that number(25) roboport entity is just ignore it and release all of bot inside.

this experiment is taking place in new world with single roboport,
so logistic network should not be the reason why it work like that.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [1.1.34]robot_limit in entity roboport not working

Post by eradicator »

Not weird at all. The modding API does not have access to everything like the engine does. This thread should be moved to interface requests.
Last edited by eradicator on Fri Jun 04, 2021 8:47 pm, edited 2 times in total.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

meifray
Long Handed Inserter
Long Handed Inserter
Posts: 61
Joined: Sat May 29, 2021 6:12 pm
Contact:

Re: [1.1.34]robot_limit in entity roboport not working

Post by meifray »

well,it is not just that,the difference between tooltip and what happended in logistic network are also matter,
even that robot limit is not the value I set,I was set it to "1"

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2244
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [1.1.34]robot_limit in entity roboport not working

Post by boskid »

Given this:
https://lua-api.factorio.com/1.1.34/LuaLogisticNetwork.html#LuaLogisticNetwork.robot_limit wrote:robot_limit :: uint [Read-only]
Maximum number of robots the network can work with. Currently only used for the personal roboport.
Or this:

Code: Select all

  /** If number of robots in network is larger than robotLimit, logistic cell won't spawn new robots. Used for personal roboport only.  */
  ItemCountType robotLimit = ItemCountType(-1);
i am not considering anything here to be a bug.

meifray
Long Handed Inserter
Long Handed Inserter
Posts: 61
Joined: Sat May 29, 2021 6:12 pm
Contact:

Re: [1.1.34]robot_limit in entity roboport not working

Post by meifray »

sounds fair to me,now I have edited wiki page of roboport prototype.

Post Reply

Return to “Not a bug”