#textdomain wesnoth-nr
# wmllint: no translatables

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

#define NR_TRACK STAGE
    [story]
        [part]
            show_title=yes
            {NR_BIGMAP}
            {STAGE}
        [/part]
    [/story]
#enddef

#define SHOWDOWN_STAGE1
    [if]
        [variable]
            name=path_get_the_gold
            equals=yes
        [/variable]
        [then]
            {RECOVERY_COMPLETE}
            {ELVES_STAGE2}
        [/then]
        [else]
            {RECOVERY_COMPLETE}
            {ALONE_STAGE1}
        [/else]
    [/if]
#enddef

# trackplacer: tracks begin
#
# Hand-hack this section strictly at your own risk.
#
# trackplacer: map=data/campaigns/Northern_Rebirth/images/maps/nr.png
#
#define PROLOGUE_STAGE1
    {NEW_REST 1001 619}
#enddef

#define PROLOGUE_STAGE1_END
    {OLD_REST 1001 619}
#enddef

#define REVOLT_STAGE1
    {NEW_BATTLE 997 623}
#enddef

#define REVOLT_STAGE2
    {OLD_BATTLE 997 623}
    {NEW_BATTLE 1005 603}
#enddef

#define REVOLT_STAGE3
    {OLD_BATTLE 997 623}
    {OLD_BATTLE 1005 603}
    {NEW_JOURNEY 1006 584}
    {NEW_BATTLE 1007 567}
#enddef

#define REVOLT_STAGE4
    {OLD_BATTLE 997 623}
    {OLD_BATTLE 1005 603}
    {OLD_JOURNEY 1006 584}
    {OLD_BATTLE 1007 567}
    {NEW_JOURNEY 1006 584}
    {NEW_JOURNEY 1005 603}
    {NEW_BATTLE 997 623}
#enddef

#define REVOLT_STAGE5
    {OLD_BATTLE 997 623}
    {OLD_BATTLE 1005 603}
    {OLD_JOURNEY 1006 584}
    {OLD_BATTLE 1007 567}
    {NEW_JOURNEY 1005 603}
    {NEW_JOURNEY 1021 589}
    {NEW_JOURNEY 1044 583}
    {NEW_JOURNEY 1065 574}
    {NEW_JOURNEY 1077 560}
    {NEW_BATTLE 1099 555}
#enddef

#define REVOLT_STAGE6
    {OLD_BATTLE 997 623}
    {OLD_BATTLE 1005 603}
    {OLD_JOURNEY 1006 584}
    {OLD_BATTLE 1007 567}
    {OLD_JOURNEY 1021 589}
    {OLD_JOURNEY 1044 583}
    {OLD_JOURNEY 1065 574}
    {OLD_JOURNEY 1077 560}
    {OLD_BATTLE 1099 555}
    {NEW_JOURNEY 1077 560}
    {NEW_JOURNEY 1065 574}
    {NEW_JOURNEY 1044 583}
    {NEW_JOURNEY 1021 589}
    {NEW_REST 1012 600}
#enddef

#define RECOVERY_STAGE1
    {OLD_REST 1012 600}
    {NEW_JOURNEY 986 596}
    {NEW_JOURNEY 968 589}
    {NEW_JOURNEY 947 593}
    {NEW_JOURNEY 925 588}
    {NEW_BATTLE 915 570}
#enddef

#define RECOVERY_STAGE2
    {OLD_REST 1012 600}
    {OLD_JOURNEY 986 596}
    {OLD_JOURNEY 968 589}
    {OLD_JOURNEY 947 593}
    {OLD_JOURNEY 925 588}
    {OLD_BATTLE 915 570}
    {NEW_JOURNEY 925 588}
    {NEW_JOURNEY 947 593}
    {NEW_BATTLE 968 589}
#enddef

#define RECOVERY_STAGE3
    {OLD_REST 1012 600}
    {OLD_JOURNEY 986 596}
    {OLD_JOURNEY 968 589}
    {OLD_JOURNEY 947 593}
    {OLD_JOURNEY 925 588}
    {OLD_BATTLE 915 570}
    {OLD_BATTLE 968 589}
    {NEW_JOURNEY 986 596}
    {NEW_REST 1012 600}
#enddef

#define RECOVERY_STAGE4
    {OLD_REST 1012 600}
    {OLD_JOURNEY 986 596}
    {OLD_JOURNEY 968 589}
    {OLD_JOURNEY 947 593}
    {OLD_JOURNEY 925 588}
    {OLD_BATTLE 915 570}
    {OLD_BATTLE 968 589}
    {NEW_JOURNEY 1022 618}
    {NEW_JOURNEY 1033 633}
    {NEW_JOURNEY 1028 651}
    {NEW_BATTLE 1015 672}
#enddef

#define RECOVERY_STAGE5
    {OLD_REST 1012 600}
    {OLD_JOURNEY 986 596}
    {OLD_JOURNEY 968 589}
    {OLD_JOURNEY 947 593}
    {OLD_JOURNEY 925 588}
    {OLD_BATTLE 915 570}
    {OLD_BATTLE 968 589}
    {OLD_JOURNEY 1022 618}
    {OLD_JOURNEY 1033 633}
    {OLD_JOURNEY 1028 651}
    {OLD_BATTLE 1015 672}
    {NEW_JOURNEY 988 672}
    {NEW_JOURNEY 964 664}
    {NEW_JOURNEY 930 661}
    {NEW_JOURNEY 908 649}
    {NEW_BATTLE 897 628}
#enddef

#define RECOVERY_COMPLETE
    {OLD_REST 1012 600}
    {OLD_JOURNEY 986 596}
    {OLD_JOURNEY 968 589}
    {OLD_JOURNEY 947 593}
    {OLD_JOURNEY 925 588}
    {OLD_BATTLE 915 570}
    {OLD_BATTLE 968 589}
    {OLD_JOURNEY 1022 618}
    {OLD_JOURNEY 1033 633}
    {OLD_JOURNEY 1028 651}
    {OLD_BATTLE 1015 672}
    {OLD_JOURNEY 988 672}
    {OLD_JOURNEY 964 664}
    {OLD_JOURNEY 930 661}
    {OLD_JOURNEY 908 649}
    {OLD_BATTLE 897 628}
#enddef

#define ELVES_STAGE1
    {NEW_JOURNEY 885 651}
    {NEW_JOURNEY 882 674}
    {NEW_BATTLE 877 699}
#enddef

#define ELVES_STAGE2
    {OLD_JOURNEY 885 651}
    {OLD_JOURNEY 882 674}
    {OLD_BATTLE 877 699}
    {NEW_JOURNEY 862 669}
    {NEW_JOURNEY 850 642}
    {NEW_JOURNEY 835 616}
    {NEW_JOURNEY 816 593}
    {NEW_JOURNEY 796 579}
    {NEW_JOURNEY 765 573}
    {NEW_BATTLE 737 563}
#enddef

#define ALONE_STAGE1
    {NEW_JOURNEY 867 611}
    {NEW_JOURNEY 846 597}
    {NEW_JOURNEY 823 587}
    {NEW_JOURNEY 796 579}
    {NEW_JOURNEY 765 573}
    {NEW_BATTLE 737 563}
#enddef

# trackplacer: tracks end
