Page 1 of 1

[Solved] Create Combinator that outputs more than 18 signals

Posted: Thu May 10, 2018 10:30 am
by DARKHAWX
Hi there,

I'm making a type of constant combinator and I need to be able to output more than 18 signals at a time, potentially one for each signal type (including items, colors and alphanumeric symbols). Right now my code all works fine, but since my entity is simply a custom copy of the constant combintator it's still limited to 18 slots. Does anyone know of a way to change this number? Or should doing something else to make an entity that can be connected to the circuit system and output more than 18 signals at a time? Is there a different entity prototype that I should extend?

Re: Create Constant Combinator that outputs more than 18 signals

Posted: Thu May 10, 2018 5:01 pm
by eradicator
You just need to change your prototype.
data.raw["constant-combinator"]["constant-combinator"].item_slot_count = 18

Re: Create Constant Combinator that outputs more than 18 signals

Posted: Thu May 10, 2018 11:06 pm
by DARKHAWX
Thank you! Worked like a charm.