spacechem-community-developers / SpaceChem-Community-Edition

Release repository of the SpaceChem Community Edition
39 stars 1 forks source link

[Bug] Re-defining the same component in solution string also does weird things #73

Closed zig1000 closed 3 years ago

zig1000 commented 3 years ago

ieee came up with this one:

image

SOLUTION:QT-2,12345ieee,80-1-15
COMPONENT:'drag-quantum-reactor-s',2,0,''
MEMBER:'instr-start',0,0,128,3,5,0,0
MEMBER:'instr-start',-90,0,32,3,4,0,0
MEMBER:'feature-tunnel',-1,0,1,5,5,0,0
MEMBER:'feature-tunnel',-1,0,1,1,1,0,0
MEMBER:'feature-bonder',-1,0,1,7,5,0,0
MEMBER:'feature-bonder',-1,0,1,6,5,0,0
MEMBER:'feature-sensor',-1,0,1,9,0,0,0
MEMBER:'instr-arrow',90,0,16,1,1,0,0
MEMBER:'instr-arrow',0,0,16,1,3,0,0
MEMBER:'instr-arrow',-90,0,16,3,3,0,0
MEMBER:'instr-arrow',180,0,16,3,1,0,0
MEMBER:'instr-grab',-1,0,32,2,1,0,0
MEMBER:'instr-grab',-1,0,128,7,5,0,0
MEMBER:'instr-grab',-1,0,128,5,5,0,0
MEMBER:'instr-bond',-1,0,128,6,5,0,0
MEMBER:'instr-output',-1,1,32,2,3,0,0
MEMBER:'instr-input',-1,0,32,1,3,0,0
MEMBER:'instr-input',-1,0,128,4,5,0,0
MEMBER:'instr-swap',-1,0,32,3,3,0,0
MEMBER:'instr-swap',-1,0,32,1,1,0,0
MEMBER:'instr-arrow',180,0,64,7,5,0,0
MEMBER:'instr-arrow',0,0,64,5,5,0,0
PIPE:0,4,1
PIPE:1,4,2
COMPONENT:'drag-quantum-reactor-s',2,0,''
MEMBER:'instr-start',0,0,128,3,5,0,0
MEMBER:'instr-start',-90,0,32,3,4,0,0
MEMBER:'feature-tunnel',-1,0,1,5,5,0,0
MEMBER:'feature-tunnel',-1,0,1,1,1,0,0
MEMBER:'feature-bonder',-1,0,1,7,5,0,0
MEMBER:'feature-bonder',-1,0,1,6,5,0,0
MEMBER:'feature-sensor',-1,0,1,9,0,0,0
MEMBER:'instr-arrow',90,0,16,1,1,0,0
MEMBER:'instr-arrow',0,0,16,1,3,0,0
MEMBER:'instr-arrow',-90,0,16,3,3,0,0
MEMBER:'instr-arrow',180,0,16,3,1,0,0
MEMBER:'instr-grab',-1,0,32,2,1,0,0
MEMBER:'instr-grab',-1,0,128,7,5,0,0
MEMBER:'instr-grab',-1,0,128,5,5,0,0
MEMBER:'instr-bond',-1,0,128,6,5,0,0
MEMBER:'instr-output',-1,1,32,2,3,0,0
MEMBER:'instr-input',-1,0,32,1,3,0,0
MEMBER:'instr-input',-1,0,128,4,5,0,0
MEMBER:'instr-swap',-1,0,32,3,3,0,0
MEMBER:'instr-swap',-1,0,32,1,1,0,0
MEMBER:'instr-arrow',180,0,64,7,5,0,0
MEMBER:'instr-arrow',0,0,64,5,5,0,0
PIPE:0,4,1
PIPE:1,4,2
csaboka commented 3 years ago

Looks like this should be an easy fix.

csaboka commented 3 years ago

This will be fixed in the next release.