|
47 | 47 | <key>comment</key> |
48 | 48 | <string> |
49 | 49 | parameters with any numeric values |
50 | | - animation_time, animation_time_open, animation_time_closed, axle_load, build_time, capacity, catg, chance, clusters, cost, dims, distributionweight, electricity_amount, electricity_boost, electricity_demand, expand_minimum, expand_probability, expand_range, expand_times, fixed_cost, gear, hq_level, intro_year, level, length, loading_time, mail_boost, mail_demand, maintenance, max_fields, max_height, max_length, max_lenght, max_weight, min_fields, min_speed, offset_left, passengers, passenger_boost, passenger_demand, payload, pax_level, pillar_distance, power, probability_to_spawn, productivity, range, retire_year, runningcost, smokeoffset, smoketile, smokespeed, sound_nr, speed_bonus, start_fields, station_capacity, station_maintenance, station_price, system_type, topspeed, value, weight, weight_per_unit |
| 50 | + animation_time, animation_time_open, animation_time_closed, axle_load, build_time, capacity, catg, chance, clusters, cost, dims, distributionweight, electricity_amount, electricity_boost, electricity_demand, expand_minimum, expand_probability, expand_range, expand_times, fixed_cost, gear, hq_level, intro_year, level, length, loading_time, mail_boost, mail_demand, maintenance, max_fields, max_height, max_length, max_lenght, max_weight, min_fields, min_speed, offset_left, passengers, passenger_boost, passenger_demand, payload, pax_level, pillar_distance, power, probability_to_spawn, productivity, range, retire_year, runningcost, smokeoffset, smoketile, sound_interval, sound_nr, speed_bonus, start_fields, station_capacity, station_maintenance, station_price, system_type, topspeed, value, weight, weight_per_unit |
51 | 51 | </string> |
52 | 52 | <key>match</key> |
53 | | - <string>(^(([mM]ax_[lL]enght)|([sS]tation_([cC]apacity|maintenance))|([sS]tation_[pP]rice)|([eE]lectricity_[aA]mount)|[aA](xle_[lL]oad|nimation_[tT]ime(_([oO]pen|[cC]losed))?)|[bB]uild_[tT]ime|[cC](apacity|atg|hance|lusters)|([fF]ixed_|[rR]unning)?[cC]ost|[dD](ims|istribution[wW]eight)|[eE]xpand_([pP]robability|[mM]inimum|[rR]ange|[tT]imes)|([eE]lectricity|[pP]assenger|[mM]ail)_([bB]oost|[dD]emand)|[gG]ear|([hH][qQ]_)?[lL]evel|([iI]ntro|[rR]etire)_year|[lL](ength|oading_[tT]ime)|[mM](aintenance|ax_([fF]ields|[hH]eight|[lL]ength|[wW]eight)|in_([fF]ields|[sS]peed))|[oO]ffset_[lL]eft|[pP](assengers|ay[lL]oad|ax_[lL]evel|illar_[dD]istance|ower|robability_[tT]o_[sS]pawn|roductivity)|[sS](moke([oO]ffset|[tT]ile|[sS]peed)|peed_[bB]onus|ound_[nN]r|tart_[fF]ields|ystem_[tT]ype)|[rR]ange|[tT]op[sS]peed|[vV]alue|[wW]eight(_per_unit)?))\b([ \t]*=[ \t]*[-]?(\d+)\b)?</string> |
| 53 | + <string>(^(([mM]ax_[lL]enght)|([sS]tation_([cC]apacity|maintenance))|([sS]tation_[pP]rice)|([eE]lectricity_[aA]mount)|[aA](xle_[lL]oad|nimation_[tT]ime(_([oO]pen|[cC]losed))?)|[bB]uild_[tT]ime|[cC](apacity|atg|hance|lusters)|([fF]ixed_|[rR]unning)?[cC]ost|[dD](ims|istribution[wW]eight)|[eE]xpand_([pP]robability|[mM]inimum|[rR]ange|[tT]imes)|([eE]lectricity|[pP]assenger|[mM]ail)_([bB]oost|[dD]emand)|[gG]ear|([hH][qQ]_)?[lL]evel|([iI]ntro|[rR]etire)_year|[lL](ength|oading_[tT]ime)|[mM](aintenance|ax_([fF]ields|[hH]eight|[lL]ength|[wW]eight)|in_([fF]ields|[sS]peed))|[oO]ffset_[lL]eft|[pP](assengers|ay[lL]oad|ax_[lL]evel|illar_[dD]istance|ower|robability_[tT]o_[sS]pawn|roductivity)|[sS](moke([oO]ffset|[tT]ile)|peed_[bB]onus|ound_([iI]nterval|[nN]r)|tart_[fF]ields|ystem_[tT]ype)|[rR]ange|[tT]op[sS]peed|[vV]alue|[wW]eight(_per_unit)?))\b([ \t]*=[ \t]*[-]?(\d+)\b)?</string> |
54 | 54 | <key>captures</key> |
55 | 55 | <dict> |
56 | 56 | <key>1</key> |
|
78 | 78 | <key>name</key> |
79 | 79 | <string>invalid.deprecated.parameter.use-electricity_demand.simutrans_dat</string> |
80 | 80 | </dict> |
81 | | - <key>28</key> |
| 81 | + <key>29</key> |
82 | 82 | <dict> |
83 | 83 | <key>name</key> |
84 | 84 | <string>constant.numeric.value.simutrans_dat</string> |
|
136 | 136 | </dict> |
137 | 137 | <dict> |
138 | 138 | <key>comment</key> |
139 | | - <string>fields, freightimagetype, inputgood, inputsupplier, outputgood, outputsupplier parameter</string> |
| 139 | + <string>fields, freightimagetype, inputgood, inputsupplier, outputgood parameters</string> |
140 | 140 | <key>match</key> |
141 | | - <string>(^([fF](ields|reight[iI]mage[tT]ype)|([iI]n|[oO]ut)put([gG]ood|[sS]upplier))(\[(\d+)\])?)([ \t]*=[ \t]*([ -.+\w]+))?</string> |
| 141 | + <string>(^([fF](ields|reight[iI]mage[tT]ype)|([iI]n|[oO]ut)put[gG]ood)(\[(\d+)\])?)([ \t]*=[ \t]*([ -.+\w]+))?</string> |
142 | 142 | <key>captures</key> |
143 | 143 | <dict> |
144 | 144 | <key>1</key> |
145 | 145 | <dict> |
146 | 146 | <key>name</key> |
147 | 147 | <string>entity.name.tag.parameter.simutrans_dat</string> |
148 | 148 | </dict> |
149 | | - <key>7</key> |
| 149 | + <key>6</key> |
150 | 150 | <dict> |
151 | 151 | <key>name</key> |
152 | 152 | <string>constant.numeric.value.simutrans_dat</string> |
153 | 153 | </dict> |
154 | | - <key>9</key> |
| 154 | + <key>8</key> |
155 | 155 | <dict> |
156 | 156 | <key>name</key> |
157 | 157 | <string>string.value.simutrans_dat</string> |
|
162 | 162 | <key>comment</key> |
163 | 163 | <string>inputcapacity, inputfactor, outputcapacity, outputfactor, production_per_field, spawn_weight, storage_capacity parameter</string> |
164 | 164 | <key>match</key> |
165 | | - <string>(^(([iI]n|[oO]ut)put([cC]apacity|[fF]actor)|[pP]roduction_[pP]er_[fF]ield|[sS](pawn_[wW]eight|torage_[cC]apacity))(\[(\d+)\])?)([ \t]*=[ \t]*(\d+)\b)?</string> |
| 165 | + <string>(^(([iI]n|[oO]ut)put([cC]apacity|[fF]actor)|[iI]nput[sS]upplier|[pP]roduction_[pP]er_[fF]ield|[sS](pawn_[wW]eight|torage_[cC]apacity))(\[(\d+)\])?)([ \t]*=[ \t]*(\d+)\b)?</string> |
166 | 166 | <key>captures</key> |
167 | 167 | <dict> |
168 | 168 | <key>1</key> |
|
0 commit comments