Loading

nml question

  1. grf {
  2.  grfid : "ZUU0";
  3.  name : string(STR_GRF_NAME);
  4.  desc : string(STR_GRF_DESCRIPTION);
  5.  version: 1;
  6.  min_compatible_version: 1;
  7. }
  8.  
  9. produce (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.  
  15. switch (FEAT_INDUSTRIES, SELF, switch_prod_change, [
  16.   STORE_PERM(extra_callback_info1, 0),
  17.   extra_callback_info1
  18. ]) {
  19.   return 0;
  20. }
  21.  
  22. item (FEAT_INDUSTRIES, item_industry_coal_mine) {
  23.  property {
  24.   substitute: 00; // coal mine
  25.   override: 00;
  26.  }
  27.  graphics {
  28.   random_prod_change: switch_prod_change;
  29.   produce_256_ticks: primary_produce;
  30.  }
  31. }

Version history

Revision # Author Created at
pwjxexar9 Anonymous 23 Jul 2015, 18:19:51 UTC Diff
pb848eosb Anonymous 23 Jul 2015, 18:19:37 UTC Diff
p3cta5jsg Anonymous 23 Jul 2015, 18:12:55 UTC Diff

Comments