Commit c59c8a8 1 parent c5b74c6 commit c59c8a8 Copy full SHA for c59c8a8
File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -391,6 +391,24 @@ export class GameParserImpl implements GameParser {
391
391
// In this example, the text would be '>'.
392
392
this . gameText += text ;
393
393
break ;
394
+ case 'spell' :
395
+ // This is a spell name.
396
+ // Example: `<spell>Fire Shards</spell>`
397
+ // In this example, the text would be 'Fire Shards'.
398
+ this . gameText += text ;
399
+ break ;
400
+ case 'left' :
401
+ // This is the name of the item in the character's left hand.
402
+ // Example: `<left>red backpack</left>`
403
+ // In this example, the text would be 'red backpack'.
404
+ this . gameText += text ;
405
+ break ;
406
+ case 'right' :
407
+ // This is the name of the item in the character's right hand.
408
+ // Example: `<right>Empty</right>`
409
+ // In this example, the text would be 'Empty'.
410
+ this . gameText += text ;
411
+ break ;
394
412
}
395
413
}
396
414
You can’t perform that action at this time.
0 commit comments