#textdomain wesnoth

# This utility macro disables standard transitions on a given terrain type. It
# is used for castles and keeps, as those have custom transitions.

#define DISABLE_TRANSITIONS TERRAIN_PATTERN
    [terrain_graphics]
        map="
, 1
6,  2
, 7
5,  3
, 4"
        [tile]
            pos=1
            set_flag=overlay-s,transition-s
        [/tile]
        [tile]
            pos=2
            set_flag=overlay-sw,transition-sw
        [/tile]
        [tile]
            pos=3
            set_flag=overlay-nw,transition-nw
        [/tile]
        [tile]
            pos=4
            set_flag=overlay-n,transition-n
        [/tile]
        [tile]
            pos=5
            set_flag=overlay-ne,transition-ne
        [/tile]
        [tile]
            pos=6
            set_flag=overlay-se,transition-se
        [/tile]
        [tile]
            pos=7
            type={TERRAIN_PATTERN}
        [/tile]
    [/terrain_graphics]
#enddef
