@bgforge/mls-server 3.6.0 → 3.8.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 +6 -6
- package/out/completion.fallout-ssl.json +4 -4
- package/out/completion.weidu-baf.json +2 -2
- package/out/completion.weidu-d.json +2 -2
- package/out/completion.weidu-tp2.json +4165 -70
- package/out/hover.fallout-ssl.json +4 -4
- package/out/hover.weidu-baf.json +2 -2
- package/out/hover.weidu-d.json +2 -2
- package/out/hover.weidu-tp2.json +70 -70
- package/out/server.js +17996 -6193
- package/out/td-plugin.js +1 -1
- package/out/td-runtime.d.ts +126 -68
- package/out/web-tree-sitter.wasm +0 -0
- package/package.json +35 -34
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
"game_ui_disable": {
|
|
459
459
|
"contents": {
|
|
460
460
|
"kind": "markdown",
|
|
461
|
-
"value": "```fallout-ssl-tooltip\nvoid game_ui_disable\n```\nDisables game user-interface input from the player (to
|
|
461
|
+
"value": "```fallout-ssl-tooltip\nvoid game_ui_disable\n```\nDisables game user-interface input from the player (to 'lock-out' the player). You *MUST* make sure to re-enable the UI at some point afterwards."
|
|
462
462
|
}
|
|
463
463
|
},
|
|
464
464
|
"game_ui_enable": {
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
"game_ui_is_disabled": {
|
|
471
471
|
"contents": {
|
|
472
472
|
"kind": "markdown",
|
|
473
|
-
"value": "```fallout-ssl-tooltip\nint game_ui_is_disabled\n```\nReturns True if the game UI is currently disabled (the player is currently
|
|
473
|
+
"value": "```fallout-ssl-tooltip\nint game_ui_is_disabled\n```\nReturns True if the game UI is currently disabled (the player is currently 'locked-out'), and False otherwise."
|
|
474
474
|
}
|
|
475
475
|
},
|
|
476
476
|
"gdialog_barter": {
|
|
@@ -842,7 +842,7 @@
|
|
|
842
842
|
"obj_type": {
|
|
843
843
|
"contents": {
|
|
844
844
|
"kind": "markdown",
|
|
845
|
-
"value": "```fallout-ssl-tooltip\nint obj_type(ObjectPtr obj)\n```\nReturns the type of an object (obj). This would be
|
|
845
|
+
"value": "```fallout-ssl-tooltip\nint obj_type(ObjectPtr obj)\n```\nReturns the type of an object (obj). This would be 'Item', 'Wall', 'Scenery', etc."
|
|
846
846
|
}
|
|
847
847
|
},
|
|
848
848
|
"obj_unlock": {
|
|
@@ -944,7 +944,7 @@
|
|
|
944
944
|
"reg_anim_animate_forever": {
|
|
945
945
|
"contents": {
|
|
946
946
|
"kind": "markdown",
|
|
947
|
-
"value": "```fallout-ssl-tooltip\nvoid reg_anim_animate_forever(ObjectPtr what, int anim, int delay)\n```\nAdds a single, in-place animation on an object (what) to an animation sequence-list, at a given delay from the previous animation (delay should always be -1)! This animation will animate continuously until something in the system interrupts it. To be used *very* sparingly, for instance Gizmo's sign and the
|
|
947
|
+
"value": "```fallout-ssl-tooltip\nvoid reg_anim_animate_forever(ObjectPtr what, int anim, int delay)\n```\nAdds a single, in-place animation on an object (what) to an animation sequence-list, at a given delay from the previous animation (delay should always be -1)! This animation will animate continuously until something in the system interrupts it. To be used *very* sparingly, for instance Gizmo's sign and the 'pray' signs in the children of the cathedral (which will have to be toned down)."
|
|
948
948
|
}
|
|
949
949
|
},
|
|
950
950
|
"reg_anim_animate_reverse": {
|
package/out/hover.weidu-baf.json
CHANGED
|
@@ -1430,13 +1430,13 @@
|
|
|
1430
1430
|
"RandomTurn": {
|
|
1431
1431
|
"contents": {
|
|
1432
1432
|
"kind": "markdown",
|
|
1433
|
-
"value": "```weidu-baf-tooltip\nRandomTurn()\n```\nThis action causes the active creature to turn in a random direction. The example script is from waitturn.bcs.\n```\nIF\n True()\nTHEN\n RESPONSE #100\n RandomTurn()\nEND\n```\n\n* This action will never stop, (unless interrupted in specific situations), and thus never leave the action list.\n* Executes [Wait()](https://gibberlings3.github.io/iesdp/scripting/actions/bg2actions.htm#63) for a random amount of time, (1
|
|
1433
|
+
"value": "```weidu-baf-tooltip\nRandomTurn()\n```\nThis action causes the active creature to turn in a random direction. The example script is from waitturn.bcs.\n```\nIF\n True()\nTHEN\n RESPONSE #100\n RandomTurn()\nEND\n```\n\n* This action will never stop, (unless interrupted in specific situations), and thus never leave the action list.\n* Executes [Wait()](https://gibberlings3.github.io/iesdp/scripting/actions/bg2actions.htm#63) for a random amount of time, (1-40 seconds), if the creature goes off-screen.\n* Waits 1-10 seconds between each evaluation.\n"
|
|
1434
1434
|
}
|
|
1435
1435
|
},
|
|
1436
1436
|
"RandomWalk": {
|
|
1437
1437
|
"contents": {
|
|
1438
1438
|
"kind": "markdown",
|
|
1439
|
-
"value": "```weidu-baf-tooltip\nRandomWalk()\n```\nThis action causes the active creature to walk randomly, staying within the current area. The example script is blbear.bcs; it instructs bears to walk rather than fight if the nearest enemy is a druid.\n```\nIF\n Delay(5)\n See(NearestEnemyOf(Myself))\n Class(NearestEnemyOf(Myself),DRUID)\n NumCreatureGT([ENEMY],1)\nTHEN\n RESPONSE #100\n RandomWalk()\nEND\n```\n\n* This action will never stop, (unless interrupted in specific situations), and thus never leave the action list.\n* Executes [Wait()](https://gibberlings3.github.io/iesdp/scripting/actions/bg2actions.htm#63) for a random amount of time, (1
|
|
1439
|
+
"value": "```weidu-baf-tooltip\nRandomWalk()\n```\nThis action causes the active creature to walk randomly, staying within the current area. The example script is blbear.bcs; it instructs bears to walk rather than fight if the nearest enemy is a druid.\n```\nIF\n Delay(5)\n See(NearestEnemyOf(Myself))\n Class(NearestEnemyOf(Myself),DRUID)\n NumCreatureGT([ENEMY],1)\nTHEN\n RESPONSE #100\n RandomWalk()\nEND\n```\n\n* This action will never stop, (unless interrupted in specific situations), and thus never leave the action list.\n* Executes [Wait()](https://gibberlings3.github.io/iesdp/scripting/actions/bg2actions.htm#63) for a random amount of time, (1-40 seconds), if the creature goes off-screen.\n* Has a 50/50 chance to [MoveToPoint()](https://gibberlings3.github.io/iesdp/scripting/actions/bg2actions.htm#23), or do a pass of [RandomTurn()](https://gibberlings3.github.io/iesdp/scripting/actions/bg2actions.htm#130), (including [RandomTurn()](https://gibberlings3.github.io/iesdp/scripting/actions/bg2actions.htm#130)'s wait time).\n"
|
|
1440
1440
|
}
|
|
1441
1441
|
},
|
|
1442
1442
|
"RandomWalkContinuous": {
|
package/out/hover.weidu-d.json
CHANGED
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
"END": {
|
|
189
189
|
"contents": {
|
|
190
190
|
"kind": "markdown",
|
|
191
|
-
"value": "```weidu-d-tooltip\nEND\n```\nBlock terminator for APPEND, EXTEND_TOP, EXTEND_BOTTOM, state, ALTER_TRANS, and other constructs.\n\n---\nChain epilogue: `END transition list`
|
|
191
|
+
"value": "```weidu-d-tooltip\nEND\n```\nBlock terminator for APPEND, EXTEND_TOP, EXTEND_BOTTOM, state, ALTER_TRANS, and other constructs.\n\n---\nChain epilogue: `END transition list` - execute the given transitions after the final state in the CHAIN."
|
|
192
192
|
}
|
|
193
193
|
},
|
|
194
194
|
"IF": {
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
"EXTERN": {
|
|
273
273
|
"contents": {
|
|
274
274
|
"kind": "markdown",
|
|
275
|
-
"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.\n\n---\nChain epilogue: `EXTERN filename stateNumber`
|
|
275
|
+
"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.\n\n---\nChain epilogue: `EXTERN filename stateNumber` - transfer to the given state in the given dialogue file."
|
|
276
276
|
}
|
|
277
277
|
},
|
|
278
278
|
"GOTO": {
|