Formalize connection logic
raoulvdberge opened this issue ยท 0 comments
Colored connection logic is now contained in the cable code. We need to expand it so it will also work for the additional colored variants introduced in #320.
New rules:
- Cable-like parts only connect to:
- Same colored parts/blocks
- Default colored parts/blocks
- Parts/blocks without color
- Full blocks with color connect to:
- Any colored parts/blocks
- Parts/blocks without color
- Full blocks without color connect to:
- Any colored parts/blocks
- Parts/blocks without color