start(
	module = "initial",
	intro = "intro",
	first_room = "addition1",
	timeout = "timeout",
	time = 450000,
	room_guards = ["data_control"],
        time_guards = ["one_minute"],
	start_timer = "later",
	theme = "moon_theme"
    ).

data_control(
	data_labels = []
    ).

one_minute(
	module = "tgdialogue",
	minutes = 1,
	title = "Only one minute to go!",
	title_sv = "Bara en minut kvar!",
	text = "The meteor is comming! You should be out by now.",
	text_sv = "Meteoren kommer! Du borde vara ute vid det här laget."
    ).

geometric1(
	module = "chooseone",
	html_file = "geometric1.en.html",
	html_file_sv = "geometric1.sv.html",
	button_text = "To the geometric figures",
	button_text_sv = "Till de geometriska figurerna",
	button_help = "Start identifying geometric shapes and figures",
	button_help_sv = "Börja identifiera de geometriska figurerna",
	control_file = "geometric_en.txt",
	control_file_sv = "geometric_sv.txt",
	theme = "rocket_theme",
	failure = "addition1",
	success = "subtraction1"
    ).

geometric2(
	module = "sayone",
	html_file = "geometric2.en.html",
	html_file_sv = "geometric2.sv.html",
	button_text = "To the geometric figures",
	button_text_sv = "Till de geometriska figurerna",
	button_help = "Start determining circumferences",
	button_help_sv = "Börja räkna ut omkretser",
	control_file = "geometric2_en.txt",
	control_file_sv = "geometric2_sv.txt",
	theme = "rocket_theme",
	failure = "wrong_geo2",
	success = "multiplication1"
    ).

wrong_geo2(
        module = "chooseone",
	control_file = "wrong.en.txt",
	control_file_sv = "wrong.sv.txt",
	theme = "rocket_theme",
	failure = "subtraction1",
    ).        

intro(
	module = "intro",
	first_room = "addition1",
	start_timer = "later",
	html_file = "intro.en.html",
	html_file_sv = "intro.sv.html",
	button_text = "First room in the maze",
	button_text_sv = "Första rummet i hinderbanan",
	button_help = "Start playing the game",
	button_help_sv = "Börja spela spelet"
    ).

addition1(
	module = "multsim",
	columns = 2,
	rows = 5,
	data_file = "addition1.txt",
	success = "geometric1",
	theme = "shuttle_theme",
	html_file = "addition1.en.html",
	html_file_sv = "addition1.sv.html",
	button_text = "Enter the room",
	button_text_sv = "Gå in i rummet",
	button_help = "Start solving the problems",
	button_help_sv = "Börja lösa uppgifterna"
    ).

subtraction1(
	module = "multsim",
	columns = 2,
	rows = 5,
	data_file = "subtraction_XX-X.txt",
	success = "geometric2",
	theme = "sun_theme",
	html_file = "subtraction_XX-X.en.html",
	html_file_sv = "subtraction_XX-X.sv.html",
	button_text = "Enter the room",
	button_text_sv = "Gå in i rummet",
	button_help = "Start solving the problems",
	button_help_sv = "Börja lösa uppgifterna"
    ).


multiplication1(
	module = "multsim",
	columns = 2,
	rows = 6,
	data_file = "multiplication1.txt",
	data_file44 = "multiplication1.ascii",
	success = "falling_object",
	theme = "moon_theme",
	html_file = "multiplication1.en.html",
	html_file_sv = "multiplication1.sv.html",
	button_text = "Enter the room",
	button_text_sv = "Gå in i rummet",
	button_help = "Start solving the problems",
	button_help_sv = "Börja lösa uppgifterna"
    ).

falling_object(
        module = "chooseone",
	control_file = "falling_object.en.txt",
	control_file_sv = "falling_object.sv.txt",
	theme = "black_theme",
	failure = "multiplication1",
	success = "animal_weight"
    ).        

animal_weight(
        module = "chooseone",
        control_file = "animal_weight.en.txt",
        control_file_sv = "animal_weight.sv.txt",
	theme = "black_theme",
	success = "metric_units",
	failure = "animal_weight",
        html_file = "animal_weight.en.html",
        html_file_sv = "animal_weight.sv.html",
	button_text = "Enter the room",
	button_text_sv = "Gå in i rummet",
	button_help = "To the animals",
        button_help_sv = "Till djuren!"
    ).

metric_units(
        module = "multsim",
	columns = 2,
	rows = 6,
	data_file = "metric_units.en.txt",
	data_file_sv = "metric_units.sv.txt",
	success = "final",
	theme = "comparison_theme",
	html_file = "metric_units.en.html",
	html_file_sv = "metric_units.sv.html",
	button_text = "Enter the room",
	button_text_sv = "Gå in i rummet",
	button_help = "Start converting units",
	button_help_sv = "Börja med enhetsomvandlingarna"
    ).        

final(
	module = "final",
	message = "success",
	stop_timer = "yes",
	html_file = "final_success.en.html",
	html_file_sv = "final_success.sv.html",
	button_text = "Exit the game",
	button_text_sv = "Avsluta spelet",
	button_help = "Quit this application",
	button_help_sv = "Avsluta programmet"
    ).

timeout(
	module = "final",
	message = "timeout",
	stop_timer = "yes",
	html_file = "final_timeout.en.html",
	html_file_sv = "final_timeout.sv.html",
	button_text = "Exit the game",
	button_text_sv = "Avsluta spelet",
	button_help = "Quit this application",
	button_help_sv = "Avsluta programmet"
    ).

moon_theme(
        placement = "centered",
        background = [ 0, 0, 0 ],
	text_background = [ 176, 159, 139 ],
	text_foreground = [ 0, 0, 0 ],
	image = "Moon-galileo-color-400x395.jpg",
	big_image = "Moon-galileo-color-800x789.jpg",
    ).

sun_theme(
        placement = "centered",
        background = [ 64, 64, 64 ],
	text_background = [ 0, 0, 0 ],
	text_foreground = [ 256, 64, 64 ],
	image = "sun_66677_609x500.jpg",
    ).

comparison_theme(
        placement = "centered",
        background = [ 0, 0, 0 ],
	text_background = [ 176, 159, 139 ],
	text_foreground = [ 0, 0, 0 ],
        image = "moon_earth_651x512.jpg",
    ).


rocket_theme(
        background = [ 0, 0, 0 ],
        text_foreground = [ 255, 255, 255 ],
        text_background = [ 0, 0, 0 ],
        LB_width = 111,
        RB_width = 111,
        TLC_image = "rocket_105541.jpg",
        BRC_image = "rocket_105541.jpg",
        LB_image = "rocket_105541_white.jpg",
        RB_image = "rocket_105541_blue.jpg"
    ).

shuttle_theme(
        background = [ 0, 0, 0 ],
        text_foreground = [ 255, 50, 0 ],
        text_background = [ 0, 0, 100 ],
        placement = "centered",
        image = "shuttle_110876_467x300.jpg",
        big_image = "shuttle_110876_999x643.jpg"
    ).

black_theme(
        background = [ 0, 0, 0 ]
    ).
