Loading

Paste #p3kamjev2

  1. grf {
  2.     grfid: "NML\33";
  3.     name: string(STR_REGRESSION_NAME);
  4.     desc: string(STR_REGRESSION_DESC);
  5.     version: 0;
  6.     min_compatible_version: 0;
  7. }
  8.  
  9. /* some computation that requires registers for intermediate values */
  10. switch(FEAT_INDUSTRIES, SELF, callee, (water_distance+layout_num)*(founder_type+founder_colour1)) {
  11.     return;
  12. }
  13.  
  14. switch(FEAT_INDUSTRIES, SELF, caller, (founder_colour2+build_date)*(random_bits+callee)) {
  15.     return;
  16. }
  17.  
  18. item(FEAT_INDUSTRIES, coal_mine) {
  19.     property {
  20.         substitute: INDUSTRYTYPE_COAL_MINE;
  21.         override: INDUSTRYTYPE_COAL_MINE;
  22.     }
  23.     graphics {
  24.         build_prod_change: return caller;
  25.     }
  26. }
  27.  

Comments