Major simplification of TRoW journey macros.

This commit is contained in:
Eric S. Raymond 2009-04-28 14:39:39 +00:00
parent df7b49deef
commit 9f2fae7a3f
2 changed files with 227 additions and 1121 deletions

File diff suppressed because it is too large Load diff

View file

@ -356,6 +356,67 @@
# trackplacer: tracks end
#define TROW_GREEN_ISLE_LABELS
[image]
x=253
y=111
file=story/tgi-thegreenisle.png
[/image]
[image]
x=635
y=282
file=story/tgi-blackmore.png
[/image]
[image]
x=566
y=388
file=story/tgi-clearwater.png
[/image]
[image]
x=398
y=190
file=story/tgi-jevyan.png
[/image]
[image]
x=394
y=476
file=story/tgi-southbay.png
[/image]
[image]
x=322
y=314
file=story/tgi-stormvale.png
[/image]
#enddef
#define TROW_GREEN_ISLE_LABELS_NO_TITLE
[image]
x=635
y=282
file=story/tgi-blackmore.png
[/image]
[image]
x=566
y=388
file=story/tgi-clearwater.png
[/image]
[image]
x=398
y=190
file=story/tgi-jevyan.png
[/image]
[image]
x=394
y=476
file=story/tgi-southbay.png
[/image]
[image]
x=322
y=314
file=story/tgi-stormvale.png
[/image]
#enddef
#define A_SUMMER_OF_STORMS_BIGMAP
[story]
[part]
@ -415,278 +476,131 @@
#define THE_OLDWOOD_BIGMAP
[story]
[if]
[variable]
name=escape_choice
numerical_equals=1
[/variable]
[then]
[part]
background=story/the_green_isle.png
show_title=yes
{TROW_GREEN_ISLE_LABELS}
{FROM_STORMVALE_COMPLETE}
[part]
background=story/the_green_isle.png
show_title=yes
{TROW_GREEN_ISLE_LABELS}
{FROM_STORMVALE_COMPLETE}
[if]
[variable]
name=escape_choice
numerical_equals=1
[/variable]
[then]
{THE_RIVER_ROAD_STAGE2}
[/part]
[/then]
[else]
[part]
background=story/the_green_isle.png
show_title=yes
{TROW_GREEN_ISLE_LABELS}
{FROM_STORMVALE_COMPLETE}
[/then]
[else]
{THE_MIDLANDS_STAGE2}
[/part]
[/else]
[/if]
[/else]
[/if]
[/part]
[/story]
#enddef
#define FROM_OLDWOOD
# Auxilary macro, simplifies later ones
{TROW_GREEN_ISLE_LABELS}
{FROM_STORMVALE_COMPLETE}
[if]
[variable]
name=escape_choice
numerical_equals=1
[/variable]
[then]
{THE_RIVER_ROAD_COMPLETE}
[/then]
[else]
{THE_MIDLANDS_COMPLETE}
[/else]
[/if]
#enddef
#define TEMPLE_IN_THE_DEEP_BIGMAP
[story]
[if]
[variable]
name=escape_choice
numerical_equals=1
[/variable]
[then]
[part]
background=story/the_green_isle.png
show_title=yes
{TROW_GREEN_ISLE_LABELS}
{FROM_STORMVALE_COMPLETE}
{THE_RIVER_ROAD_COMPLETE}
{EXODUS_STAGE1}
[/part]
[/then]
[else]
[part]
background=story/the_green_isle.png
show_title=yes
{TROW_GREEN_ISLE_LABELS}
{FROM_STORMVALE_COMPLETE}
{THE_MIDLANDS_COMPLETE}
{EXODUS_STAGE1}
[/part]
[/else]
[/if]
[part]
background=story/the_green_isle.png
show_title=yes
{FROM_OLDWOOD}
{EXODUS_STAGE1}
[/part]
[/story]
#enddef
#define RETURN_TO_OLDWOOD_BIGMAP
[story]
[if]
[variable]
name=escape_choice
numerical_equals=1
[/variable]
[then]
[part]
background=story/the_green_isle.png
show_title=yes
{TROW_GREEN_ISLE_LABELS}
{FROM_STORMVALE_COMPLETE}
{THE_RIVER_ROAD_COMPLETE}
{EXODUS_STAGE2}
[/part]
[/then]
[else]
[part]
background=story/the_green_isle.png
show_title=yes
{TROW_GREEN_ISLE_LABELS}
{FROM_STORMVALE_COMPLETE}
{THE_MIDLANDS_COMPLETE}
{EXODUS_STAGE2}
[/part]
[/else]
[/if]
[part]
background=story/the_green_isle.png
show_title=yes
{FROM_OLDWOOD}
{EXODUS_STAGE2}
[/part]
[/story]
#enddef
#define CLEARWATER_PORT_BIGMAP
[story]
[if]
[variable]
name=escape_choice
numerical_equals=1
[/variable]
[then]
[part]
background=story/the_green_isle.png
show_title=yes
{TROW_GREEN_ISLE_LABELS}
{FROM_STORMVALE_COMPLETE}
{THE_RIVER_ROAD_COMPLETE}
{EXODUS_STAGE3}
[/part]
[/then]
[else]
[part]
background=story/the_green_isle.png
show_title=yes
{TROW_GREEN_ISLE_LABELS}
{FROM_STORMVALE_COMPLETE}
{THE_MIDLANDS_COMPLETE}
{EXODUS_STAGE3}
[/part]
[/else]
[/if]
[part]
background=story/the_green_isle.png
show_title=yes
{FROM_OLDWOOD}
{EXODUS_STAGE3}
[/part]
[/story]
#enddef
#define FALLEN_LICH_POINT_BIGMAP
[story]
[if]
[variable]
name=escape_choice
numerical_equals=1
[/variable]
[then]
[part]
background=story/the_green_isle.png
show_title=yes
{TROW_GREEN_ISLE_LABELS}
{TROW_GREEN_ISLE_LABELS}
{FROM_STORMVALE_COMPLETE}
{THE_RIVER_ROAD_COMPLETE}
{EXODUS_STAGE4}
[/part]
[/then]
[else]
[part]
background=story/the_green_isle.png
show_title=yes
{TROW_GREEN_ISLE_LABELS}
{FROM_STORMVALE_COMPLETE}
{THE_MIDLANDS_COMPLETE}
{EXODUS_STAGE4}
[/part]
[/else]
[/if]
[part]
background=story/the_green_isle.png
show_title=yes
{FROM_OLDWOOD}
{EXODUS_STAGE4}
[/part]
[/story]
#enddef
#define SEWER_OF_SOUTHBAY_BIGMAP
[story]
[if]
[variable]
name=escape_choice
numerical_equals=1
[/variable]
[then]
[part]
background=story/the_green_isle.png
show_title=yes
{TROW_GREEN_ISLE_LABELS}
{FROM_STORMVALE_COMPLETE}
{THE_RIVER_ROAD_COMPLETE}
{EXODUS_STAGE5}
[/part]
[/then]
[else]
[part]
background=story/the_green_isle.png
show_title=yes
{TROW_GREEN_ISLE_LABELS}
{FROM_STORMVALE_COMPLETE}
{THE_MIDLANDS_COMPLETE}
{EXODUS_STAGE5}
[/part]
[/else]
[/if]
[part]
background=story/the_green_isle.png
show_title=yes
{FROM_OLDWOOD}
{EXODUS_STAGE5}
[/part]
[/story]
#enddef
#define SOUTHBAY_IN_WINTER_BIGMAP
[story]
[if]
[variable]
name=escape_choice
numerical_equals=1
[/variable]
[then]
[part]
background=story/the_green_isle.png
show_title=yes
{TROW_GREEN_ISLE_LABELS}
{FROM_STORMVALE_COMPLETE}
{THE_RIVER_ROAD_COMPLETE}
{EXODUS_STAGE6}
[/part]
[/then]
[else]
[part]
background=story/the_green_isle.png
show_title=yes
{TROW_GREEN_ISLE_LABELS}
{FROM_STORMVALE_COMPLETE}
{THE_MIDLANDS_COMPLETE}
{EXODUS_STAGE6}
[/part]
[/else]
[/if]
[part]
background=story/the_green_isle.png
show_title=yes
{FROM_OLDWOOD}
{EXODUS_STAGE6}
[/part]
[/story]
#enddef
#define A_FINAL_SPRING_BIGMAP
[story]
[if]
[variable]
name=escape_choice
numerical_equals=1
[/variable]
[then]
[part]
background=story/the_green_isle.png
show_title=yes
{TROW_GREEN_ISLE_LABELS}
{FROM_STORMVALE_COMPLETE}
{THE_RIVER_ROAD_COMPLETE}
{EXODUS_STAGE7}
[/part]
[/then]
[else]
[part]
background=story/the_green_isle.png
show_title=yes
{TROW_GREEN_ISLE_LABELS}
{FROM_STORMVALE_COMPLETE}
{THE_MIDLANDS_COMPLETE}
{EXODUS_STAGE7}
[/part]
[/else]
[/if]
[part]
background=story/the_green_isle.png
show_title=yes
{FROM_OLDWOOD}
{EXODUS_STAGE7}
[/part]
[/story]
#enddef
#define PEOPLES_IN_DECLINE_BIGMAP
[story]
[if]
[variable]
name=escape_choice
numerical_equals=1
[/variable]
[then]
[part]
background=story/the_green_isle.png
show_title=yes
{TROW_GREEN_ISLE_LABELS}
{FROM_STORMVALE_COMPLETE}
{THE_RIVER_ROAD_COMPLETE}
{EXODUS_STAGE8}
[/part]
[/then]
[else]
[part]
background=story/the_green_isle.png
show_title=yes
{TROW_GREEN_ISLE_LABELS}
{FROM_STORMVALE_COMPLETE}
{THE_MIDLANDS_COMPLETE}
{EXODUS_STAGE8}
[/part]
[/else]
[/if]
[part]
background=story/the_green_isle.png
show_title=yes
{FROM_OLDWOOD}
{EXODUS_STAGE8}
[/part]
[/story]
#enddef
#undef FROM_OLDWOOD