# dir: n|e|s|w
# res: h|f|g

# empty: 0
# source: 1|dir|res|res|res...
# sink: 2|dir|spriteIndex|res|amount|res|amount...
# straight: 3|dir
# corner_cw: 4|dir
# corner_ccw: 5|dir
# junction: 6|dir

1|e|h|f,3|e,3|e,4|e,0,0,0,0,0,0,0,0
0,0,0,3|s,0,0,0,0,0,0,0,0
0,0,0,5|s,4|e,0,0,0,0,0,0,0
0,0,0,0,2|n|0|h|1|f|1,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0,0,0
