How to test NPC Parser: Difference between revisions

Content deleted Content added
imported>MartinFuchs
mNo edit summary
imported>MartinFuchs
mNo edit summary
Line 15:
You can launch it with the script runpte.sh or runbte.bat on windows. This will compile the server and tools part, then launch the java dialog
It may be even easier to run it from Eclipse by launching the class games.stendhal.tools.npcparsertestenv.TestEnvDlg .
 
It displays how the parser interprets user input and gives a hint about not yet known words.
You can choose one of the predefined example sentences or write your own text into the input field.
The whole thing is meant to support developers to design their NPC conversations and test how the parser reacts on user input.
One important thing is for example the trigger expression displayed in the right bottom field.
 
 
It says that buy 3,000 cookie matches buy 3 cookies