@bgforge/mls-server 3.16.2 → 3.17.0
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 +3 -2
- package/out/compile-worker.js +10 -8
- package/out/completion.weidu-baf.json +4 -4
- package/out/server.js +224 -223
- package/out/td-plugin.js +1 -1
- package/out/tree-sitter-weidu_tp2.wasm +0 -0
- package/out/ts-morph-worker.js +165 -165
- package/package.json +8 -4
- package/out/fallout-ssl-engine-proc-docs.json +0 -29
- package/out/fallout-ssl-engine-procedures.json +0 -29
|
@@ -3147,7 +3147,7 @@
|
|
|
3147
3147
|
"category": "actions",
|
|
3148
3148
|
"documentation": {
|
|
3149
3149
|
"kind": "markdown",
|
|
3150
|
-
"value": "```weidu-baf-tooltip\nSetTokenGlobal(S:GLOBAL, S:Scope, S:Token)\n```\nThis action sets the specified token to the given variable (in the specified scope). The example script will display 100 over the head of the active creature.\n```\nIF\n Global(\"Value\",\"GLOBAL\",0)\nTHEN\n RESPONSE #100\n SetGlobal(\"Value\",\"GLOBAL\",100)\n SetTokenGlobal(\"Value\",\"GLOBAL\",\"PPOINTS\")\n DisplayStringHead(Myself,63037) //63037 is
|
|
3150
|
+
"value": "```weidu-baf-tooltip\nSetTokenGlobal(S:GLOBAL, S:Scope, S:Token)\n```\nThis action sets the specified token to the given variable (in the specified scope). The example script will display 100 over the head of the active creature.\n```\nIF\n Global(\"Value\",\"GLOBAL\",0)\nTHEN\n RESPONSE #100\n SetGlobal(\"Value\",\"GLOBAL\",100)\n SetTokenGlobal(\"Value\",\"GLOBAL\",\"PPOINTS\")\n DisplayStringHead(Myself,63037) //63037 is <PPOINTS> for me\nEND\n```"
|
|
3151
3151
|
}
|
|
3152
3152
|
},
|
|
3153
3153
|
{
|
|
@@ -3187,7 +3187,7 @@
|
|
|
3187
3187
|
"category": "actions",
|
|
3188
3188
|
"documentation": {
|
|
3189
3189
|
"kind": "markdown",
|
|
3190
|
-
"value": "```weidu-baf-tooltip\nSetupWish(I:Column, I:Count)\n```\nThis action instructs the engine to use the specified column of [WISH.2DA](https://gibberlings3.github.io/iesdp/files/2da/2da_tob/wish.htm), randomly select 5 choices (rows; count appears hardcoded) and set the appropriate globals for those spells. Once the maximum \"wish choices\" have been selected, the dialog continues and casts the selected spell.\nFrom a dialog:\n```\nIF ~CheckStatGT(LastTalkedToBy,17,WIS)~ THEN DO ~SetupWish(4,1)~ GOTO 8\nIF ~Global(\"WishPower01\",\"GLOBAL\",1)~ THEN REPLY #72526 /* ~'Breach' on everyone in the area, including the party.~ */\n DO ~ActionOverride(LastTalkedToBy,ForceSpellRES(\"spwish26\",Myself)) ApplySpell(Myself,POOF_GONE)~ EXIT\n```\nThe key is the `Global(\"WishPower**\",\"GLOBAL\",1)`. The highest is \"WishPower37\", and the highest number in the WISH.2DA is also 37. There are a total of 46 SPWISH\\*\\*.SPL files, but 9 are unused:\n* SPWISH01 STR Bonus +1\n* SPWISH02 INT Bonus +1\n* SPWISH03 DEX Bonus +1\n* SPWISH04 CON Bonus +1\n* SPWISH05 WIS Bonus +1\n* SPWISH06 CHA Bonus +1\n* SPWISH07 Restoration\n* SPWISH09 Globe of Blades\n* SPWISH15 Gain 10,000 Gold (Party)\nLooking at the spells that have a \"WishPower\\*\\*\" next to them, this list can be derived (sorted by Wisdom level (E=enemies, P=party, C=caster A=All)):\n```\nLow (9-) Medium (10-14) High (15-17) Ultra (18+)\n\nHeal E Heal E Heal E TS & IA (X2) P\nImproved Haste E Improved Haste E Improved Haste E Improved Haste E\nDark Planetar E Silenced A Dark Planetar E Lose 10,000 gp P\nLevel Drain P Level Drain P WIS (3) P Level Drain P\nHit Points -50% C Hit Points -50% C TS & IA (X2) P Hit Points -50% C\nHit Points -15% P Haste A Hit Points -15% P Mass Raise Dead P\nLose Spells C Lose Spells C Lose Spells C WIS (3) P\nSTR (3) P STR (3) P STR (3) P Haste A\nCON (3) P CON (3) P Stats (25) P Stats (25) P\nDEX (3) P DEX (3) P DEX (3) P Rest & Remem. P\nINT (3) P INT (3) P Silenced A Bad Luck A\nSlowed P Slowed P Rest & Remem. P Meteor Swarm C\nRestoration P Restoration P Improved Haste P Restoration P\nGr. Deathblow P Gr. Deathblow P Gr. Deathblow P Gr. Deathblow P\nHardiness P Hardiness P Breach E Hardiness P\nCreate Wand C Create Wand C Create Wand C Create Wand C\nCreate Potion C Create Potion C Create Potion C Create Potion C\nBreach A Breach A Breach A Improved Haste P\nWing Buffet A Wing Buffet A Wing Buffet A Breach E\nHeal A Heal A Heal A Heal A\nSTR (18) A STR (18) A STR (18) A STR (18) A\nMiscast Magic A Miscast Magic A Miscast Magic A Miscast Magic A\nMagic Resist A Magic Resist A Magic Resist A Magic Resist A\nAbi-Dalzim's A Abi-Dalzim's A Abi-Dalzim's A Abi-Dalzim's A\nIntoxicated A Intoxicated A Intoxicated A Intoxicated A\nBad Luck A Bad Luck A Bad Luck A\n / Breach E Stats (25) P \\\n OR
|
|
3190
|
+
"value": "```weidu-baf-tooltip\nSetupWish(I:Column, I:Count)\n```\nThis action instructs the engine to use the specified column of [WISH.2DA](https://gibberlings3.github.io/iesdp/files/2da/2da_tob/wish.htm), randomly select 5 choices (rows; count appears hardcoded) and set the appropriate globals for those spells. Once the maximum \"wish choices\" have been selected, the dialog continues and casts the selected spell.\nFrom a dialog:\n```\nIF ~CheckStatGT(LastTalkedToBy,17,WIS)~ THEN DO ~SetupWish(4,1)~ GOTO 8\nIF ~Global(\"WishPower01\",\"GLOBAL\",1)~ THEN REPLY #72526 /* ~'Breach' on everyone in the area, including the party.~ */\n DO ~ActionOverride(LastTalkedToBy,ForceSpellRES(\"spwish26\",Myself)) ApplySpell(Myself,POOF_GONE)~ EXIT\n```\nThe key is the `Global(\"WishPower**\",\"GLOBAL\",1)`. The highest is \"WishPower37\", and the highest number in the WISH.2DA is also 37. There are a total of 46 SPWISH\\*\\*.SPL files, but 9 are unused:\n* SPWISH01 STR Bonus +1\n* SPWISH02 INT Bonus +1\n* SPWISH03 DEX Bonus +1\n* SPWISH04 CON Bonus +1\n* SPWISH05 WIS Bonus +1\n* SPWISH06 CHA Bonus +1\n* SPWISH07 Restoration\n* SPWISH09 Globe of Blades\n* SPWISH15 Gain 10,000 Gold (Party)\nLooking at the spells that have a \"WishPower\\*\\*\" next to them, this list can be derived (sorted by Wisdom level (E=enemies, P=party, C=caster A=All)):\n```\nLow (9-) Medium (10-14) High (15-17) Ultra (18+)\n\nHeal E Heal E Heal E TS & IA (X2) P\nImproved Haste E Improved Haste E Improved Haste E Improved Haste E\nDark Planetar E Silenced A Dark Planetar E Lose 10,000 gp P\nLevel Drain P Level Drain P WIS (3) P Level Drain P\nHit Points -50% C Hit Points -50% C TS & IA (X2) P Hit Points -50% C\nHit Points -15% P Haste A Hit Points -15% P Mass Raise Dead P\nLose Spells C Lose Spells C Lose Spells C WIS (3) P\nSTR (3) P STR (3) P STR (3) P Haste A\nCON (3) P CON (3) P Stats (25) P Stats (25) P\nDEX (3) P DEX (3) P DEX (3) P Rest & Remem. P\nINT (3) P INT (3) P Silenced A Bad Luck A\nSlowed P Slowed P Rest & Remem. P Meteor Swarm C\nRestoration P Restoration P Improved Haste P Restoration P\nGr. Deathblow P Gr. Deathblow P Gr. Deathblow P Gr. Deathblow P\nHardiness P Hardiness P Breach E Hardiness P\nCreate Wand C Create Wand C Create Wand C Create Wand C\nCreate Potion C Create Potion C Create Potion C Create Potion C\nBreach A Breach A Breach A Improved Haste P\nWing Buffet A Wing Buffet A Wing Buffet A Breach E\nHeal A Heal A Heal A Heal A\nSTR (18) A STR (18) A STR (18) A STR (18) A\nMiscast Magic A Miscast Magic A Miscast Magic A Miscast Magic A\nMagic Resist A Magic Resist A Magic Resist A Magic Resist A\nAbi-Dalzim's A Abi-Dalzim's A Abi-Dalzim's A Abi-Dalzim's A\nIntoxicated A Intoxicated A Intoxicated A Intoxicated A\nBad Luck A Bad Luck A Bad Luck A\n / Breach E Stats (25) P \\\n OR < > OR\n \\ Rest & Remem. P Mass Raise Dead P /\n```"
|
|
3191
3191
|
}
|
|
3192
3192
|
},
|
|
3193
3193
|
{
|
|
@@ -3197,7 +3197,7 @@
|
|
|
3197
3197
|
"category": "actions",
|
|
3198
3198
|
"documentation": {
|
|
3199
3199
|
"kind": "markdown",
|
|
3200
|
-
"value": "```weidu-baf-tooltip\nSetupWishObject(O:Creature, I:Count)\n```\nThis action instructs the engine to use the specified column of [WISH.2DA](https://gibberlings3.github.io/iesdp/files/2da/2da_tob/wish.htm), randomly select 5 choices (rows; count appears hardcoded) and set the appropriate globals for those spells. Once the maximum \"wish choices\" have been selected, the dialog continues and casts the selected spell.\nFrom a dialog:\n```\nIF ~CheckStatGT(LastTalkedToBy,17,WIS)~ THEN DO ~SetupWish(4,1)~ GOTO 8\nIF ~Global(\"WishPower01\",\"GLOBAL\",1)~ THEN REPLY #72526 /* ~'Breach' on everyone in the area, including the party.~ */\n DO ~ActionOverride(LastTalkedToBy,ForceSpellRES(\"spwish26\",Myself)) ApplySpell(Myself,POOF_GONE)~ EXIT\n```\nThe key is the `Global(\"WishPower**\",\"GLOBAL\",1)`. The highest is \"WishPower37\", and the highest number in the WISH.2DA is also 37. There are a total of 46 SPWISH\\*\\*.SPL files, but 9 are unused:\n* SPWISH01 STR Bonus +1\n* SPWISH02 INT Bonus +1\n* SPWISH03 DEX Bonus +1\n* SPWISH04 CON Bonus +1\n* SPWISH05 WIS Bonus +1\n* SPWISH06 CHA Bonus +1\n* SPWISH07 Restoration\n* SPWISH09 Globe of Blades\n* SPWISH15 Gain 10,000 Gold (Party)\nLooking at the spells that have a \"WishPower\\*\\*\" next to them, this list can be derived (sorted by Wisdom level (E=enemies, P=party, C=caster A=All)):\n```\nLow (9-) Medium (10-14) High (15-17) Ultra (18+)\n\nHeal E Heal E Heal E TS & IA (X2) P\nImproved Haste E Improved Haste E Improved Haste E Improved Haste E\nDark Planetar E Silenced A Dark Planetar E Lose 10,000 gp P\nLevel Drain P Level Drain P WIS (3) P Level Drain P\nHit Points -50% C Hit Points -50% C TS & IA (X2) P Hit Points -50% C\nHit Points -15% P Haste A Hit Points -15% P Mass Raise Dead P\nLose Spells C Lose Spells C Lose Spells C WIS (3) P\nSTR (3) P STR (3) P STR (3) P Haste A\nCON (3) P CON (3) P Stats (25) P Stats (25) P\nDEX (3) P DEX (3) P DEX (3) P Rest & Remem. P\nINT (3) P INT (3) P Silenced A Bad Luck A\nSlowed P Slowed P Rest & Remem. P Meteor Swarm C\nRestoration P Restoration P Improved Haste P Restoration P\nGr. Deathblow P Gr. Deathblow P Gr. Deathblow P Gr. Deathblow P\nHardiness P Hardiness P Breach E Hardiness P\nCreate Wand C Create Wand C Create Wand C Create Wand C\nCreate Potion C Create Potion C Create Potion C Create Potion C\nBreach A Breach A Breach A Improved Haste P\nWing Buffet A Wing Buffet A Wing Buffet A Breach E\nHeal A Heal A Heal A Heal A\nSTR (18) A STR (18) A STR (18) A STR (18) A\nMiscast Magic A Miscast Magic A Miscast Magic A Miscast Magic A\nMagic Resist A Magic Resist A Magic Resist A Magic Resist A\nAbi-Dalzim's A Abi-Dalzim's A Abi-Dalzim's A Abi-Dalzim's A\nIntoxicated A Intoxicated A Intoxicated A Intoxicated A\nBad Luck A Bad Luck A Bad Luck A\n / Breach E Stats (25) P \\\n OR
|
|
3200
|
+
"value": "```weidu-baf-tooltip\nSetupWishObject(O:Creature, I:Count)\n```\nThis action instructs the engine to use the specified column of [WISH.2DA](https://gibberlings3.github.io/iesdp/files/2da/2da_tob/wish.htm), randomly select 5 choices (rows; count appears hardcoded) and set the appropriate globals for those spells. Once the maximum \"wish choices\" have been selected, the dialog continues and casts the selected spell.\nFrom a dialog:\n```\nIF ~CheckStatGT(LastTalkedToBy,17,WIS)~ THEN DO ~SetupWish(4,1)~ GOTO 8\nIF ~Global(\"WishPower01\",\"GLOBAL\",1)~ THEN REPLY #72526 /* ~'Breach' on everyone in the area, including the party.~ */\n DO ~ActionOverride(LastTalkedToBy,ForceSpellRES(\"spwish26\",Myself)) ApplySpell(Myself,POOF_GONE)~ EXIT\n```\nThe key is the `Global(\"WishPower**\",\"GLOBAL\",1)`. The highest is \"WishPower37\", and the highest number in the WISH.2DA is also 37. There are a total of 46 SPWISH\\*\\*.SPL files, but 9 are unused:\n* SPWISH01 STR Bonus +1\n* SPWISH02 INT Bonus +1\n* SPWISH03 DEX Bonus +1\n* SPWISH04 CON Bonus +1\n* SPWISH05 WIS Bonus +1\n* SPWISH06 CHA Bonus +1\n* SPWISH07 Restoration\n* SPWISH09 Globe of Blades\n* SPWISH15 Gain 10,000 Gold (Party)\nLooking at the spells that have a \"WishPower\\*\\*\" next to them, this list can be derived (sorted by Wisdom level (E=enemies, P=party, C=caster A=All)):\n```\nLow (9-) Medium (10-14) High (15-17) Ultra (18+)\n\nHeal E Heal E Heal E TS & IA (X2) P\nImproved Haste E Improved Haste E Improved Haste E Improved Haste E\nDark Planetar E Silenced A Dark Planetar E Lose 10,000 gp P\nLevel Drain P Level Drain P WIS (3) P Level Drain P\nHit Points -50% C Hit Points -50% C TS & IA (X2) P Hit Points -50% C\nHit Points -15% P Haste A Hit Points -15% P Mass Raise Dead P\nLose Spells C Lose Spells C Lose Spells C WIS (3) P\nSTR (3) P STR (3) P STR (3) P Haste A\nCON (3) P CON (3) P Stats (25) P Stats (25) P\nDEX (3) P DEX (3) P DEX (3) P Rest & Remem. P\nINT (3) P INT (3) P Silenced A Bad Luck A\nSlowed P Slowed P Rest & Remem. P Meteor Swarm C\nRestoration P Restoration P Improved Haste P Restoration P\nGr. Deathblow P Gr. Deathblow P Gr. Deathblow P Gr. Deathblow P\nHardiness P Hardiness P Breach E Hardiness P\nCreate Wand C Create Wand C Create Wand C Create Wand C\nCreate Potion C Create Potion C Create Potion C Create Potion C\nBreach A Breach A Breach A Improved Haste P\nWing Buffet A Wing Buffet A Wing Buffet A Breach E\nHeal A Heal A Heal A Heal A\nSTR (18) A STR (18) A STR (18) A STR (18) A\nMiscast Magic A Miscast Magic A Miscast Magic A Miscast Magic A\nMagic Resist A Magic Resist A Magic Resist A Magic Resist A\nAbi-Dalzim's A Abi-Dalzim's A Abi-Dalzim's A Abi-Dalzim's A\nIntoxicated A Intoxicated A Intoxicated A Intoxicated A\nBad Luck A Bad Luck A Bad Luck A\n / Breach E Stats (25) P \\\n OR < > OR\n \\ Rest & Remem. P Mass Raise Dead P /\n```"
|
|
3201
3201
|
}
|
|
3202
3202
|
},
|
|
3203
3203
|
{
|
|
@@ -3907,7 +3907,7 @@
|
|
|
3907
3907
|
"category": "actions",
|
|
3908
3908
|
"documentation": {
|
|
3909
3909
|
"kind": "markdown",
|
|
3910
|
-
"value": "```weidu-baf-tooltip\nWaitSync(I:Amount)\n```\
|
|
3910
|
+
"value": "```weidu-baf-tooltip\nWaitSync(I:Amount)\n```\nSame as [Wait()](https://gibberlings3.github.io/iesdp/scripting/actions/bgeeactions.htm#63), but scales `Amount` according to the \"Maximum Frame Rate\" option in `Baldur.lua`, so that the\naction waits approximately the same number of seconds as [Wait()](https://gibberlings3.github.io/iesdp/scripting/actions/bgeeactions.htm#63) would at the default frame rate of 30 FPS.\n```\nwait_ticks = <Maximum Frame Rate> * 15 / 30 * <Amount>\n```"
|
|
3911
3911
|
}
|
|
3912
3912
|
},
|
|
3913
3913
|
{
|