Loading

Revision differences

Old revision #p3cta5jsgNew 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  
  15switch (FEAT_INDUSTRIES, SELF, switch_prod_change, [  
  16  STORE_PERM(extra_callback_info1, 0),  
  17  extra_callback_info1  
  18]) {  
  19  return 0;  
  20}  
  21  
9item (FEAT_INDUSTRIES, item_industry_coal_mine) {  22item (FEAT_INDUSTRIES, item_industry_coal_mine) {  
10 property {  23 property {  
11  substitute: 00; // coal mine  24  substitute: 00; // coal mine  
12  override: 00;  25  override: 00;  
13 }  26 }  
14 graphics {  27 graphics {  
15  random_prod_change: STORE_PERM(extra_callback_info_1, 1);  28  random_prod_change: switch_prod_change;
   29  produce_256_ticks: primary_produce;
16 }  30 }  
17}  17}
18    
19# nmlc output:    
20# ERROR: "main.nml", line 16: Unrecognized identifier 'extra_callback_info_1' encountered