Can't Enter node renamed to Prevent Action, as it's a more accurate description of what it does. It has been expanded to cover the following cases, all of which are documented: - When the special node was called during an attack action (which involves a weapon whose ability is to call a special node when attacking, or an item or monster ability that calls a special node when hit), then Prevent Action reverses the action point cost. - When called as the result of a purchase (a shop item that calls a special), then Prevent Action prevents gold from being deducted (which is also new in this commit, as before it never deducted gold) - When called as the result of using a normal item (not a special item), then Prevent Action prevents a charge from being deducted - When called as the result of a monster using its ability, then Prevent Action prevents the action points from being deducted - Cases it already covered (cancelling initiation of talk mode, searching of containers, outdoor wandering encounters) have been documented - The fact that it will break things during talk mode is also documented now Start Spell Targeting node has been tweaked and gained some new options: - You can allow the player to target opaque or antimagic spaces. In town mode, you can prohibit them from targeting antimagic spaces. - You can specify a special node to be called if targeting fails because they selected an invalid space, or because an special node keyed to spellcasting context cancelled it - You no longer get a "Hit 'p' to cancel" message. Even better, hitting 'p' does not cancel it. (Well, more precisely, it triggers the failure node, with the party's or pc's location as the target space.) Misc: - Fix crash outdoors due to trying to check for force barriers
753 lines
10 KiB
Plaintext
753 lines
10 KiB
Plaintext
No Special
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Set Flag
|
|
Stuff Done Flag Part A
|
|
Stuff Done Flag Part B
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Value to change to
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Increment Flag
|
|
Stuff Done Flag Part A
|
|
Stuff Done Flag Part B
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Increase/Decrease by
|
|
0 - increase, 1 - decrease
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Display Message
|
|
Unused
|
|
Unused
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Start Shopping
|
|
Unused
|
|
Unused
|
|
Name of Store
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Which Shop
|
|
Cost adjust (0 .. 6, lower = cheaper)
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
--------------------
|
|
Display Small Message
|
|
Unused
|
|
Unused
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Flip Flag
|
|
Stuff Done Flag Part A
|
|
Stuff Done Flag Part B
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Set SDF to Random
|
|
Stuff Done Flag Part A
|
|
Stuff Done Flag Part B
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Minimum value
|
|
Maximum value
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Addition
|
|
Result Stuff Done Flag Part A
|
|
Result Stuff Done Flag Part B
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
First SDF part A, or first number
|
|
First SDF part B, or -1 to for literal number
|
|
Unused
|
|
Second SDF part A, or second number
|
|
Second SDF part B, or -1 for literal number
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Subtraction
|
|
Result Stuff Done Flag Part A
|
|
Result Stuff Done Flag Part B
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
First SDF part A, or first number
|
|
First SDF part B, or -1 to for literal number
|
|
Unused
|
|
Second SDF part A, or second number
|
|
Second SDF part B, or -1 for literal number
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Story Dialog
|
|
Unused
|
|
Unused
|
|
Dialog title string
|
|
First string in dialog
|
|
Last string in dialog
|
|
Picture number
|
|
Picture type
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Prevent Action
|
|
Unused
|
|
Unused
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
0 - allow, 1 - prevent
|
|
Unused
|
|
Unused
|
|
0 - don't force, 1 - force if blocked
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Change Time
|
|
Unused
|
|
Unused
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Number of moves to set forward
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Start General Timer
|
|
Unused
|
|
Unused
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Number of moves to set the timer
|
|
Special to call when timer runs out
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Play a Sound
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Which sound
|
|
0 - wait for sound to finish, 1 - don't wait
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Change Horse Possession
|
|
Unused
|
|
Unused
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Horse to set (0 .. 29)
|
|
Unused
|
|
Unused
|
|
0 - not property, 1 - becomes property
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Change Boat Possession
|
|
Unused
|
|
Unused
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Boat to set (0 .. 29)
|
|
Unused
|
|
Unused
|
|
0 - not property, 1 - becomes property
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Show/Hide Town
|
|
Unused
|
|
Unused
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Town to show/hide
|
|
Unused
|
|
Unused
|
|
0 - town hidden, 1 - town visible
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Major Event Has Occurred
|
|
Unused
|
|
Unused
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Number of Special Event (0 .. 9)
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Forced Give
|
|
Unused
|
|
Unused
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Item To Give
|
|
Special if item not given
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Buy Items of Type
|
|
Unused
|
|
Unused
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Item Class to Take Away
|
|
Special to call if no items taken
|
|
Unused
|
|
Amount to pay for each item
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Call Global Special
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Set Many Flags
|
|
Stuff Done Flag Part A
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Value to change the 10 flags to
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Copy Flag
|
|
Stuff Done Flag Part A
|
|
Stuff Done Flag Part B
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Flag to change to Part A
|
|
Flag to change to Part B
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Display Picture
|
|
Unused
|
|
Unused
|
|
Picture title string
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Number of large (full-sheet) pic to display
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Have a Rest
|
|
Unused
|
|
Unused
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Number of moves that pass
|
|
Health and spell pts. to give
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Wandering will fight
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
0 - no attack, 1 - attack
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
End Scenario
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Set Pointer
|
|
Stuff Done Flag Part A
|
|
Stuff Done Flag Part B
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Pointer to point to that flag (100-199)
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Set/Retrieve Campaign Flag
|
|
Stuff Done Flag Part A
|
|
Stuff Done Flag Part B
|
|
Scen. string with campaign ID (-1 - default)
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Campaign Flag Part A (0..24)
|
|
Campaign Flag Part B (0..24)
|
|
Unused
|
|
0 - Set Campaign Flag, 1 - Retrieve Flag
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Debug Print Numbers
|
|
Stuff Done Flag Part A
|
|
Stuff Done Flag Part B
|
|
Unused
|
|
Unused
|
|
Unused
|
|
0 - SDF, 1 - extra1 values, 2 - monster hp/mp
|
|
Unused
|
|
Number of monster, or value to print
|
|
Value to print (could be a pointer)
|
|
Value to print (could be a pointer)
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Multiplication
|
|
Result Stuff Done Flag Part A
|
|
Result Stuff Done Flag Part B
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
First SDF part A, or first number
|
|
First SDF part B, or -1 to for literal number
|
|
Unused
|
|
Second SDF part A, or second number
|
|
Second SDF part B, or -1 for literal number
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Division
|
|
Result Stuff Done Flag Part A
|
|
Result Stuff Done Flag Part B
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
First SDF part A, or first number
|
|
First SDF part B, or -1 to for literal number
|
|
Remainder Stuff Done Flag Part A
|
|
Second SDF part A, or second number
|
|
Second SDF part B, or -1 for literal number
|
|
Remainder Stuff Done Flag Part B
|
|
Special to Jump To
|
|
--------------------
|
|
Exponentiation
|
|
Result Stuff Done Flag Part A
|
|
Result Stuff Done Flag Part B
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
First SDF part A, or first number
|
|
First SDF part B, or -1 to for literal number
|
|
Unused
|
|
Second SDF part A, or second number
|
|
Second SDF part B, or -1 for literal number
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Change Terrain
|
|
Unused
|
|
Unused
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
X coordinate of space
|
|
Y coordinate of space
|
|
Unused
|
|
Terrain to change to
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Swap Terrain
|
|
Unused
|
|
Unused
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
X coordinate of space
|
|
Y coordinate of space
|
|
Unused
|
|
Swap this terrain ...
|
|
With this terrain ...
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Transform Terrain
|
|
Unused
|
|
Unused
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
X coordinate of space
|
|
Y coordinate of space
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Clear String Buffer
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Append String to Buffer
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
String to append
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Append Number to Buffer
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Number to append
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Append Monster/PC Name to Buffer
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Monster type, or 0 to used selected PC
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Append Item Name to Buffer
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Item type
|
|
0 - unidentified, 1 - full identified name
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Append Terrain Name to Buffer
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Terrain type
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Pause
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
How long (in milliseconds)
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Start Conversation
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Facial Picture
|
|
Unused
|
|
Personality
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Unused
|
|
--------------------
|
|
Update Quest
|
|
Unused
|
|
Unused
|
|
First part of message
|
|
Second part of message
|
|
Unused
|
|
Unused
|
|
Unused
|
|
Which quest?
|
|
New Quest Status
|
|
Unused
|
|
Job Board Source / Anger (see docs)
|
|
Unused
|
|
Unused
|
|
Special to Jump To
|
|
--------------------
|
|
Special Name
|
|
sdf1
|
|
sdf2
|
|
message1
|
|
message2
|
|
message3
|
|
pic
|
|
pictype
|
|
extra 1a
|
|
extra 1b
|
|
extra 1c
|
|
extra 2a
|
|
extra 2b
|
|
extra 2c
|
|
Special to Jump To
|
|
--------------------
|