Page 1 of 1
[1.1.34]robot_limit in entity roboport not working
Posted: Fri Jun 04, 2021 7:53 pm
by meifray
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.
Re: [1.1.34]robot_limit in entity roboport not working
Posted: Fri Jun 04, 2021 8:05 pm
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.
Re: [1.1.34]robot_limit in entity roboport not working
Posted: Fri Jun 04, 2021 8:19 pm
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"
Re: [1.1.34]robot_limit in entity roboport not working
Posted: Fri Jun 04, 2021 8:39 pm
by boskid
Given this:
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.
Re: [1.1.34]robot_limit in entity roboport not working
Posted: Fri Jun 04, 2021 8:45 pm
by meifray
sounds fair to me,now I have edited wiki page of roboport prototype.