Several new special nodes

- A set of nodes for building complex strings in a string buffer; to reference the string buffer anywhere a string is expected, you can use -8 as the string number
- A node to pause the action for a specified period of time
- Nodes to alter traits, action points (only in combat), and PC/monster names
- Node to create a new level 1 PC with a specified race, name, graphic, hp, sp, basic stats; custom graphics supported too
- Nodes to test for deadness, spells, alchemy, and status effects
- Node to centre the view on an arbitrary space
- Node to lift the "fog of war", which currently means the unseen and light masks (which can actually be disabled in preferences anyway)
- Node to edit maps (ie, specify which areas are explored)
Changes to existing nodes:
- All the rectangle nodes that affect terrain now work outdoors.
- Play sound node now has an asynchronous option
- Fix min and max modes being swapped in the check statistic node
- Select PC now allows restricting to dead PCs or to PCs with free inventory space
- Select PC now calls the "on cancel" node if a non-interactive selection fails
- Affect deadness node now allows: setting/clearing the "fled outdoor combat" flag; setting/clearing the "absent" flag used for splitting the party; (un)deleting a PC
- If context node can now check if the party is in a specific boat/horse as opposed to any boat/horse
This commit is contained in:
2015-01-16 22:57:39 -05:00
parent e5f44de4fe
commit c5e302e0cc
20 changed files with 661 additions and 156 deletions

View File

@@ -6,7 +6,7 @@ Second part of message
Unused
Unused
Unused
0 - only living, 1 - any, 2 - whole party
0 - only living, 1 - any, 2 - all, 3 - dead, 4 - inv. space
Special if Cancel button pressed
Unused
0 - player choice, 1 - random, 11..16 - specific, 100+ monster
@@ -126,44 +126,44 @@ Unused
Unused
Special to Jump To
--------------------
Unused Node
Unused
Unused
Unused
Unused
Unused
Unused
Affect Traits
Unused
Unused
First part of message
Second part of message
Unused
Unused
Unused
Which trait
0 - give, 1 - take
Unused
Unused
Unused
Unused
Special to Jump To
--------------------
Unused Node
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Affect Action Points
Unused
Unused
First part of message
Second part of message
Unused
Unused
Unused
How many AP
0 - give, 1 = take
extra 1c
extra 2a
extra 2b
extra 2c
Special to Jump To
--------------------
Unused Node
Unused
Unused
Unused
Affect Name
Unused
Unused
First part of message
Second part of message
New name
Unused
Unused
Unused
@@ -398,3 +398,19 @@ Unused
Unused
Special to Jump To
--------------------
Create New PC
Unused
Unused
First part of message
Second part of message
PC name
Which graphic
Special to call if no room
PC health
PC spell points
PC race
PC strength
PC dexterity
PC intelligence
Special to Jump To
--------------------

View File

@@ -231,7 +231,7 @@ Unused
Unused
Unused
Which sound
Unused
0 - wait for sound to finish, 1 - don't wait
Unused
Unused
Unused
@@ -590,6 +590,118 @@ 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
--------------------
Special Name
sdf1
sdf2

View File

@@ -78,7 +78,7 @@ Call this special if 2nd flag lower ...
Unused
Otherwise call this special
--------------------
Terrain this type? (town)
Terrain this type?
Unused
Unused
Unused
@@ -94,7 +94,7 @@ Call this special ...
Unused
Otherwise call this special
--------------------
Terrain this type? (out)
Is Alive?
Unused
Unused
Unused
@@ -102,12 +102,12 @@ Unused
Unused
Unused
Unused
X coordinate of space
Y coordinate of space
Unused
If space is this terrain type ...
If PC has this status ... (-1 = alive)
Call this special ...
Unused
Unused
Unused
Unused
Otherwise call this special
--------------------
Has gold?
@@ -190,7 +190,7 @@ Unused
Unused
Otherwise call this special
--------------------
Unused Node
Has Mage Spell?
Unused
Unused
Unused
@@ -198,15 +198,15 @@ Unused
Unused
Unused
Unused
If selected PC knows this mage spell ...
Call this special ...
Unused
Unused
Unused
Unused
Unused
Unused
Special to Jump To
Otherwise call this special
--------------------
Unused Node
Has Priest Spell?
Unused
Unused
Unused
@@ -214,15 +214,15 @@ Unused
Unused
Unused
Unused
If selected PC knows this priest spell ...
Call this special ...
Unused
Unused
Unused
Unused
Unused
Unused
Special to Jump To
Otherwise call this special
--------------------
Unused Node
Has Alchemy?
Unused
Unused
Unused
@@ -230,15 +230,15 @@ Unused
Unused
Unused
Unused
If party knows this recipe ...
Call this special...
Unused
Unused
Unused
Unused
Unused
Unused
Special to Jump To
Otherwise call this special
--------------------
Unused Node
Has Status Effect?
Unused
Unused
Unused
@@ -246,13 +246,13 @@ Unused
Unused
Unused
Unused
If PC has enough of this status effect ...
Call this special...
Unused
Unused
Unused
Unused
Unused
Unused
Special to Jump To
Value to compare to
Cumulation mode (if whole party selected)
Comparison mode
Otherwise call this special
--------------------
Unused Node
Unused

View File

@@ -14,13 +14,13 @@ Right of rectangle
Unused
Special to Jump To
--------------------
Unused Node
Unused
Unused
Unused
Set Explored
Unused
Unused
First part of message
Second part of message
Unused
0 - entire rectangle, 1 - just borders
Unused
Top of rectangle
Left of rectangle

View File

@@ -417,8 +417,8 @@ Special to Jump To
Change Lighting
Unused
Unused
Unused
Unused
First part of message
Second part of message
Unused
Unused
Unused
@@ -433,8 +433,8 @@ Special to Jump To
Set Monster Attitude
Unused
Unused
Unused
Unused
First part of message
Second part of message
Unused
Unused
Unused
@@ -446,3 +446,35 @@ Unused
Unused
Special to Jump To
--------------------
Center View on Space
Unused
Unused
First part of message
Second part of message
Unused
Unused
Unused
X coordinate of space (if -1, center on party)
Y coordinate of space
Unused
Unused
Unused
Unused
Special to Jump To
--------------------
Lift Fog
Unused
Unused
First part of message
Second part of message
Unused
Unused
Unused
1 - lift fog, 0 - put back
Unused
Unused
Unused
Unused
Unused
Special to Jump To
--------------------