- switch (FEAT_ROADVEHS, SELF, mk3_open_cargo_switch, cargo_classes & BITMASK(CC_LIQUID, CC_BULK)) { //switch for reducing capacity for some cargos
- BITMASK(CC_LIQUID): return 10; //barrels hold less than tanker
- BITMASK(CC_BULK): return 7; //can't fill bed with as much bulk as a hopper
- default: return CB_FAILED;
- }
- graphics {
- PAPR: spritegroup_mki_t_open_paper;
- STEL: spritegroup_mki_t_open_steel;
- METL: spritegroup_mki_t_open_steel;
- SCMT: spritegroup_mki_t_open_scrap;
- RCYC: spritegroup_mki_t_open_scrap;
- COPR: spritegroup_mki_t_open_copper;
- FOOD: spritegroup_mki_t_open_food;
- FISH: spritegroup_mki_t_open_food;
- FRUT: spritegroup_mki_t_open_fruit;
- IORE: spritegroup_mki_t_open_ore;
- AORE: spritegroup_mki_t_open_ore;
- COAL: spritegroup_mki_t_open_coal;
- COKE: spritegroup_mki_t_open_coal;
- CORE: spritegroup_mki_t_open_ore;
- LVST: spritegroup_mki_t_open_sheep;
- CC_LIQUID: spritegroup_mki_t_open_drum;
- cargo_capacity: mk3_open_cargo_switch;
- default: spritegroup_mki_t_open; // Default to crates
- }