#textdomain wesnoth
#Macro for 4-Hex mountains
#define MOUNTAINS_2x2 TERRAIN PROB FLAG IMAGESTEM
    [terrain_graphics]
        map="
.,  *,  .
, *,  *
*,  1,  *
, 1,  1
*,  1,  *
, *,  *
.,  *,   .
, .,  ."

        [tile]
            pos=1
            type={TERRAIN}
            set_no_flag={FLAG}
        [/tile]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _1}
            base=88,107
        [/image]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _2}
            base=142,72
        [/image]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _3}
            base=196,107
        [/image]

        probability={PROB}
    [/terrain_graphics]
#enddef

#define MOUNTAINS_2x4_NW_SE TERRAIN PROB FLAG IMAGESTEM
    [terrain_graphics]
        map="
.,  *,  .,  .
, *,  *,  .
*,  1,  *,  .
, 1,  1,  *
*,  1,  1,  *
, *,  1,  1
.,  *,  1,  *
, .,  *,  *"

        [tile]
            pos=1
            type={TERRAIN}
            set_no_flag={FLAG}
        [/tile]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _1}
            base=88,107
        [/image]
        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _2}
            base=144,107
        [/image]
        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _3}
            base=196,107
        [/image]
        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _4}
            base=248,107
        [/image]
        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _5}
            base=304,107
        [/image]

        probability={PROB}
    [/terrain_graphics]
#enddef

#define MOUNTAINS_2x4_SW_NE TERRAIN PROB FLAG IMAGESTEM
    [terrain_graphics]
        map="
.,  .,  *,  .
, .,  *,  *
.,  *,  1,  *
, *,  1,  1
*,  1,  1,  *
, 1,  1,  *
*,  1,  *,   .
, *,  *,  ."

        [tile]
            pos=1
            type={TERRAIN}
            set_no_flag={FLAG}
        [/tile]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _1}
            base=88,107
        [/image]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _2}
            base=144,107
        [/image]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _3}
            base=196,107
        [/image]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _4}
            base=248,107
        [/image]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _5}
            base=304,107
        [/image]

        probability={PROB}
    [/terrain_graphics]
#enddef

#define MOUNTAINS_1x3_NW_SE TERRAIN PROB FLAG IMAGESTEM
    [terrain_graphics]
        map="
.,  .,  .,  .
, *,  .,  .
*,  *,  .,  .
, 1,  *,  .
*,  1,  *,  .
, *,  1,  *
.,  *,  *,  .
, .,  *,  ."

        [tile]
            pos=1
            type={TERRAIN}
            set_no_flag={FLAG}
        [/tile]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _1}
            base=88,128
        [/image]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _2}
            base=142,144
        [/image]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _3}
            base=196,180
        [/image]

        probability={PROB}
    [/terrain_graphics]
#enddef

#define MOUNTAINS_1x3_SW_NE TERRAIN PROB FLAG IMAGESTEM
    [terrain_graphics]
        map="
.,  .,  .,  .
, .,  *,  .
.,  *,  *,  .
, *,  1,  *
*,  1,  *,  .
, 1,  *,  .
*,  *,  .,  .
, .,  .,  ."

        [tile]
            pos=1
            type={TERRAIN}
            set_no_flag={FLAG}
        [/tile]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _1}
            base=88,180
        [/image]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _2}
            base=142,144
        [/image]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _3}
            base=196,128
        [/image]

        probability={PROB}
    [/terrain_graphics]
#enddef

#define MOUNTAIN_SINGLE TERRAIN PROB FLAG IMAGESTEM
    [terrain_graphics]
        map="
, *
* , *
, 1
* , *
, *"

        [tile]
            pos=1
            type={TERRAIN}
            set_no_flag={FLAG}
        [/tile]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} ()}
            base=90,107
            center=90,144
            variations=";2;3;4;5;6"
        [/image]

        probability={PROB}
    [/terrain_graphics]
#enddef

#define MOUNTAIN_SINGLE_RANDOM TERRAIN FLAG IMAGESTEM
    {MOUNTAIN_SINGLE ({TERRAIN}) 100  {FLAG} {IMAGESTEM}@V}
#enddef

#
# Macros for mountain peaks
#

#define PEAKS_LARGE TERRAIN PROB FLAG IMAGESTEM
    [terrain_graphics]
        map="
.,   .
,  *
*,   *
,  1
2,   2
,  2"

        [tile]
            pos=1
            type={TERRAIN}
            set_no_flag={FLAG}
        [/tile]

        [tile]
            pos=2
            type={TERRAIN}
        [/tile]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} ()}
            layer=2
        [/image]

        probability={PROB}
    [/terrain_graphics]
#enddef

#define PEAKS_1x2_SW_NE TERRAIN PROB FLAG IMAGESTEM
    [terrain_graphics]
        map="
.,   .
,  *,  *
*,   1
,  1,  2
*,   2
,  2,  *"

        [tile]
            pos=1
            type={TERRAIN}
            set_no_flag={FLAG}
        [/tile]

        [tile]
            pos=2
            type={TERRAIN}
        [/tile]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _1}
            layer=1
        [/image]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _2}
            layer=2
        [/image]

        probability={PROB}
    [/terrain_graphics]
#enddef

#define VOLCANO_2x2 TERRAIN ADJACENT PROB FLAG IMAGESTEM
    [terrain_graphics]
        map="
.,  *,  .
, *,  *
*,  1,  *
, 2,  2
*,  2,  *
, *,  *
.,  *,  .
, .,  ."

        [tile]
            pos=1
            type={TERRAIN}
            set_no_flag={FLAG}
        [/tile]

        [tile]
            pos=2
            type={ADJACENT}
            set_no_flag={FLAG}
        [/tile]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _1}
            base=88,107
        [/image]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _2}
            base=142,72
        [/image]

        [image]
            name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _3}
            base=196,107
        [/image]

        probability={PROB}
    [/terrain_graphics]
#enddef
