Loading

Paste #pdle3nc1a

  1. switch (FEAT_ROADVEHS, SELF, mk3_open_cargo_switch, cargo_classes & BITMASK(CC_LIQUID, CC_BULK)) {   //switch for reducing capacity for some cargos
  2.         BITMASK(CC_LIQUID): return 10; //barrels hold less than tanker
  3.         BITMASK(CC_BULK): return 7; //can't fill bed with as much bulk as a hopper
  4.         default: return CB_FAILED;
  5. }
  6.  
  7.  
  8. graphics {
  9.         PAPR:       spritegroup_mki_t_open_paper;
  10.         STEL:       spritegroup_mki_t_open_steel;
  11.     METL:       spritegroup_mki_t_open_steel;
  12.         SCMT:       spritegroup_mki_t_open_scrap;
  13.         RCYC:       spritegroup_mki_t_open_scrap;
  14.         COPR:       spritegroup_mki_t_open_copper;
  15.         FOOD:       spritegroup_mki_t_open_food;
  16.         FISH:       spritegroup_mki_t_open_food;
  17.         FRUT:       spritegroup_mki_t_open_fruit;
  18.     IORE:       spritegroup_mki_t_open_ore;
  19.     AORE:       spritegroup_mki_t_open_ore;
  20.     COAL:       spritegroup_mki_t_open_coal;
  21.     COKE:       spritegroup_mki_t_open_coal;
  22.     CORE:       spritegroup_mki_t_open_ore;
  23.         LVST:       spritegroup_mki_t_open_sheep;
  24.     CC_LIQUID:  spritegroup_mki_t_open_drum;
  25.     cargo_capacity: mk3_open_cargo_switch;
  26.         default:    spritegroup_mki_t_open; // Default to crates
  27. }

Comments