Code: Select all
{
blueprint: {
icons: [
{
signal: { type: 'item', name: 'constant-combinator' },
index: 1
}
],
entities: [
{
name: 'small-lamp',
connections: {
'1': {
red: [ { entity_id: 2, circuit_id: 1 } ],
green: [ { entity_id: 3 } ]
}
},
position: { x: 0.5, y: 0.5 },
entity_number: 1
},
{
name: 'decider-combinator',
connections: {
'1': { red: [ { entity_id: 1 } ] }
},
position: { x: 1.5, y: 0.5 },
direction: 2,
entity_number: 2
},
{
name: 'small-lamp',
connections: {
'1': {
red: [ { entity_id: 4, circuit_id: 1 } ],
green: [ { entity_id: 1 } ]
}
},
position: { x: 0.5, y: 1.5 },
entity_number: 3
},
{
name: 'decider-combinator',
connections: {
'1': { red: [ { entity_id: 3 } ] }
},
position: { x: 1.5, y: 1.5 },
direction: 2,
entity_number: 4
}
],
item: 'blueprint',
version: 281479277838336
}
}
Non-working bp:
Code: Select all
{
blueprint: {
icons: [
{
signal: { type: 'item', name: 'constant-combinator' },
index: 1
}
],
entities: [
{
name: 'small-lamp',
connections: {
'1': { red: [ { entity_id: 2 } ], green: [ { entity_id: 3 } ] }
},
position: { x: 0.5, y: 0.5 },
entity_number: 1
},
{
name: 'decider-combinator',
connections: {
'1': { red: [ { entity_id: 1 } ] }
},
position: { x: 1.5, y: 0.5 },
direction: 2,
entity_number: 2
},
{
name: 'small-lamp',
connections: {
'1': { red: [ { entity_id: 4 } ], green: [ { entity_id: 1 } ] }
},
position: { x: 0.5, y: 1.5 },
entity_number: 3
},
{
name: 'decider-combinator',
connections: {
'1': { red: [ { entity_id: 3 } ] }
},
position: { x: 1.5, y: 1.5 },
direction: 2,
entity_number: 4
}
],
item: 'blueprint',
version: 281479277838336
}
}
I don't understand how the green wire is affected by the definition of the red wire though. That seems like a bug.
Expected result:
- Both blueprints should work the same (not true here).
- Red wire definitions shouldn't affect green wire definitions (not true here).
- I should be able to leave out circuit_id if it connects to 1 (input) on a arithmetic/decider (true here for the red wire, it still works, but false in the sense that other "unrelated" parts of the blueprint breaks.)