#textdomain wesnoth-help

#define DAWN
    [time]
        id=dawn
        name= _ "Dawn"
        image=misc/time-schedules/default/schedule-dawn.png
        red=-20
        green=-20
        sound=ambient/morning.ogg
    [/time]
#enddef

#define MORNING
    [time]
        id=morning
        name= _ "Morning"
        image=misc/time-schedules/default/schedule-morning.png
        lawful_bonus=25
    [/time]
#enddef

#define MIDDAY
    [time]
        id=midday
        name= _ "Midday"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(0,39,125,39)
        lawful_bonus=25
    [/time]
#enddef

#define AFTERNOON
    [time]
        id=afternoon
        name= _ "Afternoon"
        image=misc/time-schedules/default/schedule-afternoon.png
        lawful_bonus=25
    [/time]
#enddef

#define DUSK
    [time]
        id=dusk
        name= _ "Dusk"
        image=misc/time-schedules/default/schedule-dusk.png
        green=-20
        blue=-20
        sound=ambient/night.ogg
    [/time]
#enddef

#define FIRST_WATCH
    [time]
        id=first_watch
        name= _ "First Watch"
        image=misc/time-schedules/default/schedule-firstwatch.png
        lawful_bonus=-25
        red=-45
        green=-35
        blue=-10
    [/time]
#enddef

#define MIDNIGHT
    [time]
        id=midnight
        name= _ "Midnight"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(0,195,125,39)
        lawful_bonus=-25
        red=-45
        green=-35
        blue=-10
    [/time]
#enddef

#define SECOND_WATCH
    [time]
        id=second_watch
        name= _ "Second Watch"
        image=misc/time-schedules/default/schedule-secondwatch.png
        lawful_bonus=-25
        red=-45
        green=-35
        blue=-10
    [/time]
#enddef

#define INDOORS
    [time]
        id=indoors
        name= _ "Indoors"
        image=misc/time-schedules/schedule-indoors.png
    [/time]
#enddef

#define UNDERGROUND
    [time]
        id=underground
        name= _ "Underground"
        image=misc/time-schedules/schedule-underground.png
        lawful_bonus=-25
        red=-45
        green=-35
        blue=-10
    [/time]
#enddef

#define DEEP_UNDERGROUND
    [time]
        id=deep_underground
        name= _ "Deep Underground"
        image=misc/time-schedules/schedule-underground.png
        lawful_bonus=-30
        red=-40
        green=-45
        blue=-15
    [/time]
#enddef

#define DEFAULT_SCHEDULE
    {DAWN}
    {MORNING}
    {AFTERNOON}
    {DUSK}
    {FIRST_WATCH}
    {SECOND_WATCH}
#enddef

#define SUMMER_SCHEDULE
    {DAWN}
    {MORNING}
    {MIDDAY}
    {AFTERNOON}
    {DUSK}
    {MIDNIGHT}
#enddef

#define WINTER_SCHEDULE
    {DAWN}
    {MIDDAY}
    {DUSK}
    {FIRST_WATCH}
    {MIDNIGHT}
    {SECOND_WATCH}
#enddef

#define DEFAULT_SCHEDULE_DAWN
    {DEFAULT_SCHEDULE}
#enddef

#define DEFAULT_SCHEDULE_MORNING
    {DEFAULT_SCHEDULE}
    current_time=1
#enddef

#define DEFAULT_SCHEDULE_AFTERNOON
    {DEFAULT_SCHEDULE}
    current_time=2
#enddef

#define DEFAULT_SCHEDULE_DUSK
    {DEFAULT_SCHEDULE}
    current_time=3
#enddef

#define DEFAULT_SCHEDULE_FIRST_WATCH
    {DEFAULT_SCHEDULE}
    current_time=4
#enddef

#define DEFAULT_SCHEDULE_SECOND_WATCH
    {DEFAULT_SCHEDULE}
    current_time=5
#enddef

# 24-hour clock time-of-day macros.

#define MIDNIGHT_HOUR
    [time]
        id=midnight_hour
        name= _ "Midnight"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(0,195,125,39)
        lawful_bonus=-25
        red=-45
        green=-35
        blue=-10
    [/time]
#enddef

#define SECOND_WATCH_HOUR1
    [time]
        id=second_watch_hour1
        name= _ "Second Watch — First Hour"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(250,234,125,39)
        lawful_bonus=-25
        red=-45
        green=-35
        blue=-10
    [/time]
#enddef

#define SECOND_WATCH_HOUR2
    [time]
        id=second_watch_hour2
        name= _ "Second Watch — Second Hour"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(125,234,125,39)
        lawful_bonus=-25
        red=-45
        green=-35
        blue=-10
    [/time]
#enddef

#define SECOND_WATCH_HOUR3
    [time]
        id=second_watch_hour3
        name= _ "Second Watch — Third Hour"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(0,234,125,39)
        lawful_bonus=-25
        red=-45
        green=-35
        blue=-10
    [/time]
#enddef

#define SECOND_WATCH_HOUR4
    [time]
        id=second_watch_hour4
        name= _ "Second Watch — Fourth Hour"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(250,273,125,39)
        lawful_bonus=-25
        red=-45
        green=-35
        blue=-10
    [/time]
#enddef

#define SECOND_WATCH_HOUR5
    [time]
        id=second_watch_hour5
        name= _ "Second Watch — Fifth Hour"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(125,273,125,39)
        lawful_bonus=-15
        red=-45
        green=-35
        blue=-10
    [/time]
#enddef

#define SECOND_WATCH_HOUR6
    [time]
        id=second_watch_hour6
        name= _ "Second Watch — Sixth Hour"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(0,273,125,39)
        lawful_bonus=-5
        red=-30
        green=-30
        blue=-5
    [/time]
#enddef

#define DAWN_HOUR
    [time]
        id=dawn_hour
        name= _ "Dawn"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(250,0,125,39)
        red=-20
        green=-20
        sound=ambient/morning.ogg
    [/time]
#enddef

#define MORNING_HOUR1
    [time]
        id=morning_hour1
        name= _ "Morning — First Hour"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(125,0,125,39)
        lawful_bonus=5
    [/time]
#enddef

#define MORNING_HOUR2
    [time]
        id=morning_hour2
        name= _ "Morning — Second Hour"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(0,0,125,39)
        lawful_bonus=15
    [/time]
#enddef

#define MORNING_HOUR3
    [time]
        id=morning_hour3
        name= _ "Morning — Third Hour"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(250,39,125,39)
        lawful_bonus=25
    [/time]
#enddef

#define MORNING_HOUR4
    [time]
        id=morning_hour4
        name= _ "Morning — Fourth Hour"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(125,39,125,39)
        lawful_bonus=25
    [/time]
#enddef

#define MIDDAY_HOUR
    [time]
        id=midday_hour
        name= _ "Midday"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(0,39,125,39)
        lawful_bonus=25
    [/time]
#enddef

#define AFTERNOON_HOUR1
    [time]
        id=afternoon_hour1
        name= _ "Afternoon — First Hour"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(250,78,125,39)
        lawful_bonus=25
    [/time]
#enddef

#define AFTERNOON_HOUR2
    [time]
        id=afternoon_hour2
        name= _ "Afternoon — Second Hour"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(125,78,125,39)
        lawful_bonus=25
    [/time]
#enddef

#define AFTERNOON_HOUR3
    [time]
        id=afternoon_hour3
        name= _ "Afternoon — Third Hour"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(0,78,125,39)
        lawful_bonus=25
    [/time]
#enddef

#define AFTERNOON_HOUR4
    [time]
        id=afternoon_hour4
        name= _ "Afternoon — Fourth Hour"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(250,117,125,39)
        lawful_bonus=25
    [/time]
#enddef

#define AFTERNOON_HOUR5
    [time]
        id=afternoon_hour5
        name= _ "Afternoon — Fifth Hour"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(125,117,125,39)
        lawful_bonus=15
    [/time]
#enddef

#define AFTERNOON_HOUR6
    [time]
        id=afternoon_hour6
        name= _ "Afternoon — Sixth Hour"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(0,117,125,39)
        lawful_bonus=5
        green=-10
        blue=-10
    [/time]
#enddef

#define DUSK_HOUR
    [time]
        id=dusk_hour
        name= _ "Dusk"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(250,156,125,39)
        green=-20
        blue=-20
        sound=ambient/night.ogg
    [/time]
#enddef

#define FIRST_WATCH_HOUR1
    [time]
        id=first_watch_hour1
        name= _ "First Watch — First Hour"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(125,156,125,39)
        lawful_bonus=-5
        red=-20
        green=-30
        blue=-5
    [/time]
#enddef

#define FIRST_WATCH_HOUR2
    [time]
        id=first_watch_hour2
        name= _ "First Watch — Second Hour"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(0,156,125,39)
        lawful_bonus=-15
        red=-45
        green=-35
        blue=-10
    [/time]
#enddef

#define FIRST_WATCH_HOUR3
    [time]
        id=first_watch_hour3
        name= _ "First Watch — Third Hour"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(250,195,125,39)
        lawful_bonus=-25
        red=-45
        green=-35
        blue=-10
    [/time]
#enddef

#define FIRST_WATCH_HOUR4
    [time]
        id=first_watch_hour4
        name= _ "First Watch — Fourth Hour"
        image=misc/time-schedules/tod-schedule-24hrs.png~CROP(125,195,125,39)
        lawful_bonus=-25
        red=-45
        green=-35
        blue=-10
    [/time]
#enddef

#define DEFAULT_SCHEDULE_24H
    {DAWN_HOUR}
    {MORNING_HOUR1}
    {MORNING_HOUR2}
    {MORNING_HOUR3}
    {MORNING_HOUR4}
    {MIDDAY_HOUR}
    {AFTERNOON_HOUR1}
    {AFTERNOON_HOUR2}
    {AFTERNOON_HOUR3}
    {AFTERNOON_HOUR4}
    {AFTERNOON_HOUR5}
    {AFTERNOON_HOUR6}
    {DUSK_HOUR}
    {FIRST_WATCH_HOUR1}
    {FIRST_WATCH_HOUR2}
    {FIRST_WATCH_HOUR3}
    {FIRST_WATCH_HOUR4}
    {MIDNIGHT_HOUR}
    {SECOND_WATCH_HOUR1}
    {SECOND_WATCH_HOUR2}
    {SECOND_WATCH_HOUR3}
    {SECOND_WATCH_HOUR4}
    {SECOND_WATCH_HOUR5}
    {SECOND_WATCH_HOUR6}
#enddef

# Special times of day for campaigns playing after the fall

# UtBS uses a custom timeschedule assuming day - short night -
# day - long night which is supposed to simulate a world with two suns
# in the sky.

# There are 2 days in each cycle
# First Dawn, First Morning, First Mid-day, First Afternoon, First Dusk
# Short Dark,
# Second Dawn, Second Morning, Second Mid-day, Second Afternoon,
# Second Dusk, Long Dark1, Long Dark2, Long Dark3, Long Dark4.

# I label them "first" and "second" so the player always knows what
# day it currently is

#define DAWN1
    [time]
        id=dawn1
        name= _ "First Dawn"
        image=misc/time-schedules/after-the-fall/1dawn1.png
        red=-20
        green=-20
    [/time]
#enddef

#define DAWN2
    [time]
        id=dawn2
        name= _ "Second Dawn"
        image=misc/time-schedules/after-the-fall/7dawn2.png
        red=-20
        green=-20
    [/time]
#enddef

#define MORNING1
    [time]
        id=morning1
        name= _ "First Morning"
        image=misc/time-schedules/after-the-fall/2morning1.png
        lawful_bonus=25
    [/time]
#enddef

#define MORNING2
    [time]
        id=morning2
        name= _ "Second Morning"
        image=misc/time-schedules/after-the-fall/8morning2.png
        lawful_bonus=25
    [/time]
#enddef

#define MIDDAY1
    [time]
        id=midday1
        name= _ "First Midday"
        image=misc/time-schedules/after-the-fall/3midday1.png
        lawful_bonus=25
    [/time]
#enddef

#define MIDDAY2
    [time]
        id=midday2
        name= _ "Second Midday"
        image=misc/time-schedules/after-the-fall/9midday2.png
        lawful_bonus=25
    [/time]
#enddef

#define AFTERNOON1
    [time]
        id=afternoon1
        name= _ "First Afternoon"
        image=misc/time-schedules/after-the-fall/4afternoon1.png
        lawful_bonus=25
    [/time]
#enddef

#define AFTERNOON2
    [time]
        id=afternoon2
        name= _ "Second Afternoon"
        image=misc/time-schedules/after-the-fall/10afternoon2.png
        lawful_bonus=25
    [/time]
#enddef

#define DUSK1
    [time]
        id=dusk1
        name= _ "First Dusk"
        image=misc/time-schedules/after-the-fall/5dusk1.png
        green=-20
        blue=-20
    [/time]
#enddef

#define DUSK2
    [time]
        id=dusk2
        name= _ "Second Dusk"
        image=misc/time-schedules/after-the-fall/11dusk2.png
        green=-20
        blue=-20
    [/time]
#enddef

#define SHORTDARK
    [time]
        id=short_dark
        name= _ "The Short Dark"
        image=misc/time-schedules/after-the-fall/6shortdark.png
        lawful_bonus=-25
        red=-40
        green=-40
        blue=-10
    [/time]
#enddef

#define LONGDARK1
    [time]
        id=long_dark1
        name= _ "The Long Dark (1)"
        image=misc/time-schedules/after-the-fall/12longdark1.png
        lawful_bonus=-25
        red=-40
        green=-40
        blue=-10
    [/time]
#enddef

#define LONGDARK2
    [time]
        id=long_dark2
        name= _ "The Long Dark (2)"
        image=misc/time-schedules/after-the-fall/13longdark2.png
        lawful_bonus=-25
        red=-40
        green=-40
        blue=-10
    [/time]
#enddef

#use same image as second watch

#define LONGDARK3
    [time]
        id=long_dark3
        name= _ "The Long Dark (3)"
        image=misc/time-schedules/after-the-fall/14longdark3.png
        lawful_bonus=-25
        red=-40
        green=-40
        blue=-10
    [/time]
#enddef

#define LONGDARK4
    [time]
        id=long_dark4
        name= _ "The Long Dark (4)"
        image=misc/time-schedules/after-the-fall/15longdark4.png
        lawful_bonus=-25
        red=-40
        green=-40
        blue=-10
    [/time]
#enddef

#define TWO_SUNS_DEFAULT_SCHEDULE
    {DAWN1}
    {MORNING1}
    {MIDDAY1}
    {AFTERNOON1}
    {DUSK1}
    {SHORTDARK}
    {DAWN2}
    {MORNING2}
    {MIDDAY2}
    {AFTERNOON2}
    {DUSK2}
    {LONGDARK1}
    {LONGDARK2}
    {LONGDARK3}
    {LONGDARK4}
#enddef
