#define RIVER_FORD X Y
    [event]
        name=prestart
        [sound_source]
            id=river_ford_{X}_{Y}
            #sounds=ambient/river/ford.ogg
            delay=0
            chance=100
            check_fogged=false
            loop=-1
            x={X}
            y={Y}
            full_range=1
            fade_range=4
        [/sound_source]
    [/event]
#enddef

#define RIVER_SLOW X Y
    [event]
        name=prestart
        [sound_source]
            id=river_slow_{X}_{Y}
            #sounds=ambient/river/slow.ogg
            delay=0
            chance=100
            check_fogged=false
            loop=-1
            x={X}
            y={Y}
            full_range=3
            fade_range=5
        [/sound_source]
    [/event]
#enddef

#define RIVER_FAST X Y
    [event]
        name=prestart
        [sound_source]
            id=river_fast_{X}_{Y}
            #sounds=ambient/river/fast.ogg
            delay=0
            chance=100
            check_fogged=false
            loop=-1
            x={X}
            y={Y}
            full_range=2
            fade_range=4
        [/sound_source]
    [/event]
#enddef

#define BIRD_SOUND X Y
    [event]
        name=new turn
        first_time_only=no
        [store_time_of_day]
            variable=time_of_day
        [/store_time_of_day]

        [if]
            [not]
                [variable]
                    name=time_of_day.id
                    equals=first_watch
                [/variable]
                [or]
                    [variable]
                        name=time_of_day.id
                        equals=second_watch
                    [/variable]
                [/or]
            [/not]
            [then]
                [sound_source]
                    id=birds_{X}_{Y}
                    sounds=ambient/birds1.ogg,ambient/birds2.ogg,ambient/birds3.ogg
                    delay=0
                    chance=100
                    check_fogged=false
                    loop=-1
                    x={X}
                    y={Y}
                    full_range=5
                    fade_range=7
                [/sound_source]
            [/then]
            [else]
                [remove_sound_source]
                    id=birds_{X}_{Y}
                [/remove_sound_source]
            [/else]
        [/if]
        {CLEAR_VARIABLE time_of_day}
    [/event]
#enddef
