- add parameters:
- param_boost_lots: 25 = "+10%", 51 = "+20%", ... , 256 = "+100%", .... 512 = "+200%"
- param_boost_few: 25 = "+10%", 51 = "+20%", ... , 256 = "+100%", .... 512 = "+200%"
- produce(THIS_ID(production_256), 0, 0, 0, (LOAD_TEMP(9) * production_rate_1) >> 8, (LOAD_TEMP(9) * production_rate_2) >> 8, 0);
- switch(FEAT_INDUSTRIES, SELF, THIS_ID(produce_256_ticks),
- [STORE_TEMP(
- LOAD_PERM(var_num_supplies_delivered) +
- LOAD_PERM(var_num_supplies_delivered_last) +
- LOAD_PERM(var_num_supplies_delivered_bef_last),
- 8),
- STORE_TEMP((LOAD_TEMP(8) >= SUPPLY_BOOST_QUADRUPLE) ? param_boost_lots : ((LOAD_TEMP(8) >= SUPPLY_BOOST_DOUBLE) ? param_boost_few : 0), 9),
- STORE_PERM(LOAD_TEMP(9), var_current_supplies_prod_factor)
- ]) {
- THIS_ID(production_256);
- }