produce (secondary_produce,
0, 0, 0,
produced_cargo_waiting_1 * (LOAD_PERM(0) & 0xFFFF) / 256,
produced_cargo_waiting_2 * (LOAD_PERM(0) & 0xFFFF) / 256,
);
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])
item (FEAT_INDUSTRIES, item_industry_cargo) {
property {
substitute: cargo;
override: cargo;
prod_multiplier: [5, 0];
}
graphics {
random_prod_change: switch_prod_change;
monthly_prod_change: monthly_check;
produce_cargo_arrival: secondary_produce;
}
}
FOR_EACH_END