#textdomain wesnoth-ei

#define EI_BIGMAP
    [background_layer]
        image=maps/background.jpg
        scale_vertically=yes
        scale_horizontally=no
        keep_aspect_ratio=yes
    [/background_layer]
    [background_layer]
        image=maps/ei.png
        scale_vertically=yes
        scale_horizontally=no
        keep_aspect_ratio=yes
        base_layer=yes
    [/background_layer]
#enddef

#define NEW_JOURNEY X Y
    [image]
        x,y={X},{Y}
        file=misc/new-journey.png
        delay=300
        centered=yes
    [/image]
#enddef

#define JOURNEY_01_NEW
    {NEW_BATTLE 720 598}
#enddef

#define JOURNEY_01_OLD
    {OLD_BATTLE 720 598}
#enddef

#define JOURNEY_02_NEW
    {JOURNEY_01_OLD}
    {NEW_BATTLE 737 593}
#enddef

#define JOURNEY_02_OLD
    {JOURNEY_01_OLD}
    {OLD_BATTLE 737 593}
#enddef

#define JOURNEY_03_NEW
    {JOURNEY_02_OLD}
    {NEW_JOURNEY 754 590}
    {NEW_JOURNEY 771 588}
    {NEW_JOURNEY 788 588}
    {NEW_JOURNEY 806 588}
    {NEW_BATTLE 823 590}
#enddef

#define JOURNEY_03_OLD
    {JOURNEY_02_OLD}
    {OLD_JOURNEY 754 590}
    {OLD_JOURNEY 771 588}
    {OLD_JOURNEY 788 588}
    {OLD_JOURNEY 806 588}
    {OLD_BATTLE 823 590}
#enddef

#define JOURNEY_04A_NEW
    {JOURNEY_03_OLD}
    {NEW_JOURNEY 813 574}
    {NEW_JOURNEY 798 564}
    {NEW_BATTLE 780 558}
#enddef

#define JOURNEY_04A_OLD
    {JOURNEY_03_OLD}
    {OLD_JOURNEY 813 574}
    {OLD_JOURNEY 798 564}
    {OLD_BATTLE 780 558}
#enddef

#define JOURNEY_04B_NEW
    {JOURNEY_03_OLD}
    {NEW_JOURNEY 839 589}
    {NEW_JOURNEY 856 591}
    {NEW_JOURNEY 873 593}
    {NEW_BATTLE 888 595}
#enddef

#define JOURNEY_04B_OLD
    {JOURNEY_03_OLD}
    {OLD_JOURNEY 839 589}
    {OLD_JOURNEY 856 591}
    {OLD_JOURNEY 873 593}
    {OLD_BATTLE 888 595}
#enddef

#define JOURNEY_04C_NEW
    {JOURNEY_04B_OLD}
    {NEW_JOURNEY 901 605}
    {NEW_JOURNEY 907 619}
    {NEW_JOURNEY 909 634}
    {NEW_JOURNEY 912 649}
    {NEW_JOURNEY 918 663}
    {NEW_JOURNEY 928 675}
    {NEW_JOURNEY 941 683}
    {NEW_JOURNEY 955 688}
    {NEW_JOURNEY 970 691}
    {NEW_BATTLE 985 693}
#enddef

#define JOURNEY_04C_OLD
    {JOURNEY_04B_OLD}
    {OLD_JOURNEY 901 605}
    {OLD_JOURNEY 907 619}
    {OLD_JOURNEY 909 634}
    {OLD_JOURNEY 912 649}
    {OLD_JOURNEY 918 663}
    {OLD_JOURNEY 928 675}
    {OLD_JOURNEY 941 683}
    {OLD_JOURNEY 955 688}
    {OLD_JOURNEY 970 691}
    {OLD_BATTLE 985 693}
#enddef

#define JOURNEY_05_NEW
    [if]
        [variable]
            name=first_fork
            equals=west
        [/variable]
        [then]
            {JOURNEY_04A_OLD}
            {NEW_JOURNEY 766 553}
            {NEW_JOURNEY 753 544}
            {NEW_JOURNEY 747 530}
            {NEW_BATTLE 746 515}
        [/then]
        [else]
            [if]
                [variable]
                    name=east_trek
                    equals=no
                [/variable]
                [then]
                    {JOURNEY_04B_OLD}
                    {NEW_JOURNEY 885 579}
                    {NEW_JOURNEY 875 567}
                    {NEW_JOURNEY 863 556}
                    {NEW_JOURNEY 851 545}
                    {NEW_JOURNEY 838 536}
                    {NEW_JOURNEY 824 528}
                    {NEW_JOURNEY 809 522}
                    {NEW_JOURNEY 793 518}
                    {NEW_JOURNEY 778 515}
                    {NEW_JOURNEY 762 514}
                    {NEW_BATTLE 746 515}
                [/then]
                [else]
                    {JOURNEY_04C_OLD}
                    {NEW_JOURNEY 970 691}
                    {NEW_JOURNEY 955 688}
                    {NEW_JOURNEY 941 683}
                    {NEW_JOURNEY 928 675}
                    {NEW_JOURNEY 918 663}
                    {NEW_JOURNEY 912 649}
                    {NEW_JOURNEY 909 634}
                    {NEW_JOURNEY 907 619}

                    {NEW_JOURNEY 901 605}
                    {NEW_JOURNEY 894 591}
                    {NEW_JOURNEY 885 579}
                    {NEW_JOURNEY 875 567}
                    {NEW_JOURNEY 863 556}
                    {NEW_JOURNEY 851 545}
                    {NEW_JOURNEY 838 536}
                    {NEW_JOURNEY 824 528}
                    {NEW_JOURNEY 809 522}
                    {NEW_JOURNEY 793 518}
                    {NEW_JOURNEY 778 515}
                    {NEW_JOURNEY 762 514}
                    {NEW_BATTLE 746 515}
                [/else]
            [/if]
        [/else]
    [/if]
#enddef

#define JOURNEY_05_OLD
    [if]
        [variable]
            name=first_fork
            equals=west
        [/variable]
        [then]
            {JOURNEY_04A_OLD}
            {OLD_JOURNEY 766 553}
            {OLD_JOURNEY 753 544}
            {OLD_JOURNEY 747 530}
            {OLD_BATTLE 746 515}
        [/then]
        [else]
            [if]
                [variable]
                    name=east_trek
                    equals=no
                [/variable]
                [then]
                    {JOURNEY_04B_OLD}
                    {OLD_JOURNEY 885 579}
                    {OLD_JOURNEY 875 567}
                    {OLD_JOURNEY 863 556}
                    {OLD_JOURNEY 851 545}
                    {OLD_JOURNEY 838 536}
                    {OLD_JOURNEY 824 528}
                    {OLD_JOURNEY 809 522}
                    {OLD_JOURNEY 793 518}
                    {OLD_JOURNEY 778 515}
                    {OLD_JOURNEY 762 514}
                    {OLD_BATTLE 746 515}
                [/then]
                [else]
                    {JOURNEY_04C_OLD}
                    {OLD_JOURNEY 970 691}
                    {OLD_JOURNEY 955 688}
                    {OLD_JOURNEY 941 683}
                    {OLD_JOURNEY 928 675}
                    {OLD_JOURNEY 918 663}
                    {OLD_JOURNEY 912 649}
                    {OLD_JOURNEY 909 634}
                    {OLD_JOURNEY 907 619}

                    {OLD_JOURNEY 901 605}
                    {OLD_JOURNEY 894 591}
                    {OLD_JOURNEY 885 579}
                    {OLD_JOURNEY 875 567}
                    {OLD_JOURNEY 863 556}
                    {OLD_JOURNEY 851 545}
                    {OLD_JOURNEY 838 536}
                    {OLD_JOURNEY 824 528}
                    {OLD_JOURNEY 809 522}
                    {OLD_JOURNEY 793 518}
                    {OLD_JOURNEY 778 515}
                    {OLD_JOURNEY 762 514}
                    {OLD_BATTLE 746 515}
                [/else]
            [/if]
        [/else]
    [/if]
#enddef

#define JOURNEY_06_NEW
    {JOURNEY_05_OLD}
    {NEW_JOURNEY 740 499}
    {NEW_JOURNEY 731 485}
    {NEW_JOURNEY 719 474}
    {NEW_JOURNEY 706 464}
    {NEW_JOURNEY 691 456}
    {NEW_BATTLE 675 450}
#enddef

#define JOURNEY_06_OLD
    {JOURNEY_05_OLD}
    {OLD_JOURNEY 740 499}
    {OLD_JOURNEY 731 485}
    {OLD_JOURNEY 719 474}
    {OLD_JOURNEY 706 464}
    {OLD_JOURNEY 691 456}
    {OLD_BATTLE 675 450}
#enddef

#define JOURNEY_07A_NEW
    {JOURNEY_06_OLD}
    {NEW_JOURNEY 657 445}
    {NEW_JOURNEY 642 434}
    {NEW_BATTLE 638 417}
#enddef

#define JOURNEY_07A_OLD
    {JOURNEY_06_OLD}
    {OLD_JOURNEY 657 445}
    {OLD_JOURNEY 642 434}
    {OLD_BATTLE 638 417}
#enddef

#define JOURNEY_07B_NEW
    {JOURNEY_06_OLD}
    {NEW_JOURNEY 660 446}
    {NEW_JOURNEY 645 443}
    {NEW_JOURNEY 630 440}
    {NEW_JOURNEY 615 437}
    {NEW_JOURNEY 600 434}
    {NEW_JOURNEY 585 431}
    {NEW_JOURNEY 570 428}
    {NEW_JOURNEY 555 425}
    {NEW_JOURNEY 540 421}
    {NEW_JOURNEY 526 416}
    {NEW_JOURNEY 512 411}
    {NEW_BATTLE 500 402}
#enddef

#define JOURNEY_07B_OLD
    {JOURNEY_06_OLD}
    {OLD_JOURNEY 660 446}
    {OLD_JOURNEY 645 443}
    {OLD_JOURNEY 630 440}
    {OLD_JOURNEY 615 437}
    {OLD_JOURNEY 600 434}
    {OLD_JOURNEY 585 431}
    {OLD_JOURNEY 570 428}
    {OLD_JOURNEY 555 425}
    {OLD_JOURNEY 540 421}
    {OLD_JOURNEY 526 416}
    {OLD_JOURNEY 512 411}
    {OLD_BATTLE 500 402}
#enddef

#define JOURNEY_08_NEW
    [if]
        [variable]
            name=second_fork
            equals=north
        [/variable]
        [then]
            {JOURNEY_07A_OLD}
            {NEW_JOURNEY 634 402}
            {NEW_JOURNEY 623 391}
            {NEW_JOURNEY 608 384}
            {NEW_JOURNEY 592 379}
            {NEW_JOURNEY 577 375}
            {NEW_JOURNEY 561 370}
            {NEW_JOURNEY 546 365}
            {NEW_JOURNEY 531 359}
            {NEW_JOURNEY 517 351}
            {NEW_JOURNEY 504 340}
            {NEW_BATTLE 494 327}
        [/then]
        [else]
            {JOURNEY_07B_OLD}
            {NEW_JOURNEY 494 387}
            {NEW_JOURNEY 496 372}
            {NEW_JOURNEY 499 357}
            {NEW_JOURNEY 499 342}
            {NEW_BATTLE 494 327}
        [/else]
    [/if]
#enddef

#define JOURNEY_08_OLD
    [if]
        [variable]
            name=second_fork
            equals=north
        [/variable]
        [then]
            {JOURNEY_07A_OLD}
            {OLD_JOURNEY 634 402}
            {OLD_JOURNEY 623 391}
            {OLD_JOURNEY 608 384}
            {OLD_JOURNEY 592 379}
            {OLD_JOURNEY 577 375}
            {OLD_JOURNEY 561 370}
            {OLD_JOURNEY 546 365}
            {OLD_JOURNEY 531 359}
            {OLD_JOURNEY 517 351}
            {OLD_JOURNEY 504 340}
            {OLD_BATTLE 494 327}
        [/then]
        [else]
            {JOURNEY_07B_OLD}
            {OLD_JOURNEY 494 387}
            {OLD_JOURNEY 496 372}
            {OLD_JOURNEY 499 357}
            {OLD_JOURNEY 499 342}
            {OLD_BATTLE 494 327}
        [/else]
    [/if]
#enddef

#define JOURNEY_09_NEW
    {JOURNEY_08_OLD}
    {NEW_JOURNEY 486 311}
    {NEW_JOURNEY 484 294}
    {NEW_JOURNEY 488 276}
    {NEW_BATTLE 483 259}
#enddef

#define JOURNEY_09_OLD
    {JOURNEY_08_OLD}
    {OLD_JOURNEY 486 311}
    {OLD_JOURNEY 484 294}
    {OLD_JOURNEY 488 276}
    {OLD_BATTLE 483 259}
#enddef

#define JOURNEY_10_NEW
    {JOURNEY_09_OLD}
    {NEW_JOURNEY 475 245}
    {NEW_JOURNEY 468 231}
    {NEW_JOURNEY 460 218}
    {NEW_JOURNEY 451 204}
    {NEW_JOURNEY 442 192}
    {NEW_JOURNEY 430 180}
    {NEW_BATTLE 417 172}
#enddef

#define JOURNEY_10_OLD
    {JOURNEY_09_OLD}
    {OLD_JOURNEY 475 245}
    {OLD_JOURNEY 468 231}
    {OLD_JOURNEY 460 218}
    {OLD_JOURNEY 451 204}
    {OLD_JOURNEY 442 192}
    {OLD_JOURNEY 430 180}
    {OLD_BATTLE 417 172}
#enddef

#define JOURNEY_11_NEW
    {JOURNEY_10_OLD}
    {NEW_JOURNEY 405 161}
    {NEW_BATTLE 391 155}
#enddef

#define JOURNEY_11_OLD
    {JOURNEY_10_OLD}
    {OLD_JOURNEY 405 161}
    {OLD_BATTLE 391 155}
#enddef

#define JOURNEY_12_NEW
    {JOURNEY_11_OLD}
    {NEW_BATTLE 391 155}
#enddef

#define JOURNEY_12_OLD
    {JOURNEY_11_OLD}
    {OLD_BATTLE 391 155}
#enddef

#define JOURNEY_13_NEW
    {JOURNEY_12_OLD}
    {NEW_JOURNEY 396 169}
    {NEW_JOURNEY 405 182}
    {NEW_JOURNEY 415 194}
    {NEW_JOURNEY 425 206}
    {NEW_JOURNEY 434 218}
    {NEW_JOURNEY 443 231}
    {NEW_JOURNEY 452 244}
    {NEW_JOURNEY 459 258}
    {NEW_JOURNEY 467 270}
    {NEW_JOURNEY 474 284}
    {NEW_JOURNEY 484 294}
    {NEW_JOURNEY 486 311}
    {NEW_JOURNEY 494 327}

    {NEW_JOURNEY 499 342}
    {NEW_JOURNEY 499 357}
    {NEW_JOURNEY 496 372}
    {NEW_JOURNEY 494 387}
    {NEW_JOURNEY 500 402}
    {NEW_JOURNEY 512 411}
    {NEW_JOURNEY 526 416}
    {NEW_JOURNEY 540 421}
    {NEW_JOURNEY 555 425}
    {NEW_JOURNEY 570 428}

    {NEW_JOURNEY 581 440}
    {NEW_JOURNEY 585 456}
    {NEW_JOURNEY 582 473}
    {NEW_BATTLE 577 489}
#enddef

#define JOURNEY_13_OLD
    {JOURNEY_12_OLD}
    {OLD_JOURNEY 396 169}
    {OLD_JOURNEY 405 182}
    {OLD_JOURNEY 415 194}
    {OLD_JOURNEY 425 206}
    {OLD_JOURNEY 434 218}
    {OLD_JOURNEY 443 231}
    {OLD_JOURNEY 452 244}
    {OLD_JOURNEY 459 258}
    {OLD_JOURNEY 467 270}
    {OLD_JOURNEY 474 284}
    {OLD_JOURNEY 484 294}
    {OLD_JOURNEY 486 311}
    {OLD_JOURNEY 494 327}

    {OLD_JOURNEY 499 342}
    {OLD_JOURNEY 499 357}
    {OLD_JOURNEY 496 372}
    {OLD_JOURNEY 494 387}
    {OLD_JOURNEY 500 402}
    {OLD_JOURNEY 512 411}
    {OLD_JOURNEY 526 416}
    {OLD_JOURNEY 540 421}
    {OLD_JOURNEY 555 425}
    {OLD_JOURNEY 570 428}

    {OLD_JOURNEY 580 440}
    {OLD_JOURNEY 584 456}
    {OLD_JOURNEY 581 473}
    {OLD_BATTLE 577 489}
#enddef

#define JOURNEY_14_NEW
    {JOURNEY_13_OLD}
    {NEW_JOURNEY 568 503}
    {NEW_JOURNEY 557 515}
    {NEW_JOURNEY 546 526}
    {NEW_JOURNEY 535 538}
    {NEW_JOURNEY 526 551}
    {NEW_JOURNEY 517 565}
    {NEW_BATTLE 510 580}
#enddef

#define JOURNEY_14_OLD
    {JOURNEY_13_OLD}
    {OLD_JOURNEY 568 503}
    {OLD_JOURNEY 557 515}
    {OLD_JOURNEY 546 526}
    {OLD_JOURNEY 535 538}
    {OLD_JOURNEY 526 551}
    {OLD_JOURNEY 517 565}
    {OLD_BATTLE 510 580}
#enddef

#define JOURNEY_15_NEW
    {JOURNEY_14_OLD}
    {NEW_JOURNEY 505 597}
    {NEW_REST 501 614}
#enddef

#define JOURNEY_15_OLD
    {JOURNEY_14_OLD}
    {OLD_JOURNEY 505 597}
    #{OLD_REST 501 614} # this would show under the next battle marker...
#enddef

#define JOURNEY_16_NEW
    {JOURNEY_15_OLD}
    {NEW_BATTLE 501 614}
#enddef

#define JOURNEY_16_OLD
    {JOURNEY_15_OLD}
    {OLD_BATTLE 501 614}
#enddef

#define JOURNEY_17_NEW
    {JOURNEY_16_OLD}
    {NEW_BATTLE 501 614}
#enddef

#define BIGMAP_01
    [story]
        [part]
            show_title=yes
            {EI_BIGMAP}
            {JOURNEY_01_NEW}
        [/part]
    [/story]
#enddef

#define BIGMAP_02
    [story]
        [part]
            show_title=yes
            {EI_BIGMAP}
            {JOURNEY_02_NEW}
        [/part]
    [/story]
#enddef

#define BIGMAP_03
    [story]
        [part]
            show_title=yes
            {EI_BIGMAP}
            {JOURNEY_03_NEW}
        [/part]
    [/story]
#enddef

#define BIGMAP_04A
    [story]
        [part]
            show_title=yes
            {EI_BIGMAP}
            {JOURNEY_04A_NEW}
        [/part]
    [/story]
#enddef

#define BIGMAP_04B
    [story]
        [part]
            show_title=yes
            {EI_BIGMAP}
            {JOURNEY_04B_NEW}
        [/part]
    [/story]
#enddef

#define BIGMAP_04C
    [story]
        [part]
            show_title=yes
            {EI_BIGMAP}
            {JOURNEY_04C_NEW}
        [/part]
    [/story]
#enddef

#define BIGMAP_05
    [story]
        [part]
            show_title=yes
            {EI_BIGMAP}
            {JOURNEY_05_NEW}
        [/part]
    [/story]
#enddef

#define BIGMAP_06
    [story]
        [part]
            show_title=yes
            {EI_BIGMAP}
            {JOURNEY_06_NEW}
        [/part]
    [/story]
#enddef

#define BIGMAP_07A
    [story]
        [part]
            show_title=yes
            {EI_BIGMAP}
            {JOURNEY_07A_NEW}
        [/part]
    [/story]
#enddef

#define BIGMAP_07B
    [story]
        [part]
            show_title=yes
            {EI_BIGMAP}
            {JOURNEY_07B_NEW}
        [/part]
    [/story]
#enddef

#define BIGMAP_08
    [story]
        [part]
            show_title=yes
            {EI_BIGMAP}
            {JOURNEY_08_NEW}
        [/part]
    [/story]
#enddef

#define BIGMAP_09
    [story]
        [part]
            show_title=yes
            {EI_BIGMAP}
            {JOURNEY_09_NEW}
        [/part]
    [/story]
#enddef

#define BIGMAP_10
    [story]
        [part]
            show_title=yes
            {EI_BIGMAP}
            {JOURNEY_10_NEW}
        [/part]
    [/story]
#enddef

#define BIGMAP_11
    [story]
        [part]
            show_title=yes
            {EI_BIGMAP}
            {JOURNEY_11_NEW}
        [/part]
    [/story]
#enddef

#define BIGMAP_12
    [story]
        [part]
            show_title=yes
            {EI_BIGMAP}
            {JOURNEY_12_NEW}
        [/part]
    [/story]
#enddef

#define BIGMAP_13
    [story]
        [part]
            show_title=yes
            {EI_BIGMAP}
            {JOURNEY_13_NEW}
        [/part]
    [/story]
#enddef

#define BIGMAP_14
    [story]
        [part]
            show_title=yes
            {EI_BIGMAP}
            {JOURNEY_14_NEW}
        [/part]
    [/story]
#enddef

#define BIGMAP_15
    [story]
        [part]
            show_title=yes
            {EI_BIGMAP}
            {JOURNEY_15_NEW}
        [/part]
    [/story]
#enddef

#define BIGMAP_16
    [story]
        [part]
            show_title=yes
            {EI_BIGMAP}
            {JOURNEY_16_NEW}
        [/part]
    [/story]
#enddef

#define BIGMAP_17
    [story]
        [part]
            show_title=yes
            {EI_BIGMAP}
            {JOURNEY_17_NEW}
        [/part]
    [/story]
#enddef

#define BIGMAP_18
    [story]
        [part]
            show_title=yes
            {EI_BIGMAP}
            {JOURNEY_18_NEW}
        [/part]
    [/story]
#enddef
