input nml: spriteset(stationset1, "src/gfx/cc_grid.png") { tmpl_groundsprites(1, 1) } spritegroup spritegroup1 { little: [ stationset1 ]; } spriteset(stationset2, "src/gfx/cc_build.png") { tmpl_buildingsprites(1, 1) } spritegroup spritegroup2 { little: [ stationset2 ]; } spritelayout stationlayout2 { ground { sprite: spritegroup1(0, WITHOUT_ORIENTATION) // use sprite 0 for both orientations } building { sprite: spritegroup2(0, WITH_ORIENTATION) // use sprite 0 for X and 0+1 for Y } } switch (FEAT_STATION, SELF, switch3, [ ... ] { ... stationlayout2; } item(FEAT_STATION, station4) { property { ... nothing about layouts here ... } graphics { switch3; } } output grf: action0: layout0: stationlayout2 using var10=0 for ground, var10=1 for building1 layout1: stationlayout2 using var10=0 for ground, var10=1 for building1 and an additional 1 offset in the building for the Y orientation action3 -> varactions according to switch3 -> varaction(var0C) 14: return layout0 default: -> varaction(var10) 0: return stationgroup1 1: return stationgroup2