Loading

Paste #pzk4pwn6d

  1. produce (secondary_produce,
  2.   0, 0, 0,
  3.   produced_cargo_waiting_1 * (LOAD_PERM(0) & 0xFFFF) / 256,
  4.   produced_cargo_waiting_2 * (LOAD_PERM(0) & 0xFFFF) / 256,
  5. );
  6.  
  7.  
  8. FOR_EACH_BEGIN (cargo in [INDUSTRYTYPE_SAWMILL, INDUSTRYTYPE_OIL_REFINERY, INDUSTRYTYPE_TEMPERATE_FACTORY, INDUSTRYTYPE_TROPICAL_FACTORY, INDUSTRYTYPE_PRINTING_WORKS, INDUSTRYTYPE_STEEL_MILL, INDUSTRYTYPE_FOOD_PROCESSING_PLANT, INDUSTRYTYPE_PAPER_MILL, INDUSTRYTYPE_LUMBER_MILL, INDUSTRYTYPE_SWEETS_FACTORY, INDUSTRYTYPE_TOY_FACTORY, INDUSTRYTYPE_FIZZY_DRINKS_FACTORY])
  9. item (FEAT_INDUSTRIES, item_industry_cargo) {
  10.   property {
  11.     substitute: cargo;
  12.     override: cargo;
  13.     prod_multiplier: [5, 0];
  14.   }
  15.   graphics {
  16.     random_prod_change: switch_prod_change;
  17.     monthly_prod_change: monthly_check;
  18.     produce_cargo_arrival: secondary_produce;
  19.   }
  20. }
  21. FOR_EACH_END

Comments