1
0

keywords_en.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <QGen-keywords>
  3. <Statements>
  4. <Keyword name="pl" desc="PL [expression] / *PL [expression] - output text to an additional / main description window, then a new line"/>
  5. <Keyword name="clear" desc="CLEAR / *CLEAR - cleaning additional / the main description window"/>
  6. <Keyword name="clr" desc="CLR / *CLR - cleaning additional / the main description window"/>
  7. <Keyword name="p" desc="P [expression] / *P [expression] - output text to an additional / main description window"/>
  8. <Keyword name="nl" desc="NL [expression] / *NL [expression] - transition to a new line, then output the text to an additional/ main description window"/>
  9. <Keyword name="msg" desc="MSG [expression] - output of the message in the information window"/>
  10. <Keyword name="wait" desc="WAIT [#expression] - stop execution of the program for a specified number of milliseconds"/>
  11. <Keyword name="act" desc="ACT [$variable],[$path to the image]:[operator] &amp; [operator] &amp; ... - adding an action"/>
  12. <Keyword name="delact" desc="DELACT [$variable] / DEL ACT [$variable] - deleting an action"/>
  13. <Keyword name="cla" desc="CLA - clearing the action list"/>
  14. <Keyword name="cmdclear" desc="CMDCLEAR - clearing input line"/>
  15. <Keyword name="cmdclr" desc="CMDCLEAR - clearing input line"/>
  16. <Keyword name="cls" desc="CLS - clears the screen, leaving only a list of items"/>
  17. <Keyword name="menu" desc="MENU [$expression] - displaying a menu with a given name"/>
  18. <Keyword name="settimer" desc="SETTIMER [#expression] - specifies the timer interval for the counter location"/>
  19. <Keyword name="dynamic" desc="DYNAMIC [$line of code],[parameter 1],[parameter 2], ... - dynamic code execution"/>
  20. <Keyword name="set" desc="SET [variable name]=[expression] - setting the value of a variable"/>
  21. <Keyword name="let" desc="LET [variable name]=[expression] - setting the value of a variable"/>
  22. <Keyword name="killvar" desc="KILLVAR [$name],[#index] - delete all variables / specified variable"/>
  23. <Keyword name="copyarr" desc="COPYARR [$array-receiver],[$source array] - copying the contents of an array to another array"/>
  24. <Keyword name="addobj" desc="ADDOBJ [$variable],[$path to the image],[#position] / ADD OBJ [$variable],[$path to the image],[#position] - adding an item"/>
  25. <Keyword name="delobj" desc="DELOBJ [$variable] / DEL OBJ [$variable] - object removal"/>
  26. <Keyword name="killobj" desc="KILLOBJ [#position] - removal of all items / of the item in the given position"/>
  27. <Keyword name="unselect" desc="UNSELECT - cancellation of object selection"/>
  28. <Keyword name="unsel" desc="UNSEL - cancellation of object selection"/>
  29. <Keyword name="killall" desc="KILLALL - delete all variables and items"/>
  30. <Keyword name="opengame" desc="OPENGAME [$expression] - Loading the game state"/>
  31. <Keyword name="openqst" desc="OPENQST [$expression] - opening and launching a game file"/>
  32. <Keyword name="addqst" desc="ADDQST [$expression] - adding locations from the specified file"/>
  33. <Keyword name="killqst" desc="KILLQST - delete all added via ADDQST locations"/>
  34. <Keyword name="savegame" desc="SAVEGAME [$expression] - preservation of the game state"/>
  35. <Keyword name="refint" desc="REFINT - interface update"/>
  36. <Keyword name="showacts" desc="SHOWACTS [#expression] - display / hiding action list"/>
  37. <Keyword name="showinput" desc="SHOWINPUT [#expression] - display / hiding the input line"/>
  38. <Keyword name="showobjs" desc="SHOWOBJS [#expression] - display / hiding a list of items"/>
  39. <Keyword name="showstat" desc="SHOWSTAT [#expression] - display / hiding an additional description window"/>
  40. <Keyword name="if" desc="IF [#expression]:[operator1] &amp; [operator2] &amp; ... ELSE [operator3] &amp; [operator4] &amp; ... - condition"/>
  41. <Keyword name="else" desc="IF [#expression]:[operator1] &amp; [operator2] &amp; ... ELSE [operator3] &amp; [operator4] &amp; ... - condition"/>
  42. <Keyword name="elseif" desc="ELSEIF [#expression]:[operator1] &amp; [operator2] &amp; ... - alternate state"/>
  43. <Keyword name="exit" desc="EXIT - completion of the current code"/>
  44. <Keyword name="end" desc="END - completion of a multi-line form IF / ACT"/>
  45. <Keyword name="jump" desc="JUMP [$expression] - go to the specified label"/>
  46. <Keyword name="gosub" desc="GOSUB [$expression],[parameter 1],[parameter 2], ... - processing of the specified location"/>
  47. <Keyword name="gs" desc="GS [$expression],[parameter 1],[parameter 2], ... - processing of the specified location"/>
  48. <Keyword name="goto" desc="GOTO [$expression],[parameter 1],[parameter 2], ... - go to the specified location"/>
  49. <Keyword name="gt" desc="GT [$expression],[parameter 1],[parameter 2], ... - go to the specified location"/>
  50. <Keyword name="xgoto" desc="XGOTO [$expression],[parameter 1],[parameter 2], ... - go to the specified location without clearing the main description window"/>
  51. <Keyword name="xgt" desc="XGT [$expression],[parameter 1],[parameter 2], ... - go to the specified location without clearing the main description window"/>
  52. <Keyword name="play" desc="PLAY [$path to an audio file],[#volume] - playing an audio file with a specified volume"/>
  53. <Keyword name="close" desc="CLOSE [$path to an audio file] / CLOSE ALL - stop playing a sound file / all sound files"/>
  54. <Keyword name="view" desc="VIEW [$path to the graphic file] - image view"/>
  55. </Statements>
  56. <Expressions>
  57. <Keyword name="and" desc="[#expression 1] AND [#expression 2] - logical &quot;and=&quot;"/>
  58. <Keyword name="or" desc="[#expression 1] OR [#expression 2] - logical &quot;or&quot;"/>
  59. <Keyword name="obj" desc="OBJ [$subject] - checking the presence of an object in a backpack"/>
  60. <Keyword name="loc" desc="LOC [$location] - checking the existence of a location"/>
  61. <Keyword name="no" desc="NO [#expression] - negation"/>
  62. <Keyword name="mod" desc="[#expression 1] MOD [#expression 2] - calculation of the remainder from division"/>
  63. <Keyword name="desc" desc="DESC([$expression]) - returns the text of the basic description of the location"/>
  64. <Keyword name="$desc" desc="$DESC([$expression]) - returns the text of the basic description of the location"/>
  65. <Keyword name="iif" desc="IIF([#expression],[Expression_Yes],[expression_no]) - возвращает одно из выражений по условию"/>
  66. <Keyword name="$iif" desc="$IIF([#expression],[Expression_Yes],[expression_no]) - возвращает одно из выражений по условию"/>
  67. <Keyword name="input" desc="INPUT([expression]) - shows the text input window and returns the entered value"/>
  68. <Keyword name="$input" desc="$INPUT([expression]) - shows the text input window and returns the entered value"/>
  69. <Keyword name="isplay" desc="ISPLAY([$expression]) - checks if the specified file is currently playing"/>
  70. <Keyword name="max" desc="MAX([expression 1],[expression 2], ...) - returns the maximum of the argument values"/>
  71. <Keyword name="$max" desc="$MAX([expression 1],[expression 2], ...) - returns the maximum of the argument values"/>
  72. <Keyword name="min" desc="MIN([expression 1],[expression 2], ...) - returns the minimum of the argument values"/>
  73. <Keyword name="$min" desc="$MIN([expression 1],[expression 2], ...) - returns the minimum of the argument values"/>
  74. <Keyword name="rand" desc="RAND([#expression 1],[#expression 2]) - returns a random number between the given"/>
  75. <Keyword name="rgb" desc="RGB([#red],[#green],[#blue]) - returns color code based on 3 components"/>
  76. <Keyword name="getobj" desc="GETOBJ([#position]) - returns the name of the item located in the given position"/>
  77. <Keyword name="$getobj" desc="$GETOBJ([#position]) - returns the name of the item located in the given position"/>
  78. <Keyword name="dyneval" desc="DYNEVAL([$expression],[parameter 1],[parameter 2], ...) - returns the value of the dynamically evaluated expression"/>
  79. <Keyword name="$dyneval" desc="$DYNEVAL([$expression],[parameter 1],[parameter 2], ...) - returns the value of the dynamically evaluated expression"/>
  80. <Keyword name="func" desc="FUNC([$expression],[parameter 1],[parameter 2], ...) - processing specified location as a function"/>
  81. <Keyword name="$func" desc="$FUNC([$expression],[parameter 1],[parameter 2], ...) - processing specified location as a function"/>
  82. <Keyword name="arrsize" desc="ARRSIZE([$expression]) - returns the number of elements in the specified array"/>
  83. <Keyword name="arrpos" desc="ARRPOS([#starting index],[$array name],[value]) - search in an array of an element with a given value"/>
  84. <Keyword name="instr" desc="INSTR([#initial position],[$text],[$search text]) - search for text occurrences"/>
  85. <Keyword name="isnum" desc="ISNUM([$expression]) - checks if the specified string is a number"/>
  86. <Keyword name="trim" desc="TRIM([$expression]) - removes adjacent spaces and tabs from text"/>
  87. <Keyword name="$trim" desc="$TRIM([$expression]) - removes adjacent spaces and tabs from text"/>
  88. <Keyword name="ucase" desc="UCASE([$expression]) - converts small letters of text to large"/>
  89. <Keyword name="$ucase" desc="$UCASE([$expression]) - converts small letters of text to large"/>
  90. <Keyword name="lcase" desc="LCASE([$expression]) - converts large letters of text into small"/>
  91. <Keyword name="$lcase" desc="$LCASE([$expression]) - converts large letters of text into small"/>
  92. <Keyword name="len" desc="LEN([$expression]) - returns the length of the specified string"/>
  93. <Keyword name="mid" desc="MID([$text],[#start],[#length]) - cuts out a string of the specified length starting from the specified location"/>
  94. <Keyword name="$mid" desc="$MID([$text],[#start],[#length]) - cuts out a string of the specified length starting from the specified location"/>
  95. <Keyword name="replace" desc="REPLACE([$text],[$search text],[$text to replace]) - replaces the specified string in the text"/>
  96. <Keyword name="$replace" desc="$REPLACE([$text],[$search text],[$text to replace]) - replaces the specifieed string in the text"/>
  97. <Keyword name="str" desc="STR([#expression]) - converts a number to a string"/>
  98. <Keyword name="$str" desc="$STR([#expression]) - converts a number to a string"/>
  99. <Keyword name="val" desc="VAL([$expression]) - converts a string to a number"/>
  100. <Keyword name="arrcomp" desc="ARRCOMP([#starting index],[$array name],[$template]) - search in an array of an element corresponding to a regular expression"/>
  101. <Keyword name="strcomp" desc="STRCOMP([$expression],[$template]) - checks the specified text for consistency with a regular expression"/>
  102. <Keyword name="strfind" desc="STRFIND([$expression],[$template],[#number]) - returns a substring, corresponding to the group numbered [#number] regular expression"/>
  103. <Keyword name="$strfind" desc="$STRFIND([$expression],[$template],[#number]) - returns a substring, corresponding to the group numbered [#number] regular expression"/>
  104. <Keyword name="strpos" desc="STRPOS([$expression],[$template],[#number]) - returns the position of the substring, corresponding to the group with the number [#number] regular expression"/>
  105. <Keyword name="countobj" desc="COUNTOBJ -returns the current number of items"/>
  106. <Keyword name="msecscount" desc="MSECSCOUNT - returns the number of milliseconds, elapsed since the start of the game"/>
  107. <Keyword name="rnd" desc="RND - returns a random value from 1 to 1000"/>
  108. <Keyword name="curloc" desc="CURLOC - returns the name of the current location"/>
  109. <Keyword name="$curloc" desc="$CURLOC - returns the name of the current location"/>
  110. <Keyword name="qspver" desc="QSPVER - returns the version of the interpreter"/>
  111. <Keyword name="$qspver" desc="$QSPVER - returns the version of the interpreter"/>
  112. <Keyword name="selobj" desc="SELOBJ - returns the name of the selected item"/>
  113. <Keyword name="$selobj" desc="$SELOBJ - returns the name of the selected item"/>
  114. <Keyword name="selact" desc="SELACT - returns the name of the selected action"/>
  115. <Keyword name="$selact" desc="$SELACT - returns the name of the selected action"/>
  116. <Keyword name="curacts" desc="CURACTS - returns all current actions as code"/>
  117. <Keyword name="$curacts" desc="$CURACTS - returns all current actions as code"/>
  118. <Keyword name="user_text" desc="USER_TEXT - returns text in the input line"/>
  119. <Keyword name="$user_text" desc="$USER_TEXT - returns text in the input line"/>
  120. <Keyword name="usrtxt" desc="USRTXT - returns text in the input line"/>
  121. <Keyword name="$usrtxt" desc="$USRTXT - returns text in the input line"/>
  122. <Keyword name="maintxt" desc="MAINTXT - returns text in the main description window"/>
  123. <Keyword name="$maintxt" desc="$MAINTXT - returns text in the main description window"/>
  124. <Keyword name="stattxt" desc="STATTXT - returns text in an additional description window"/>
  125. <Keyword name="$stattxt" desc="$STATTXT - returns text in an additional description window"/>
  126. </Expressions>
  127. <Variables>
  128. <Keyword name="args" desc="ARGS - array with procedure parametersarray with procedure parameters / function"/>
  129. <Keyword name="$args" desc="$ARGS - array with procedure parameters / function"/>
  130. <Keyword name="result" desc="RESULT - the variable contains the result, returned by the current function"/>
  131. <Keyword name="$result" desc="$RESULT - the variable contains the result, returned by the current function"/>
  132. <Keyword name="disablescroll" desc="DISABLESCROLL - if the variable is not equal to 0, it prohibits auto-scrolling of the text in the output"/>
  133. <Keyword name="disablesubex" desc="DISABLESUBEX - if the variable is not equal to 0, it prohibits the use of &quot;subexpressions&quot; in the text"/>
  134. <Keyword name="nosave" desc="NOSAVE - if the variable is not equal to 0, the user can not save the game state"/>
  135. <Keyword name="debug" desc="DEBUG - if the variable is not equal to 0, then disabling the game ID check when the state is loaded"/>
  136. <Keyword name="$counter" desc="$COUNTER - variable contains the name of the location-counter"/>
  137. <Keyword name="$ongload" desc="$ONGLOAD - variable contains the name of the location-the state load handler"/>
  138. <Keyword name="$ongsave" desc="$ONGSAVE - variable contains the name of the location-a stateful handler"/>
  139. <Keyword name="$onnewloc" desc="$ONNEWLOC - variable contains the name of the location-new location handler"/>
  140. <Keyword name="$onactsel" desc="$ONACTSEL - variable contains the name of the location-the action selector"/>
  141. <Keyword name="$onobjsel" desc="$ONOBJSEL - variable contains the name of the location-object selector handler"/>
  142. <Keyword name="$onobjadd" desc="$ONOBJADD - variable contains the name of the location-addon handler"/>
  143. <Keyword name="$onobjdel" desc="$ONOBJDEL - variable contains the name of the location-object removal handler"/>
  144. <Keyword name="$usercom" desc="$USERCOM - variable contains the name of the location-input line handler"/>
  145. <Keyword name="usehtml" desc="USEHTML - if the variable is not equal to 0, then includes the possibility of using HTML"/>
  146. <Keyword name="bcolor" desc="BCOLOR - the variable contains the background color"/>
  147. <Keyword name="fcolor" desc="FCOLOR - variable contains the main font color"/>
  148. <Keyword name="lcolor" desc="LCOLOR - variable contains the main color of links"/>
  149. <Keyword name="fsize" desc="FSIZE - variable contains the main font size"/>
  150. <Keyword name="$fname" desc="$FNAME - variable contains the name of the main font"/>
  151. <Keyword name="$backimage" desc="$BACKIMAGE - the variable contains the path to the background image"/>
  152. </Variables>
  153. </QGen-keywords>