I am trying to use codeable splitters for some smart routing. According to documentation splitters have a getItem() method that returns an Item object of any queued inputs to be split. This function does not appear to exist on the object however... looking at the storage refill example I notice there is splitter:getInput which is undocumented but sounds like it might do what I want but the object that returns is very opaque and does not appear to be an Item type so I cannot use it do what I need, specifically get the name of the item waiting to be input so I can decide if I should send it left, right, or proceed forwards.
The storage refill example probably should not use an undocumented function (searched the docs for getInput which is a prefix to some method names but not a method of its own I could find) and the documented functions such as splitter:getInput should exist.
Using 0.0.4 installed by latest SML for the latest Satisfactory at time of writing.
I am trying to use codeable splitters for some smart routing. According to documentation splitters have a getItem() method that returns an Item object of any queued inputs to be split. This function does not appear to exist on the object however... looking at the storage refill example I notice there is splitter:getInput which is undocumented but sounds like it might do what I want but the object that returns is very opaque and does not appear to be an Item type so I cannot use it do what I need, specifically get the name of the item waiting to be input so I can decide if I should send it left, right, or proceed forwards.
The storage refill example probably should not use an undocumented function (searched the docs for getInput which is a prefix to some method names but not a method of its own I could find) and the documented functions such as splitter:getInput should exist.
Using 0.0.4 installed by latest SML for the latest Satisfactory at time of writing.