switch (FEAT_TRAINS, SELF, SLUGhopper_wagon_switch, cargo_type_in_veh) {
URAN: spritegroup_SLUGhopper_uranium;
DIAT: spritegroup_SLUGhopper_sugar;
CMNT: spritegroup_SLUGhopper_bauxite;
AORE: spritegroup_SLUGhopper_bauxite;
LIME: spritegroup_SLUGhopper_bauxite;
CTCD: spritegroup_SLUGhopper_candyfloss;
CLAY: spritegroup_SLUGhopper_clay;
POTA: spritegroup_SLUGhopper_clay;
COAL: spritegroup_SLUGhopper_coal;
CORE: spritegroup_SLUGhopper_copperore;
FMSP: spritegroup_SLUGhopper_fertiliser;
FERT: spritegroup_SLUGhopper_fertiliser;
CERE: spritegroup_SLUGhopper_grain;
GRAI: spritegroup_SLUGhopper_grain;
WHEA: spritegroup_SLUGhopper_grain;
MAIZ: spritegroup_SLUGhopper_grain;
IORE: spritegroup_SLUGhopper_ironore;
OLSD: spritegroup_SLUGhopper_oilseeds;
FICR: spritegroup_SLUGhopper_plantfibres;
RUBR: spritegroup_SLUGhopper_rubber;
SCMT: spritegroup_SLUGhopper_scrapmetal;
SAND: spritegroup_SLUGhopper_sand;
GRVL: spritegroup_SLUGhopper_stone;
SUGR: spritegroup_SLUGhopper_sugar;
SGBT: spritegroup_SLUGhopper_sugar;
SGCN: spritegroup_SLUGhopper_sugar;
TOFF: spritegroup_SLUGhopper_toffee;
WOOL: spritegroup_SLUGhopper_wool;
RCYC: spritegroup_SLUGhopper_recyclables;
spritegroup_SLUGhopper_coal;
}