Lots of special node changes

- Moved change/swap/transform terrain to the General section
- Merge change outdoor terrain into general change terrain
- Merge if town/outdoor terrain nodes
- Merge the if+take nodes with the equivalent base nodes
- Merge secret passage node into the can't enter node
- Move outdoor shop to the General section since it's not restricted to outdoors
- New story dialog node displays a sequence of strings one at a time, like the Exile 2 intro dialog
- New town nodes for animations: run missile, animate monster attack, draw simple boom with optional damage number
- If fields node expanded - now checks if the count of the desired field type existing within a specified rectangle falls within a given range
- Place items and move items nodes can now set the items as contained, provided there's a container on the destination space
- All rectangle nodes can now be restricted to just the boundary, as per the documentation
This commit is contained in:
2015-01-15 23:30:07 -05:00
parent 96f14d3a38
commit aaa3cde16b
13 changed files with 422 additions and 288 deletions

View File

@@ -1,13 +1,13 @@
set-sdf
inc-sdf
disp-msg
secret-pass
start-shop
disp-sm-msg
flip-sdf
sdf-rand
sdf-add
sdf-diff
story-dlog
block-move
change-time
start-timer-scen
@@ -31,9 +31,9 @@ print-nums
sdf-times
sdf-divide
sdf-power
change-ter
swap-ter
trans-ter
@@ -58,8 +58,8 @@ once-dlog
once-give-dlog
once-encounter
once-out-encounter
once-town-encounter
once-trap
@@ -134,16 +134,16 @@ if-spec-item
if-sdf-compare
if-ter
if-gold
if-food
if-item-class-at
if-item-class
if-item-class-equip
if-day
if-field
if-party-size
@@ -168,9 +168,9 @@ if-num-response
town-attitude
change-ter
swap-ter
trans-ter
anim-missile
anim-attack
anim-splat
move-party
hit-space
explode-space
@@ -225,5 +225,3 @@ rect-unlock
make-out-monst
start-shop

View File

@@ -62,19 +62,19 @@ Unused
Unused
Special to Jump To
--------------------
Secret Passage
Unused
Unused
First part of message
Second part of message
Unused
Start Shopping
Unused
Unused
Name of Store
Unused
Unused
Unused
Unused
Number of first item in store
Store type (see docs. for list)
Unused
Number of items in store (1 .. 40)
Cost adjust (0 .. 6, lower = cheaper)
Unused
Special to Jump To
--------------------
@@ -158,21 +158,21 @@ Second SDF part B, or -1 for literal number
Unused
Special to Jump To
--------------------
Unused Node
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Unused
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
--------------------
Can't Enter
Unused
@@ -185,7 +185,7 @@ Unused
0 - can enter, 1 - no enter
Unused
Unused
Unused
0 - don't force, 1 - force if blocked
Unused
Unused
Special to Jump To
@@ -542,3 +542,67 @@ 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
--------------------
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
--------------------

View File

@@ -121,7 +121,7 @@ Unused
If party has this much gold ...
Call this special ...
Unused
Unused
If 1, take gold
Unused
Unused
Otherwise call this special
@@ -137,7 +137,7 @@ Unused
If party has this much food ...
Call this special ...
Unused
Unused
If 1, take food
Unused
Unused
Otherwise call this special
@@ -155,7 +155,7 @@ Y coordinate of space
Unused
If item of this class on space ...
Call this special ...
Unused
If 1, take item
Otherwise call this special
--------------------
Have Item With Class?
@@ -169,7 +169,7 @@ Unused
If has item of this special class ...
Call this special ...
Unused
Unused
If 1, take item
Unused
Unused
Otherwise call this special
@@ -185,28 +185,12 @@ Unused
If has equipped item of this special ...
Call this special ...
Unused
Unused
Unused
Unused
Otherwise call this special
--------------------
Has Gold? (+ take)
Unused
Unused
Unused
Unused
Unused
Unused
Unused
If party has this much gold ...
Call this special ...
Unused
Unused
If 1, take item
Unused
Unused
Otherwise call this special
--------------------
Has Food? (+ take)
Unused Node
Unused
Unused
Unused
@@ -214,15 +198,15 @@ Unused
Unused
Unused
Unused
If party has this much food ...
Call this special ...
Unused
Unused
Unused
Unused
Otherwise call this special
Unused
Unused
Special to Jump To
--------------------
Item Class on Space? (+ take)
Unused Node
Unused
Unused
Unused
@@ -230,15 +214,15 @@ Unused
Unused
Unused
Unused
X coordinate of space
Y coordinate of space
Unused
If item of this class on space ...
Call this special ...
Unused
Otherwise call this special
Unused
Unused
Unused
Unused
Special to Jump To
--------------------
Have Item W. Class? (+ take)
Unused Node
Unused
Unused
Unused
@@ -246,15 +230,15 @@ Unused
Unused
Unused
Unused
If has item of this special class ...
Call this special ...
Unused
Unused
Unused
Unused
Otherwise call this special
Unused
Unused
Special to Jump To
--------------------
Equip Item W. Class? (+ take)
Unused Node
Unused
Unused
Unused
@@ -262,13 +246,29 @@ Unused
Unused
Unused
Unused
If has equipped item of this class ...
Call this special ...
Unused
Unused
eUnused
Unused
Otherwise call this special
Unused
Unused
Unused
Special to Jump To
--------------------
Unused Node
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Special to Jump To
--------------------
Day Reached?
Unused

View File

@@ -62,19 +62,4 @@ Unused
Unused
Special to Jump To
--------------------
Outdoor Store
Unused
Unused
Name of Store
Unused
Unused
Unused
Unused
Number of first item in store
Store type (see docs. for list)
Unused
Number of items in store (1 .. 40)
Cost adjust (0 .. 6, lower = cheaper)
Unused
Special to Jump To
--------------------

View File

@@ -4,7 +4,7 @@ Which field type
First part of message
Second part of message
Unused
Unused
0 - entire rectangle, 1 - just borders
Unused
Top of rectangle
Left of rectangle
@@ -195,8 +195,8 @@ X of space to move to
Y of space to move to
First part of message
Second part of message
Unused
Unused
Set to 1 to place in container, if present
0 - entire rectangle, 1 - just borders
Unused
Top of rectangle
Left of rectangle
@@ -212,7 +212,7 @@ Unused
First part of message
Second part of message
Unused
Unused
0 - entire rectangle, 1 - just borders
Unused
Top of rectangle
Left of rectangle
@@ -228,7 +228,7 @@ Chance of changing (0 - 100)
First part of message
Second part of message
Unused
Unused
0 - entire rectangle, 1 - just borders
Unused
Top of rectangle
Left of rectangle
@@ -244,7 +244,7 @@ with this ter. type
First part of message
Second part of message
Unused
Unused
0 - entire rectangle, 1 - just borders
Unused
Top of rectangle
Left of rectangle
@@ -260,7 +260,7 @@ Unused
First part of message
Second part of message
Unused
Unused
0 - entire rectangle, 1 - just borders
Unused
Top of rectangle
Left of rectangle
@@ -276,7 +276,7 @@ Unused
First part of message
Second part of message
Unused
Unused
0 - entire rectangle, 1 - just borders
Unused
Top of rectangle
Left of rectangle
@@ -292,7 +292,7 @@ Unused
First part of message
Second part of message
Unused
Unused
0 - entire rectangle, 1 - just borders
Unused
Top of rectangle
Left of rectangle

View File

@@ -14,7 +14,23 @@ Unused
Unused
Special to Jump To
--------------------
Change Terrain
Do Missile Animation
Unused
Unused
First part of message
Second part of message
Unused
Which missile animation?
Unused
X coordinate of start space
Y coordinate of start space
Path type
X coordinate of end space
Y coordinate of end space
Sound to play
Special to Jump To
--------------------
Animate Monster Attack
Unused
Unused
First part of message
@@ -22,44 +38,28 @@ Second part of message
Unused
Unused
Unused
X coordinate of space
Y coordinate of space
X coordinate of monster (or monster ID)
Y coordinate of monster (or -1 to use X as ID)
Unused
Unused
Terrain to change to
Unused
Unused
Special to Jump To
--------------------
Swap Terrain
Animate Fake Damage
Unused
Unused
First part of message
Second part of message
Unused
Unused
Unused
pic
pictype
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
extra 1c
Boom type
Number to print (0 means print no number)
Sound to play
Special to Jump To
--------------------
Move Party
@@ -362,7 +362,7 @@ X coordinate to place at
Y coordinate to place at
Unused
Item to place
Unused
Set to 1 to place in container, if present
Unused
Special to Jump To
--------------------