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

Place to get help with not working mods / modding interface.
User avatar
Reika
Filter Inserter
Filter Inserter
Posts: 583
Joined: Tue May 19, 2015 1:56 am
Contact:

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

Post 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)?
Image

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2904
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

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

Post 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.

User avatar
Reika
Filter Inserter
Filter Inserter
Posts: 583
Joined: Tue May 19, 2015 1:56 am
Contact:

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

Post 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.
Image

Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

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

Post by Nexela »

num_logistic_slots

User avatar
Reika
Filter Inserter
Filter Inserter
Posts: 583
Joined: Tue May 19, 2015 1:56 am
Contact:

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

Post by Reika »

Nexela wrote:num_logistic_slots
Thank you! This needs to be documented somewhere.
Image

Bilka
Factorio Staff
Factorio Staff
Posts: 3305
Joined: Sat Aug 13, 2016 9:20 am
Contact:

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

Post by Bilka »

Reika wrote:
Nexela wrote:num_logistic_slots
Thank you! This needs to be documented somewhere.
Done :D
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.


Post Reply

Return to “Modding help”