|
275 | 275 | "include": "#DialogEvent-priority" |
276 | 276 | }, |
277 | 277 | { |
278 | | - "include": "#AudioEvent-type" |
| 278 | + "include": "#AudioEvent-Type" |
279 | 279 | }, |
280 | 280 | { |
281 | 281 | "include": "#General-Assignment" |
|
343 | 343 | "include": "#Inline-Comment" |
344 | 344 | }, |
345 | 345 | { |
346 | | - "include": "#AudioEvent-type" |
| 346 | + "include": "#AudioEvent-Type" |
| 347 | + }, |
| 348 | + { |
| 349 | + "include": "#AudioEvent-Priority" |
347 | 350 | }, |
348 | 351 | { |
349 | 352 | "include": "#General-Assignment" |
|
353 | 356 | } |
354 | 357 | ] |
355 | 358 | }, |
356 | | - "AudioEvent-type": { |
| 359 | + "AudioEvent-Priority": { |
| 360 | + "begin": "(^[ \\t]+)?([Pp]riority)[ \\t]*(=)[ \\t]*", |
| 361 | + "beginCaptures": { |
| 362 | + "1": { |
| 363 | + "name": "punctuation.whitespace.ini" |
| 364 | + }, |
| 365 | + "2": { |
| 366 | + "name": "variable.name.ini" |
| 367 | + }, |
| 368 | + "3": { |
| 369 | + "name": "keyword.operator.assignment.ini" |
| 370 | + } |
| 371 | + }, |
| 372 | + "end": "$", |
| 373 | + "patterns": [ |
| 374 | + { |
| 375 | + "include": "#Inline-Comment" |
| 376 | + }, |
| 377 | + { |
| 378 | + "include": "#AudioEvent-priority-value" |
| 379 | + }, |
| 380 | + { |
| 381 | + "match": "[^a-zA-Z]+", |
| 382 | + "name": "invalid.illegal.priority.ini" |
| 383 | + } |
| 384 | + ] |
| 385 | + }, |
| 386 | + "AudioEvent-priority-value": { |
| 387 | + "match": "\\b(lowest|LOWEST|low|LOW|normal|NORMAL|high|HIGH|critical|CRITICAL)\\b", |
| 388 | + "name": "variable.other.constant.ini" |
| 389 | + }, |
| 390 | + "AudioEvent-Type": { |
357 | 391 | "begin": "(^[ \\t]+)?([Tt]ype)[ \\t]*(=)[ \\t]*", |
358 | 392 | "beginCaptures": { |
359 | 393 | "1": { |
|
381 | 415 | ] |
382 | 416 | }, |
383 | 417 | "AudioEvent-type-value": { |
384 | | - "match": "(^[ \\t]+)?\\b(ui|voice|player|world|global|shrouded|everyone)\\b", |
| 418 | + "match": "(^[ \\t]+)?\\b(ui|UI|voice|VOICE|player|PLAYER|world|WORLD|global|GLOBAL|shrouded|SHROUDED|everyone|EVERYONE)\\b", |
385 | 419 | "name": "variable.other.constant.ini" |
386 | 420 | }, |
387 | 421 | "ObjectRelated-Class": { |
|
0 commit comments