grf { grfid: "NML\33"; name: string(STR_REGRESSION_NAME); desc: string(STR_REGRESSION_DESC); version: 0; min_compatible_version: 0; } /* some computation that requires registers for intermediate values */ switch(FEAT_INDUSTRIES, SELF, callee, (water_distance+layout_num)*(founder_type+founder_colour1)) { return; } switch(FEAT_INDUSTRIES, SELF, caller, (founder_colour2+build_date)*(random_bits+callee)) { return; } item(FEAT_INDUSTRIES, coal_mine) { property { substitute: INDUSTRYTYPE_COAL_MINE; override: INDUSTRYTYPE_COAL_MINE; } graphics { build_prod_change: return caller; } }