#textdomain wesnoth-sof

#define SOF_BIGMAP
    [background_layer]
        image=maps/background.webp
        scale_vertically=yes
        scale_horizontally=no
        keep_aspect_ratio=yes
    [/background_layer]
    [background_layer]
        image=maps/sof.webp
        scale_vertically=yes
        scale_horizontally=no
        keep_aspect_ratio=yes
        base_layer=yes
    [/background_layer]
#enddef

#define SOF_TRACK STAGE
    [story]
        [part]
            show_title=yes
            {SOF_BIGMAP}
            {STAGE}
        [/part]
    [/story]
#enddef

#define 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 391 581}
#enddef

#define JOURNEY_01_OLD
    {OLD_BATTLE 391 581}
#enddef

#define JOURNEY_02_NEW
    {JOURNEY_01_OLD}
    {JOURNEY 393 565}
    {NEW_BATTLE 400 550}
#enddef

#define JOURNEY_02_OLD
    {JOURNEY_01_OLD}
    {OLD_JOURNEY 393 565}
    {OLD_BATTLE 400 550}
#enddef

#define JOURNEY_02T_NEW
    {JOURNEY_02_OLD}
    {JOURNEY 416 535}
    {NEW_REST 434 524}
#enddef

#define JOURNEY_02T_OLD
    {JOURNEY_02_OLD}
    {OLD_JOURNEY 416 535}
    {OLD_REST 434 524}
#enddef

#define JOURNEY_03_NEW
    {JOURNEY_02T_OLD}
    {JOURNEY 426 510}
    {JOURNEY 421 495}
    {JOURNEY 418 479}
    {JOURNEY 416 463}
    {JOURNEY 415 447}
    {JOURNEY 416 431}
    {JOURNEY 418 414}
    {JOURNEY 421 399}
    {JOURNEY 426 383}
    {JOURNEY 431 368}
    {JOURNEY 437 353}
    {JOURNEY 444 339}
    {JOURNEY 452 326}
    {JOURNEY 462 314}
    {JOURNEY 472 303}
    {JOURNEY 482 292}
    {JOURNEY 493 281}
    {JOURNEY 504 271}
    {JOURNEY 514 260}
    {JOURNEY 525 249}
    {JOURNEY 534 237}
    {JOURNEY 544 225}
    {JOURNEY 552 212}
    {JOURNEY 559 199}
    {JOURNEY 564 185}
    {JOURNEY 565 166}
    {NEW_BATTLE 556 146}
#enddef

#define JOURNEY_03_OLD
    {JOURNEY_02T_OLD}
    {OLD_JOURNEY 426 510}
    {OLD_JOURNEY 421 495}
    {OLD_JOURNEY 418 479}
    {OLD_JOURNEY 416 463}
    {OLD_JOURNEY 415 447}
    {OLD_JOURNEY 416 431}
    {OLD_JOURNEY 418 414}
    {OLD_JOURNEY 421 399}
    {OLD_JOURNEY 426 383}
    {OLD_JOURNEY 431 368}
    {OLD_JOURNEY 437 353}
    {OLD_JOURNEY 444 339}
    {OLD_JOURNEY 452 326}
    {OLD_JOURNEY 462 314}
    {OLD_JOURNEY 472 303}
    {OLD_JOURNEY 482 292}
    {OLD_JOURNEY 493 281}
    {OLD_JOURNEY 504 271}
    {OLD_JOURNEY 514 260}
    {OLD_JOURNEY 525 249}
    {OLD_JOURNEY 534 237}
    {OLD_JOURNEY 544 225}
    {OLD_JOURNEY 552 212}
    {OLD_JOURNEY 559 199}
    {OLD_JOURNEY 564 185}
    {OLD_JOURNEY 565 166}
    {OLD_BATTLE 556 146}
#enddef

#define JOURNEY_03T_NEW
    {JOURNEY_03_OLD}
    {JOURNEY 565 166}
    {JOURNEY 564 185}
    {JOURNEY 559 199}
    {JOURNEY 552 212}
    {JOURNEY 544 225}
    {JOURNEY 534 237}
    {JOURNEY 525 249}
    {JOURNEY 514 260}
    {JOURNEY 504 271}
    {JOURNEY 493 281}
    {JOURNEY 482 292}
    {JOURNEY 472 303}
    {JOURNEY 462 314}
    {JOURNEY 452 326}
    {JOURNEY 444 339}
    {JOURNEY 437 353}
    {JOURNEY 431 368}
    {JOURNEY 426 383}
    {JOURNEY 421 399}
    {JOURNEY 418 414}
    {JOURNEY 416 431}
    {JOURNEY 415 447}
    {JOURNEY 416 463}
    {JOURNEY 418 479}
    {JOURNEY 421 495}
    {JOURNEY 426 510}
    {NEW_REST 434 524}
#enddef

#define JOURNEY_03T_OLD
    {JOURNEY_03_OLD}
    # no need to repeat the previous journey here
#enddef

#define JOURNEY_04_NEW
    {JOURNEY_03T_OLD}
    {JOURNEY 451 521}
    {JOURNEY 468 518}
    {JOURNEY 485 516}
    {JOURNEY 501 513}
    {NEW_BATTLE 518 508}
#enddef

#define JOURNEY_04_OLD
    {JOURNEY_03T_OLD}
    {OLD_JOURNEY 451 521}
    {OLD_JOURNEY 468 518}
    {OLD_JOURNEY 485 516}
    {OLD_JOURNEY 501 513}
    {OLD_BATTLE 518 508}
#enddef

#define JOURNEY_04T_NEW
    {JOURNEY_04_OLD}
    {JOURNEY 516 496}
    {JOURNEY 501 491}
    {JOURNEY 485 490}
    {JOURNEY 469 493}
    {JOURNEY 455 500}
    {JOURNEY 443 511}
    {NEW_REST 434 524}
#enddef

#define JOURNEY_04T_OLD
    {JOURNEY_04_OLD}
    {OLD_JOURNEY 516 496}
    {OLD_JOURNEY 501 491}
    {OLD_JOURNEY 485 490}
    {OLD_JOURNEY 469 493}
    {OLD_JOURNEY 455 500}
    {OLD_JOURNEY 443 511}
    {OLD_REST 434 524}
#enddef

#define JOURNEY_05_NEW
    {JOURNEY_04T_OLD}
    {JOURNEY 446 534}
    {JOURNEY 459 540}
    {JOURNEY 474 543}
    {JOURNEY 489 542}
    {JOURNEY 504 539}
    {JOURNEY 519 535}
    {JOURNEY 533 531}
    {JOURNEY 548 526}
    {JOURNEY 562 522}
    {JOURNEY 577 518}
    {JOURNEY 592 516}
    {JOURNEY 607 514}
    {JOURNEY 622 514}
    {JOURNEY 637 516}
    {JOURNEY 651 519}
    {JOURNEY 664 528}
    {NEW_BATTLE 670 540}
#enddef

#define JOURNEY_05_OLD
    {JOURNEY_04T_OLD}
    {OLD_JOURNEY 446 534}
    {OLD_JOURNEY 459 540}
    {OLD_JOURNEY 474 543}
    {OLD_JOURNEY 489 542}
    {OLD_JOURNEY 504 539}
    {OLD_JOURNEY 519 535}
    {OLD_JOURNEY 533 531}
    {OLD_JOURNEY 548 526}
    {OLD_JOURNEY 562 522}
    {OLD_JOURNEY 577 518}
    {OLD_JOURNEY 592 516}
    {OLD_JOURNEY 607 514}
    {OLD_JOURNEY 622 514}
    {OLD_JOURNEY 637 516}
    {OLD_JOURNEY 651 519}
    {OLD_JOURNEY 664 528}
    {OLD_BATTLE 670 540}
#enddef

#define JOURNEY_06_NEW
    {JOURNEY_05_OLD}
    {NEW_BATTLE 670 540}
#enddef

#define JOURNEY_06_OLD
    {JOURNEY_05_OLD}
    # no need to use the old battle marker here
#enddef

#define JOURNEY_07_NEW
    {JOURNEY_06_OLD}
    {JOURNEY 675 555}
    {JOURNEY 680 570}
    {JOURNEY 684 585}
    {JOURNEY 688 600}
    {JOURNEY 691 615}
    {JOURNEY 693 631}
    {JOURNEY 693 646}
    {JOURNEY 691 662}
    {JOURNEY 685 677}
    {JOURNEY 677 690}
    {JOURNEY 666 701}
    {JOURNEY 655 712}
    {JOURNEY 643 723}
    {JOURNEY 632 734}
    {JOURNEY 622 745}
    {JOURNEY 612 757}
    {JOURNEY 603 770}
    {JOURNEY 594 783}
    {NEW_BATTLE 587 797}
#enddef

#define JOURNEY_07_OLD
    {JOURNEY_06_OLD}
    {OLD_JOURNEY 675 555}
    {OLD_JOURNEY 680 570}
    {OLD_JOURNEY 684 585}
    {OLD_JOURNEY 688 600}
    {OLD_JOURNEY 691 615}
    {OLD_JOURNEY 693 631}
    {OLD_JOURNEY 693 646}
    {OLD_JOURNEY 691 662}
    {OLD_JOURNEY 685 677}
    {OLD_JOURNEY 677 690}
    {OLD_JOURNEY 666 701}
    {OLD_JOURNEY 655 712}
    {OLD_JOURNEY 643 723}
    {OLD_JOURNEY 632 734}
    {OLD_JOURNEY 622 745}
    {OLD_JOURNEY 612 757}
    {OLD_JOURNEY 603 770}
    {OLD_JOURNEY 594 783}
    {OLD_BATTLE 587 797}
#enddef

#define JOURNEY_08_NEW
    {JOURNEY_07_OLD}
    {JOURNEY 687 533}
    {NEW_BATTLE 703 521}
#enddef

#define JOURNEY_08_OLD
    {JOURNEY_07_OLD}
    {OLD_JOURNEY 687 533}
    {OLD_BATTLE 703 521}
#enddef

#define JOURNEY_09_NEW
    {JOURNEY_08_OLD}
    {JOURNEY 717 518}
    {JOURNEY 730 526}
    {NEW_BATTLE 738 539}
#enddef

#define JOURNEY_09_OLD
    {JOURNEY_08_OLD}
    {OLD_JOURNEY 717 518}
    {OLD_JOURNEY 730 526}
    {OLD_BATTLE 738 539}
#enddef
