@bgforge/mls-server 3.1.3 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/out/completion.fallout-ssl.json +50 -50
- package/out/completion.weidu-baf.json +2794 -218
- package/out/completion.weidu-d.json +16 -8
- package/out/completion.weidu-tp2.json +12 -6
- package/out/engine-proc-docs.json +1 -1
- package/out/hover.fallout-ssl.json +50 -50
- package/out/hover.weidu-baf.json +1753 -211
- package/out/hover.weidu-d.json +4 -4
- package/out/hover.weidu-tp2.json +1 -1
- package/out/server.js +448 -438
- package/out/td-plugin.js +1 -1
- package/out/tree-sitter-ssl.wasm +0 -0
- package/out/tree-sitter-weidu_tp2.wasm +0 -0
- package/out/tssl-plugin.js +1 -1
- package/package.json +3 -3
package/out/hover.weidu-d.json
CHANGED
|
@@ -170,25 +170,25 @@
|
|
|
170
170
|
"EXTERN": {
|
|
171
171
|
"contents": {
|
|
172
172
|
"kind": "markdown",
|
|
173
|
-
"value": "```weidu-d-tooltip\nEXTERN [ IF_FILE_EXISTS ] filename stateLabel\n```\nThe dialogue continues at the state with label stateLabel in the file filename.DLG. The whole transition is not compiled if there's IF_FILE_EXISTS and the file filename doesn't exist."
|
|
173
|
+
"value": "```weidu-d-tooltip\nEXTERN filename stateNumber\n```\nTransfer to the given state in the given dialogue file.\n\n---\n\n```weidu-d-tooltip\nEXTERN [ IF_FILE_EXISTS ] filename stateLabel\n```\nThe dialogue continues at the state with label stateLabel in the file filename.DLG. The whole transition is not compiled if there's IF_FILE_EXISTS and the file filename doesn't exist."
|
|
174
174
|
}
|
|
175
175
|
},
|
|
176
176
|
"COPY_TRANS": {
|
|
177
177
|
"contents": {
|
|
178
178
|
"kind": "markdown",
|
|
179
|
-
"value": "```weidu-d-tooltip\nCOPY_TRANS [ SAFE ] filename stateLabel\n```\nThis instructs WeiDU to copy all of the transitions from the state with the given stateLabel in filename.DLG. This copying takes place before all other D Actions. For example, this is a valid transition list: IF ~Before()~ THEN GOTO my_state COPY_TRANS PLAYER1 33 IF ~After()~ THEN EXTERN SOLA 55 If SAFE is specified, COPY_TRANS will not warn about potentially unsafe uses (use this if you know it is safe)."
|
|
179
|
+
"value": "```weidu-d-tooltip\nCOPY_TRANS [ SAFE ] filename stateNumber\n```\nAt the end of the CHAIN text, copy all transitions from the given state in the given file. This is useful for interjections (see INTERJECT). If SAFE is specified, CHAIN will not warn about potentially unsafe uses of COPY_TRANS (use this if you know it is safe).\n\n---\n\n```weidu-d-tooltip\nCOPY_TRANS [ SAFE ] filename stateLabel\n```\nThis instructs WeiDU to copy all of the transitions from the state with the given stateLabel in filename.DLG. This copying takes place before all other D Actions. For example, this is a valid transition list: IF ~Before()~ THEN GOTO my_state COPY_TRANS PLAYER1 33 IF ~After()~ THEN EXTERN SOLA 55 If SAFE is specified, COPY_TRANS will not warn about potentially unsafe uses (use this if you know it is safe)."
|
|
180
180
|
}
|
|
181
181
|
},
|
|
182
182
|
"COPY_TRANS_LATE": {
|
|
183
183
|
"contents": {
|
|
184
184
|
"kind": "markdown",
|
|
185
|
-
"value": "```weidu-d-tooltip\nCOPY_TRANS_LATE [ SAFE ] filename stateLabel\n```\nSame as COPY_TRANS, but is invoked after all other D Actions."
|
|
185
|
+
"value": "```weidu-d-tooltip\nCOPY_TRANS_LATE [ SAFE ] filename stateNumber\n```\nSame as above, but only copy after all the other D Actions have been applied.\n\n---\n\n```weidu-d-tooltip\nCOPY_TRANS_LATE [ SAFE ] filename stateLabel\n```\nSame as COPY_TRANS, but is invoked after all other D Actions."
|
|
186
186
|
}
|
|
187
187
|
},
|
|
188
188
|
"EXIT": {
|
|
189
189
|
"contents": {
|
|
190
190
|
"kind": "markdown",
|
|
191
|
-
"value": "```weidu-d-tooltip\nEXIT\n```\nThe conversation ends."
|
|
191
|
+
"value": "```weidu-d-tooltip\nEXIT\n```\nAt the end of the CHAIN text, exit the dialogue.\n\n---\n\n```weidu-d-tooltip\nEXIT\n```\nThe conversation ends."
|
|
192
192
|
}
|
|
193
193
|
},
|
|
194
194
|
"APPENDI": {
|
package/out/hover.weidu-tp2.json
CHANGED
|
@@ -1478,7 +1478,7 @@
|
|
|
1478
1478
|
"EVALUATE_BUFFER": {
|
|
1479
1479
|
"contents": {
|
|
1480
1480
|
"kind": "markdown",
|
|
1481
|
-
"value": "```weidu-tp2-tooltip\nEVALUATE_BUFFER variable\n```\nUser variables inside the given string are evaluated one additional time. You may prepend `EVALUATE_BUFFER` when a value is called for and you would normally use a string. You may also use it for `SET` and `SPRINT` statements. Example:\n```\nSPRINT x ~y~\nSET y = 5\nSPRINT z EVALUATE_BUFFER ~tricky %%x%%~\nSET EVALUATE_BUFFER \"%x%\" += 77\nPATCH_PRINT \"y is %y% ; z is %z%\"\n```\nThis prints out `y is 82 ; z is tricky 5`. You may also do hackery like `FILE_SIZE \"myfile\" \"%%indirection%%\"`. Be very careful with this feature."
|
|
1481
|
+
"value": "```weidu-tp2-tooltip\nEVALUATE_BUFFER\n```\nAny WeiDU variables (like %myvar%) inside the current file (which should probably be a plain text file in order for this to make much sense) are replaced by their values. Example: <<<<<<<< .../mymod-inlined/script.baf IF See(%myvar%) THEN RESPONSE #100 Kill(%myvar%) END >>>>>>>> EXTEND_TOP ~sola.bcs~ ~.../mymod-inlined/script.baf~ SPRINT myvar = ~\"Anomen\"~ EVALUATE_BUFFER Those two actions extend the top of sola.bcs with the script block IF See(\"Anomen\") THEN RESPONSE #100 Kill(\"Anomen\") END. You can also use EVALUATE_BUFFER in COMPILE actions or before strings in values. You may use EVAL as a synonym for EVALUATE_BUFFER.\n\n---\n\n```weidu-tp2-tooltip\nEVALUATE_BUFFER variable\n```\nUser variables inside the given string are evaluated one additional time. You may prepend `EVALUATE_BUFFER` when a value is called for and you would normally use a string. You may also use it for `SET` and `SPRINT` statements. Example:\n```\nSPRINT x ~y~\nSET y = 5\nSPRINT z EVALUATE_BUFFER ~tricky %%x%%~\nSET EVALUATE_BUFFER \"%x%\" += 77\nPATCH_PRINT \"y is %y% ; z is %z%\"\n```\nThis prints out `y is 82 ; z is tricky 5`. You may also do hackery like `FILE_SIZE \"myfile\" \"%%indirection%%\"`. Be very careful with this feature."
|
|
1482
1482
|
}
|
|
1483
1483
|
},
|
|
1484
1484
|
"EVALUATE_BUFFER_SPECIAL": {
|