That link doesn't mention any groups. If you're talking about fast-replace groups they're not an adequate choice because you don't want to swap between different belt colors etcpp.
I made a demo/prototype mod:
Default is ctrl+r/alt+r to rotate to the next/previous stack (can be changed in control options). Default groups are:
Code: Select all
['yellow-belt'] = {'transport-belt','underground-belt','splitter'},
['red-belt'] = {'fast-transport-belt','fast-underground-belt','fast-splitter'},
['blue-belt'] = {'express-transport-belt','express-underground-belt','express-splitter'},
['poles'] = {'small-electric-pole','medium-electric-pole','big-electric-pole','substation'},
['pipes'] = {'pipe','pipe-to-ground','pump','storage-tank'},
['trains'] = {'locomotive','cargo-wagon','fluid-wagon','artillery-wagon'},
['flooring'] = {'stone-brick','concrete','hazard-concrete','refined-concrete','refined-hazard-concrete','landfill'},
['solar'] = {'solar-panel','accumulator'},
['heat'] = {'heat-pipe','heat-exchanger'},
['signals'] = {'rail-signal','rail-chain-signal'},
['inserters'] = {'long-handed-inserter','fast-inserter','stack-inserter'},
There is a rudimentary command based editing system for groups:
See what groups exist:
Remove a group:
Add one or more groups (groupname can be chosen freely):
Code: Select all
/stackrotate add {groupname = {item1,item2,item3}}
Get the name of the item on the cursor (for creating groups you need to use the internal item name).
Reset to default groups:
Be aware that this is a prototype that hasn't seen much testing. It shouldn't break anything permanently, but you have been warned. Also the group editing commands have no sanity checking whatsoever, so you can mess up your groups quite easily if you want to, use the reset command if something happens.