Page 1 of 1

Altering counts on copy from assembling machine to chest

Posted: Mon Aug 17, 2015 9:47 am
by Martc
Is there way how can I change default item count that is requesting chest, when you copy blueprint from assembling machine to requester chest?
Something like default_request_amount, or some event that can used to alter requester slots.

Re: Altering counts on copy from assembling machine to chest

Posted: Mon Aug 17, 2015 2:14 pm
by Rseding91
requester_paste_multiplier in the recipe definition. The default is 2 - change it to what you want :)

Re: Altering counts on copy from assembling machine to chest

Posted: Thu Oct 08, 2015 8:31 pm
by Hovadko
Rseding91 wrote:requester_paste_multiplier in the recipe definition. The default is 2 - change it to what you want :)
i am trying to do the same thing. but you manual is not very detailed. could you specify it more clearly please?

Re: Altering counts on copy from assembling machine to chest

Posted: Fri Oct 09, 2015 2:20 pm
by Rseding91
Hovadko wrote:
Rseding91 wrote:requester_paste_multiplier in the recipe definition. The default is 2 - change it to what you want :)
i am trying to do the same thing. but you manual is not very detailed. could you specify it more clearly please?
add "requester_paste_multiplier = #" to the recipe definition you want to have a higher count. Where # is the recipe counts * # the chest will get.

Re: Altering counts on copy from assembling machine to chest

Posted: Fri Oct 09, 2015 9:25 pm
by Hovadko
i have to do it for every recipe? there has to be some global variable no?

Re: Altering counts on copy from assembling machine to chest

Posted: Sat Oct 10, 2015 9:50 am
by prg
Hovadko wrote:i have to do it for every recipe? there has to be some global variable no?
It's not that painful.

Code: Select all

for _, v in pairs(data.raw.recipe) do
        v.requester_paste_multiplier = 10
end