[0.12.26] API: set_request_slot documentation incorrect
Posted: Sun Mar 13, 2016 2:55 am
In Factorio's lua modding API, the documentation for set_request_slot states:
However, testing reveals that the order of the arguments is backwards; the proper order is: request,slot
Code: Select all
set_request_slot(slot, request)
Set a logistic requester slot.
Parameters
slot :: uint: The slot index.
request :: LuaItemStack: What to request.
Note: Useable only on entities that have requester slots.