Page 1 of 1

How to create a requester with more than 12 "request slots"?

Posted: Mon Aug 07, 2017 5:06 am
by Reika
This is something that would seem trivial, but there is not actually a value for in the entity prototype. Can it be done, or faked with some scripting hackery (ie sending explicit requests manually)?

Re: How to create a requester with more than 12 "request slots"?

Posted: Mon Aug 07, 2017 5:32 am
by darkfrei
By the control.lua it is read only
http://lua-api.factorio.com/latest/LuaE ... slot_count
request_slot_count :: uint [Read-only]
The number of request slots this entity has.

Re: How to create a requester with more than 12 "request slots"?

Posted: Mon Aug 07, 2017 5:50 am
by Reika
darkfrei wrote:By the control.lua it is read only
http://lua-api.factorio.com/latest/LuaE ... slot_count
request_slot_count :: uint [Read-only]
The number of request slots this entity has.
Yes, I know that. But if I am adding a custom entity type, that is irrelevant.

Re: How to create a requester with more than 12 "request slots"?

Posted: Mon Aug 07, 2017 7:13 am
by Nexela
num_logistic_slots

Re: How to create a requester with more than 12 "request slots"?

Posted: Mon Aug 07, 2017 8:42 am
by Reika
Nexela wrote:num_logistic_slots
Thank you! This needs to be documented somewhere.

Re: How to create a requester with more than 12 "request slots"?

Posted: Mon Aug 07, 2017 9:22 am
by Bilka
Reika wrote:
Nexela wrote:num_logistic_slots
Thank you! This needs to be documented somewhere.
Done :D

Re: How to create a requester with more than 12 "request slots"?

Posted: Mon Aug 07, 2017 10:35 am
by darkfrei
It was in Januar, from IRC viewtopic.php?t=40929&p=241759