Loading

Revision differences

Old revision #pb848eosbNew revision #psons6rk3
6 min_compatible_version: 1;  6 min_compatible_version: 1;  
7}  7}  
8  8  
  9produce (primary_produce,  
  10  0, 0, 0,  
  11  production_rate_1 * (128 + LOAD_PERM(0)) / 256,  
  12  production_rate_2 * (128 + LOAD_PERM(0)) / 256,  
  13);  
  14  
9switch (FEAT_INDUSTRIES, SELF, switch_prod_change, [  15switch (FEAT_INDUSTRIES, SELF, switch_prod_change, [  
10  STORE_PERM(extra_callback_info1, 0),  16  STORE_PERM(extra_callback_info1, 0),  
11  extra_callback_info1  17  extra_callback_info1  
12] {  12]) {
13  return 0;  19  return 0;  
14}  20}  
15  21  
  
19  override: 00;  25  override: 00;  
20 }  26 }  
21 graphics {  27 graphics {  
22  random_prod_change: STORE_PERM(extra_callback_info_1, 1);  28  random_prod_change: switch_prod_change;
   29  produce_256_ticks: primary_produce;
23 }  30 }  
24} 31}