Old revision #p3cta5jsg | New revision #pb848eosb | ||
---|---|---|---|
4 | desc : string(STR_GRF_DESCRIPTION); | 4 | desc : string(STR_GRF_DESCRIPTION); |
5 | version: 1; | 5 | version: 1; |
6 | min_compatible_version: 1; | 6 | min_compatible_version: 1; |
7 | } | ||
8 | |||
9 | switch (FEAT_INDUSTRIES, SELF, switch_prod_change, [ | ||
10 | STORE_PERM(extra_callback_info1, 0), | ||
11 | extra_callback_info1 | ||
12 | ] { | ||
13 | return 0; | ||
7 | } | 14 | } |
8 | 15 | ||
9 | item (FEAT_INDUSTRIES, item_industry_coal_mine) { | 16 | item (FEAT_INDUSTRIES, item_industry_coal_mine) { | … | … |
14 | graphics { | 21 | graphics { |
15 | random_prod_change: STORE_PERM(extra_callback_info_1, 1); | 22 | random_prod_change: STORE_PERM(extra_callback_info_1, 1); |
16 | } | 23 | } |
17 | } | 17 | } |
18 | |||
19 | # nmlc output: | ||
20 | # ERROR: "main.nml", line 16: Unrecognized identifier 'extra_callback_info_1' encountered |