#textdomain wesnoth-ei
# wmllint: no translatables

# trackplacer: tracks begin
#
# Hand-hack this section strictly at your own risk.
#
# trackplacer: map=data/campaigns/Eastern_Invasion/images/eastern-invasion-map.png
#
#define JOURNEY1_STAGE1
    {NEW_BATTLE 759 508}
#enddef

#define JOURNEY1_STAGE1_END
    {NEW_BATTLE 759 508}
#enddef

#define JOURNEY1_STAGE2
    {OLD_BATTLE 759 508}
    {NEW_JOURNEY 784 508}
    {NEW_JOURNEY 802 511}
    {NEW_BATTLE 821 517}
#enddef

#define JOURNEY1_STAGE2_END
    {OLD_BATTLE 759 508}
    {OLD_JOURNEY 784 508}
    {OLD_JOURNEY 802 511}
    {NEW_BATTLE 821 517}
#enddef

#define JOURNEY1_COMPLETE
    {OLD_BATTLE 759 508}
    {OLD_JOURNEY 784 508}
    {OLD_JOURNEY 802 511}
    {OLD_BATTLE 821 517}
#enddef

#define JOURNEY2_STAGE1
    {NEW_JOURNEY 844 507}
    {NEW_JOURNEY 847 487}
    {NEW_BATTLE 847 469}
#enddef

#define JOURNEY2_STAGE1_END
    {OLD_JOURNEY 844 507}
    {OLD_JOURNEY 847 487}
    {NEW_BATTLE 847 469}
#enddef

#define JOURNEY2_STAGE2
    {OLD_JOURNEY 844 507}
    {OLD_JOURNEY 847 487}
    {OLD_BATTLE 847 469}
    {NEW_JOURNEY 798 466}
    {NEW_JOURNEY 772 471}
    {NEW_BATTLE 729 460}
#enddef

#define JOURNEY2_STAGE2_END
    {OLD_JOURNEY 844 507}
    {OLD_JOURNEY 847 487}
    {OLD_BATTLE 847 469}
    {OLD_JOURNEY 798 466}
    {OLD_JOURNEY 772 471}
    {NEW_BATTLE 729 460}
#enddef

#define JOURNEY2_COMPLETE
    {OLD_JOURNEY 844 507}
    {OLD_JOURNEY 847 487}
    {OLD_BATTLE 847 469}
    {OLD_JOURNEY 798 466}
    {OLD_JOURNEY 772 471}
    {OLD_BATTLE 729 460}
#enddef

#define JOURNEY3_STAGE1
    {NEW_JOURNEY 846 525}
    {NEW_JOURNEY 879 545}
    {NEW_JOURNEY 908 562}
    {NEW_BATTLE 938 583}
#enddef

#define JOURNEY3_STAGE1_END
    {OLD_JOURNEY 846 525}
    {OLD_JOURNEY 879 545}
    {OLD_JOURNEY 908 562}
    {NEW_BATTLE 938 583}
#enddef

#define JOURNEY3_STAGE2
    {OLD_JOURNEY 846 525}
    {OLD_JOURNEY 879 545}
    {OLD_JOURNEY 908 562}
    {OLD_BATTLE 938 583}
    {NEW_JOURNEY 959 598}
    {NEW_BATTLE 988 611}
#enddef

#define JOURNEY3_STAGE2_END
    {OLD_JOURNEY 846 525}
    {OLD_JOURNEY 879 545}
    {OLD_JOURNEY 908 562}
    {OLD_BATTLE 938 583}
    {OLD_JOURNEY 959 598}
    {NEW_BATTLE 988 611}
#enddef

#define JOURNEY3_STAGE3
    {OLD_JOURNEY 846 525}
    {OLD_JOURNEY 879 545}
    {OLD_JOURNEY 908 562}
    {OLD_BATTLE 938 583}
    {OLD_JOURNEY 959 598}
    {OLD_BATTLE 988 611}
    {NEW_JOURNEY 984 568}
    {NEW_JOURNEY 951 538}
    {NEW_JOURNEY 932 503}
    {NEW_JOURNEY 876 475}
    {NEW_JOURNEY 831 467}
    {NEW_JOURNEY 781 469}
    {NEW_BATTLE 729 460}
#enddef

#define JOURNEY3_STAGE3_END
    {OLD_JOURNEY 846 525}
    {OLD_JOURNEY 879 545}
    {OLD_JOURNEY 908 562}
    {OLD_BATTLE 938 583}
    {OLD_JOURNEY 959 598}
    {OLD_BATTLE 988 611}
    {OLD_JOURNEY 984 568}
    {OLD_JOURNEY 951 538}
    {OLD_JOURNEY 932 503}
    {OLD_JOURNEY 876 475}
    {OLD_JOURNEY 831 467}
    {OLD_JOURNEY 781 469}
    {NEW_BATTLE 729 460}
#enddef

#define JOURNEY3_COMPLETE
    {OLD_JOURNEY 846 525}
    {OLD_JOURNEY 879 545}
    {OLD_JOURNEY 908 562}
    {OLD_BATTLE 938 583}
    {OLD_JOURNEY 959 598}
    {OLD_BATTLE 988 611}
    {OLD_JOURNEY 984 568}
    {OLD_JOURNEY 951 538}
    {OLD_JOURNEY 932 503}
    {OLD_JOURNEY 876 475}
    {OLD_JOURNEY 831 467}
    {OLD_JOURNEY 781 469}
    {OLD_BATTLE 729 460}
#enddef

#define JOURNEY4_STAGE1
    {NEW_JOURNEY 709 449}
    {NEW_BATTLE 689 424}
#enddef

#define JOURNEY4_STAGE1_END
    {OLD_JOURNEY 709 449}
    {NEW_BATTLE 689 424}
#enddef

#define JOURNEY4_COMPLETE
    {OLD_JOURNEY 709 449}
    {OLD_BATTLE 689 424}
#enddef

#define JOURNEY5_STAGE1
    {NEW_JOURNEY 666 401}
    {NEW_JOURNEY 629 383}
    {NEW_BATTLE 602 368}
#enddef

#define JOURNEY5_STAGE1_END
    {OLD_JOURNEY 666 401}
    {OLD_JOURNEY 629 383}
    {NEW_BATTLE 602 368}
#enddef

#define JOURNEY5_STAGE2
    {OLD_JOURNEY 666 401}
    {OLD_JOURNEY 629 383}
    {OLD_BATTLE 602 368}
    {NEW_JOURNEY 581 327}
    {NEW_JOURNEY 570 288}
    {NEW_BATTLE 552 244}
#enddef

#define JOURNEY5_STAGE2_END
    {OLD_JOURNEY 666 401}
    {OLD_JOURNEY 629 383}
    {OLD_BATTLE 602 368}
    {OLD_JOURNEY 581 327}
    {OLD_JOURNEY 570 288}
    {NEW_BATTLE 552 244}
#enddef

#define JOURNEY5_COMPLETE
    {OLD_JOURNEY 666 401}
    {OLD_JOURNEY 629 383}
    {OLD_BATTLE 602 368}
    {OLD_JOURNEY 581 327}
    {OLD_JOURNEY 570 288}
    {OLD_BATTLE 552 244}
#enddef

#define JOURNEY6_STAGE1
    {NEW_JOURNEY 707 411}
    {NEW_BATTLE 709 381}
#enddef

#define JOURNEY6_STAGE1_END
    {OLD_JOURNEY 707 411}
    {NEW_BATTLE 709 381}
#enddef

#define JOURNEY6_STAGE2
    {OLD_JOURNEY 707 411}
    {OLD_BATTLE 709 381}
    {NEW_JOURNEY 670 349}
    {NEW_JOURNEY 631 326}
    {NEW_JOURNEY 600 303}
    {NEW_JOURNEY 561 268}
    {NEW_BATTLE 552 244}
#enddef

#define JOURNEY6_STAGE2_END
    {OLD_JOURNEY 707 411}
    {OLD_BATTLE 709 381}
    {OLD_JOURNEY 670 349}
    {OLD_JOURNEY 631 326}
    {OLD_JOURNEY 600 303}
    {OLD_JOURNEY 561 268}
    {NEW_BATTLE 552 244}
#enddef

#define JOURNEY6_COMPLETE
    {OLD_JOURNEY 707 411}
    {OLD_BATTLE 709 381}
    {OLD_JOURNEY 670 349}
    {OLD_JOURNEY 631 326}
    {OLD_JOURNEY 600 303}
    {OLD_JOURNEY 561 268}
    {OLD_BATTLE 552 244}
#enddef

#define JOURNEY7_STAGE1
    {NEW_JOURNEY 583 250}
    {NEW_JOURNEY 617 237}
    {NEW_BATTLE 636 214}
#enddef

#define JOURNEY7_STAGE1_END
    {OLD_JOURNEY 583 250}
    {OLD_JOURNEY 617 237}
    {NEW_BATTLE 636 214}
#enddef

#define JOURNEY7_STAGE2
    {OLD_JOURNEY 583 250}
    {OLD_JOURNEY 617 237}
    {OLD_BATTLE 636 214}
    {NEW_JOURNEY 620 168}
    {NEW_JOURNEY 582 152}
    {NEW_JOURNEY 543 137}
    {NEW_BATTLE 507 132}
#enddef

#define JOURNEY7_STAGE2_END
    {OLD_JOURNEY 583 250}
    {OLD_JOURNEY 617 237}
    {OLD_BATTLE 636 214}
    {OLD_JOURNEY 620 168}
    {OLD_JOURNEY 582 152}
    {OLD_JOURNEY 543 137}
    {NEW_BATTLE 507 132}
#enddef

#define JOURNEY7_STAGE3
    {OLD_JOURNEY 583 250}
    {OLD_JOURNEY 617 237}
    {OLD_BATTLE 636 214}
    {OLD_JOURNEY 620 168}
    {OLD_JOURNEY 582 152}
    {OLD_JOURNEY 543 137}
    {OLD_BATTLE 507 132}
    {NEW_JOURNEY 472 111}
    {NEW_JOURNEY 465 144}
    {NEW_JOURNEY 453 181}
    {NEW_JOURNEY 477 216}
    {NEW_JOURNEY 495 237}
    {NEW_JOURNEY 520 280}
    {NEW_JOURNEY 562 308}
    {NEW_JOURNEY 601 331}
    {NEW_BATTLE 633 352}
#enddef

#define JOURNEY7_STAGE3_END
    {OLD_JOURNEY 583 250}
    {OLD_JOURNEY 617 237}
    {OLD_BATTLE 636 214}
    {OLD_JOURNEY 620 168}
    {OLD_JOURNEY 582 152}
    {OLD_JOURNEY 543 137}
    {OLD_BATTLE 507 132}
    {OLD_JOURNEY 472 111}
    {OLD_JOURNEY 465 144}
    {OLD_JOURNEY 453 181}
    {OLD_JOURNEY 477 216}
    {OLD_JOURNEY 495 237}
    {OLD_JOURNEY 520 280}
    {OLD_JOURNEY 562 308}
    {OLD_JOURNEY 601 331}
    {NEW_BATTLE 633 352}
#enddef

#define JOURNEY7_STAGE4
    {OLD_JOURNEY 583 250}
    {OLD_JOURNEY 617 237}
    {OLD_BATTLE 636 214}
    {OLD_JOURNEY 620 168}
    {OLD_JOURNEY 582 152}
    {OLD_JOURNEY 543 137}
    {OLD_BATTLE 507 132}
    {OLD_JOURNEY 472 111}
    {OLD_JOURNEY 465 144}
    {OLD_JOURNEY 453 181}
    {OLD_JOURNEY 477 216}
    {OLD_JOURNEY 495 237}
    {OLD_JOURNEY 520 280}
    {OLD_JOURNEY 562 308}
    {OLD_JOURNEY 601 331}
    {OLD_BATTLE 633 352}
    {NEW_JOURNEY 643 376}
    {NEW_BATTLE 648 404}
#enddef

#define JOURNEY7_STAGE4_END
    {OLD_JOURNEY 583 250}
    {OLD_JOURNEY 617 237}
    {OLD_BATTLE 636 214}
    {OLD_JOURNEY 620 168}
    {OLD_JOURNEY 582 152}
    {OLD_JOURNEY 543 137}
    {OLD_BATTLE 507 132}
    {OLD_JOURNEY 472 111}
    {OLD_JOURNEY 465 144}
    {OLD_JOURNEY 453 181}
    {OLD_JOURNEY 477 216}
    {OLD_JOURNEY 495 237}
    {OLD_JOURNEY 520 280}
    {OLD_JOURNEY 562 308}
    {OLD_JOURNEY 601 331}
    {OLD_BATTLE 633 352}
    {OLD_JOURNEY 643 376}
    {NEW_BATTLE 648 404}
#enddef

#define JOURNEY7_STAGE5
    {OLD_JOURNEY 583 250}
    {OLD_JOURNEY 617 237}
    {OLD_BATTLE 636 214}
    {OLD_JOURNEY 620 168}
    {OLD_JOURNEY 582 152}
    {OLD_JOURNEY 543 137}
    {OLD_BATTLE 507 132}
    {OLD_JOURNEY 472 111}
    {OLD_JOURNEY 465 144}
    {OLD_JOURNEY 453 181}
    {OLD_JOURNEY 477 216}
    {OLD_JOURNEY 495 237}
    {OLD_JOURNEY 520 280}
    {OLD_JOURNEY 562 308}
    {OLD_JOURNEY 601 331}
    {OLD_BATTLE 633 352}
    {OLD_JOURNEY 643 376}
    {OLD_BATTLE 648 404}
    {NEW_JOURNEY 645 437}
    {NEW_JOURNEY 625 479}
    {NEW_BATTLE 610 511}
#enddef

#define JOURNEY7_STAGE5_END
    {OLD_JOURNEY 583 250}
    {OLD_JOURNEY 617 237}
    {OLD_BATTLE 636 214}
    {OLD_JOURNEY 620 168}
    {OLD_JOURNEY 582 152}
    {OLD_JOURNEY 543 137}
    {OLD_BATTLE 507 132}
    {OLD_JOURNEY 472 111}
    {OLD_JOURNEY 465 144}
    {OLD_JOURNEY 453 181}
    {OLD_JOURNEY 477 216}
    {OLD_JOURNEY 495 237}
    {OLD_JOURNEY 520 280}
    {OLD_JOURNEY 562 308}
    {OLD_JOURNEY 601 331}
    {OLD_BATTLE 633 352}
    {OLD_JOURNEY 643 376}
    {OLD_BATTLE 648 404}
    {OLD_JOURNEY 645 437}
    {OLD_JOURNEY 625 479}
    {NEW_BATTLE 610 511}
#enddef

#define JOURNEY7_STAGE6
    {OLD_JOURNEY 583 250}
    {OLD_JOURNEY 617 237}
    {OLD_BATTLE 636 214}
    {OLD_JOURNEY 620 168}
    {OLD_JOURNEY 582 152}
    {OLD_JOURNEY 543 137}
    {OLD_BATTLE 507 132}
    {OLD_JOURNEY 472 111}
    {OLD_JOURNEY 465 144}
    {OLD_JOURNEY 453 181}
    {OLD_JOURNEY 477 216}
    {OLD_JOURNEY 495 237}
    {OLD_JOURNEY 520 280}
    {OLD_JOURNEY 562 308}
    {OLD_JOURNEY 601 331}
    {OLD_BATTLE 633 352}
    {OLD_JOURNEY 643 376}
    {OLD_BATTLE 648 404}
    {OLD_JOURNEY 645 437}
    {OLD_JOURNEY 625 479}
    {OLD_BATTLE 610 511}
    {NEW_REST 600 537}
#enddef

#define JOURNEY7_STAGE6_END
    {OLD_JOURNEY 583 250}
    {OLD_JOURNEY 617 237}
    {OLD_BATTLE 636 214}
    {OLD_JOURNEY 620 168}
    {OLD_JOURNEY 582 152}
    {OLD_JOURNEY 543 137}
    {OLD_BATTLE 507 132}
    {OLD_JOURNEY 472 111}
    {OLD_JOURNEY 465 144}
    {OLD_JOURNEY 453 181}
    {OLD_JOURNEY 477 216}
    {OLD_JOURNEY 495 237}
    {OLD_JOURNEY 520 280}
    {OLD_JOURNEY 562 308}
    {OLD_JOURNEY 601 331}
    {OLD_BATTLE 633 352}
    {OLD_JOURNEY 643 376}
    {OLD_BATTLE 648 404}
    {OLD_JOURNEY 645 437}
    {OLD_JOURNEY 625 479}
    {OLD_BATTLE 610 511}
    {NEW_REST 600 537}
#enddef

#define JOURNEY7_COMPLETE
    {OLD_JOURNEY 583 250}
    {OLD_JOURNEY 617 237}
    {OLD_BATTLE 636 214}
    {OLD_JOURNEY 620 168}
    {OLD_JOURNEY 582 152}
    {OLD_JOURNEY 543 137}
    {OLD_BATTLE 507 132}
    {OLD_JOURNEY 472 111}
    {OLD_JOURNEY 465 144}
    {OLD_JOURNEY 453 181}
    {OLD_JOURNEY 477 216}
    {OLD_JOURNEY 495 237}
    {OLD_JOURNEY 520 280}
    {OLD_JOURNEY 562 308}
    {OLD_JOURNEY 601 331}
    {OLD_BATTLE 633 352}
    {OLD_JOURNEY 643 376}
    {OLD_BATTLE 648 404}
    {OLD_JOURNEY 645 437}
    {OLD_JOURNEY 625 479}
    {OLD_BATTLE 610 511}
    {OLD_REST 600 537}
#enddef

# trackplacer: tracks end

#define TO_THE_OUTPOST
    background="eastern-invasion-map.png"
    {JOURNEY1_STAGE1}
#enddef

#define TO_AN_UNEXPECTED_APPEARANCE
    background="eastern-invasion-map.png"
    {JOURNEY1_STAGE2}
#enddef

#define TO_AN_ELVEN_ALLIANCE
    background="eastern-invasion-map.png"
    {JOURNEY1_COMPLETE}
    {JOURNEY2_STAGE1}
#enddef

#define TO_THE_UNDEAD_BORDER_PATROL
    background="eastern-invasion-map.png"
    {JOURNEY1_COMPLETE}
    {JOURNEY3_STAGE1}
#enddef

#define TO_MAL_RAVANALS_CAPITOL
    background="eastern-invasion-map.png"
    {JOURNEY1_COMPLETE}
    {JOURNEY3_STAGE2}
#enddef

#define TO_NORTHERN_OUTPOST
    background="eastern-invasion-map.png"
    [if]
        [variable]
            name=first_fork
            equals=east
        [/variable]
        [then]
            {JOURNEY1_COMPLETE}
            {JOURNEY3_STAGE3}
        [/then]
        [else]
            {JOURNEY1_COMPLETE}
            {JOURNEY2_STAGE2}
        [/else]
    [/if]
#enddef

#define TO_TWO_PATHS
    background="eastern-invasion-map.png"
    {JOURNEY1_COMPLETE}
    [if]
        [variable]
            name=first_fork
            equals=east
        [/variable]
        [then]
            {JOURNEY3_COMPLETE}
        [/then]
        [else]
            {JOURNEY2_COMPLETE}
        [/else]
    [/if]
    {JOURNEY4_STAGE1}
#enddef

#define TO_UNDEAD_CROSSING
    background="eastern-invasion-map.png"
    {JOURNEY1_COMPLETE}
    [if]
        [variable]
            name=first_fork
            equals=east
        [/variable]
        [then]
            {JOURNEY3_COMPLETE}
        [/then]
        [else]
            {JOURNEY2_COMPLETE}
        [/else]
    [/if]
    {JOURNEY4_COMPLETE}
    {JOURNEY5_STAGE1}
#enddef

#define TO_THE_CROSSING
    background="eastern-invasion-map.png"
    {JOURNEY1_COMPLETE}
    [if]
        [variable]
            name=first_fork
            equals=east
        [/variable]
        [then]
            {JOURNEY3_COMPLETE}
        [/then]
        [else]
            {JOURNEY2_COMPLETE}
        [/else]
    [/if]
    {JOURNEY4_COMPLETE}
    {JOURNEY6_STAGE1}
#enddef

#define TO_TRAINING_THE_OGRES
    background="eastern-invasion-map.png"
    {JOURNEY1_COMPLETE}
    [if]
        [variable]
            name=first_fork
            equals=east
        [/variable]
        [then]
            {JOURNEY3_COMPLETE}
        [/then]
        [else]
            {JOURNEY2_COMPLETE}
        [/else]
    [/if]
    {JOURNEY4_COMPLETE}
    [if]
        [variable]
            name=second_fork
            equals=west
        [/variable]
        [then]
            {JOURNEY5_STAGE2}
        [/then]
        [else]
            {JOURNEY6_STAGE2}
        [/else]
    [/if]
#enddef

#define FROM_TRAINING_THE_OGRES AFTER_WML
    background="eastern-invasion-map.png"
    {JOURNEY1_COMPLETE}
    [if]
        [variable]
            name=first_fork
            equals=east
        [/variable]
        [then]
            {JOURNEY3_COMPLETE}
        [/then]
        [else]
            {JOURNEY2_COMPLETE}
        [/else]
    [/if]
    {JOURNEY4_COMPLETE}
    [if]
        [variable]
            name=second_fork
            equals=west
        [/variable]
        [then]
            {JOURNEY5_COMPLETE}
        [/then]
        [else]
            {JOURNEY6_COMPLETE}
        [/else]
    [/if]
    {AFTER_WML}
#enddef

#define TO_XENOPHOBIA
    {FROM_TRAINING_THE_OGRES {JOURNEY7_STAGE1}}
#enddef

#define TO_LAKE_VRUG
    {FROM_TRAINING_THE_OGRES {JOURNEY7_STAGE2}}
#enddef

#define TO_EVACUATION
    {FROM_TRAINING_THE_OGRES {JOURNEY7_STAGE3}}
#enddef

#define TO_THE_DROWNED_PLAINS
    {FROM_TRAINING_THE_OGRES {JOURNEY7_STAGE4}}
#enddef

#define TO_APPROACHING_WELDYN
    {FROM_TRAINING_THE_OGRES {JOURNEY7_STAGE5}}
#enddef

#define TO_THE_COUNCIL
    {FROM_TRAINING_THE_OGRES {JOURNEY7_STAGE6}}
#enddef

# trackplacer: epilog begins

#undef JOURNEY1_STAGE1_END
#undef JOURNEY1_STAGE2_END
#undef JOURNEY2_STAGE1_END
#undef JOURNEY2_STAGE2_END
#undef JOURNEY3_STAGE1_END
#undef JOURNEY3_STAGE2_END
#undef JOURNEY3_STAGE3_END
#undef JOURNEY4_STAGE1_END
#undef JOURNEY5_STAGE1_END
#undef JOURNEY5_STAGE2_END
#undef JOURNEY6_STAGE1_END
#undef JOURNEY6_STAGE2_END
#undef JOURNEY7_STAGE1_END
#undef JOURNEY7_STAGE2_END
#undef JOURNEY7_STAGE3_END
#undef JOURNEY7_STAGE4_END
#undef JOURNEY7_STAGE5_END
#undef JOURNEY7_STAGE6_END
#undef JOURNEY7_COMPLETE

# trackplacer: epilog ends
