{
class = level_info
mesh = maps/test/level.mesh
}


{
class = info_player_start
origin = -9.71 -6.6 -1
snap_to_floor = true
start_naked = 1
}

{
class = item_ammo_shells
origin = -19.93 3.72 0
snap_to_floor = true
}

{
class = item_ammo_shells
origin = -18.93 3.72 0
rotation = 300 0 0 
snap_to_floor = true
}

{
class = item_ammo_shells
origin = -17.93 3.72 0
rotation = 45 0 0 
snap_to_floor = 1
}

{
class = item_ammo_bullets
origin = -19.83 -3.10 0
snap_to_floor = 1
}

{
class = item_ammo_bullets_small
origin = -18.93 -3.10 0
rotation = 78 0 0 
snap_to_floor = 1
}

{
class = item_ammo_bullets_clip
origin = -18 -3.05 0
rotation = 180 0 0 
snap_to_floor = 1
}

{
class = obstacle_marker_arrow
origin = -4.41 -5.05 0
rotation = 315 0 0
snap_to_floor = 1
triggered_remove = "zgas_pierwsza_strzalke"
}

{
class = trigger_player_touch
origin = -4.41 -5.05 -2
snap_to_floor = 1
radius = 2
trigger_on_touch = "zgas_pierwsza_strzalke" "zapal_strzalki_przy_broniach" "informacja_bronie"
triggered_remove = "zgas_pierwsza_strzalke"
}

{
class = trigger_radio_message
triggered = "informacja_bronie"
message = "Na lewo od Ciebie znajduja sie bronie. Podniesiesz je\n"\
          "klikajac na nich prawym przyciskiem myszy. Zrob to teraz."
caption = "Trainer"
icon = "gui/pokemons/trainer.png"
duration = 20000
}

{
class = item_weapon_pistol
origin = -13 2.3 0
snap_to_floor = true
trigger_on_take = "licz_bronie" "zgas_strzalke_pistolet"
}

{
class = obstacle_marker_arrow
origin = -11.4 2.3 0
rotation = 270 0 0
snap_to_floor = 1
show = false
triggered_show = "zapal_strzalki_przy_broniach"
triggered_remove = "zgas_strzalke_pistolet"
}

{
class = item_weapon_submachinegun
origin = -13 0.05 0
snap_to_floor = true
trigger_on_take = "licz_bronie" "zgas_strzelke_submachinegun"
}

{
class = obstacle_marker_arrow
origin = -11.4 0.05 0
rotation = 270 0 0
snap_to_floor = 1
show = false
triggered_show = "zapal_strzalki_przy_broniach"
triggered_remove = "zgas_strzelke_submachinegun"
}

{
class = item_weapon_super_shotgun
origin = -13 -2 0
snap_to_floor = true
trigger_on_take = "licz_bronie" "zgas_strzalke_shotgun"
}

{
class = obstacle_marker_arrow
origin = -11.4 -1.75 0
rotation = 270 0 0
snap_to_floor = 1
show = 0
triggered_show = "zapal_strzalki_przy_broniach"
triggered_remove = "zgas_strzalke_shotgun"
}

{
class = trigger_counter
count = 3
triggered_increase = "licz_bronie"
trigger = "info_o_zmianie_broni" "delay_o_broni" "strzalka_do_strzelania"
}

{
class = trigger_radio_message
triggered = "info_o_zmianie_broni"
message = "Swietnie! Klawiszami 1,2,3,4,5 mozesz zmienic aktualnie uzywana\n"\
          "bron na jedna z podniesionych. Strzelaj lewym przyciskiem\n"\
          "myszy. Jako tarczy strzeleckich proponuje uzyc niebieskich\n"\
          "terminali po lewej."
caption = "Trainer"
icon = "gui/pokemons/trainer.png"
duration = 20000
}

{
class = trigger_delay
delay = 23000
triggered = "delay_o_broni"
trigger = "info_o_amunicji" "pokaz_strzalki_ammo" "delay_po_amunicji" "strzalka_do_strzelania_kryj"
}

{
class = trigger_radio_message
triggered = "info_o_amunicji"
message = "Obok lezy amunicja. Mozesz ja podniesc, aby przeladowac bron\n"\
          "Zrobisz to klawiszem 'r' ( z ang. 'reload' ). Pamietaj jednak, ze\n"\
          "trwa to kilka sekund i w tym czasie nie bedziesz mogl strzelac."
caption = "Trainer"
icon = "gui/pokemons/trainer.png"
duration = 20000
}

{
class = obstacle_marker_arrow
origin = -19 -1.35 0
rotation = 180 0 0
snap_to_floor = 1
show = 0
triggered_show = "pokaz_strzalki_ammo"
triggered_remove = "zgas_strzalki_ammo"
}

{
class = obstacle_marker_arrow
origin = -19 2.3 0
rotation = 0 0 0
snap_to_floor = 1
show = 0
triggered_show = "pokaz_strzalki_ammo"
triggered_remove = "zgas_strzalki_ammo"
}

{
class = trigger_delay
delay = 23000
triggered = "delay_po_amunicji"
trigger = "info_o_dzwigni" "zgas_strzalki_ammo"
}

{
class = lever
origin = -29.8 0.26 -1
snap_to_floor = 1
trigger_toggle = "info_o_dzwigni_remove" "idz_dalej_once"
}

{
class = trigger_once
triggered = "idz_dalej_once"
trigger = "idz_dalej"
}

{
class = obstacle_marker_todo
origin = -29.8 0.26 0.2
show = 0
triggered_show = "info_o_dzwigni"
triggered_remove = "info_o_dzwigni_remove"
}

{
class = trigger_radio_message
triggered = "info_o_dzwigni"
message = "Na lewo znajduje sie dzwignia. Podejdz tam\n"\
          "i kliknaj na niej prawym przyciskiem myszy\n"\
          "Otworzysz nia przejscie dalej."
caption = "Trainer"
icon = "gui/pokemons/trainer.png"
duration = 20000
}

{
class = obstacle_marker_arrow
origin = -22.1 0.28 0
rotation = 270 0 0
snap_to_floor = 1
show = 0
triggered_show = "strzalka_do_strzelania"
triggered_remove = "strzalka_do_strzelania_kryj"
}

{
class = obstacle_computer4
origin = -24.1 0.28 0
rotation = 90 0 0
snap_to_floor = 1
}

{
class = obstacle_computer4
origin = -24.1 1.28 0
rotation = 90 0 0
snap_to_floor = 1
}

{
class = obstacle_computer4
origin = -24.1 -0.72 0
rotation = 90 0 0
snap_to_floor = 1
}

{
class = obstacle_computer4
origin = -24.1 -1.72 0
rotation = 90 0 0
snap_to_floor = 1
}

{
class = obstacle_terminal
origin = -26.1 0.28 0
rotation = 84 0 0
snap_to_floor = 1
}

{
class = obstacle_terminal
origin = -26.1 1.28 0
rotation = 89 0 0
snap_to_floor = 1
}

{
class = obstacle_terminal
origin = -26.1 -0.72 0
rotation = 93 0 0
snap_to_floor = 1
}

{
class = obstacle_terminal
origin = -26.1 -1.72 0
rotation = 96 0 0
snap_to_floor = 1
}

{
class = trigger_radio_message
triggered = "idz_dalej"
message = "Brawo. Mozesz teraz pojsc dalej. Cofnij sie i skieruj\n"\
          "na polnoc przez nowo otwarte przejscie."
caption = "Trainer"
icon = "gui/pokemons/trainer.png"
duration = 10000
}

{
class = obstacle_marker_arrow
origin = -4.5 5.3 0
rotation = 45 0 0
snap_to_floor = 1
show = 0
triggered_show = "idz_dalej"
triggered_remove = "zgas_idz_dalej"
}

{
class = obstacle_marker_arrow
origin = 0.53 11.88 0
rotation = 270 0 0
snap_to_floor = 1
show = 0
triggered_show = "idz_dalej"
triggered_remove = "zgas_idz_dalej"
}


{
class = trigger_player_touch
origin = -2.53 11.88 -2
radius = 1
trigger_on_touch = "zgas_idz_dalej" "info_o_beczce_i_apteczkach"
triggered_remove = "zgas_idz_dalej"
}

{
class = trigger_radio_message
triggered = "info_o_beczce_i_apteczkach"
message = "Niektore obiekty mozesz zniszczyc (z broni palnej). Ale uwazaj!\n"\
          "Czesc z nich, jak np.: ta beczka, wybucha, zadajac obrazenia\n"\
          "pobliskim obiektom - takze Tobie. Na wszelki wypadek zostawiam\n"\
          "Ci zapas bandazy. Uzyj ich, aby podreperowac swoje zdrowie."
caption = "Trainer"
icon = "gui/pokemons/trainer.png"
duration = 20000
}


{
class = obstacle_toxic_barrel
origin = -9.79 7.33 0
snap_to_floor = 1
}

{
class = item_medkit
origin = -12 5.22 0
snap_to_floor = 1
}

{
class = item_medkit
origin = -9 5.22 0
snap_to_floor = 1
}


{
class = obstacle_barrier1
origin = 3.65 4.04 2
snap_to_floor = 1
rotation = 315 0 0
mass = 0
}

{
class = obstacle_barrier1
origin = 4.95 5.34 2
snap_to_floor = 1
rotation = 315 0 0
mass = 0
}

{
class = obstacle_barrier1
origin = 5.95 6.34 2
snap_to_floor = 1
rotation = 315 0 0
mass = 0
}

{
class = obstacle_barrier1
origin = -0.80 10.9 2
snap_to_floor = 1
triggered_remove = "idz_dalej"
mass = 0
}

{
class = obstacle_barrier1
origin = 0.70 10.9 2
snap_to_floor = 1
triggered_remove = "idz_dalej"
mass = 0
}

{
class = obstacle_barrier1
origin = 2.20 10.9 2
snap_to_floor = 1
triggered_remove = "idz_dalej"
mass = 0
}

{
class = obstacle_barrier1
origin = 3.27 -3.9 2
snap_to_floor = 1
rotation = 45 0 0
mass = 0
}

{
class = obstacle_barrier1
origin = 4.47 -5.1 2
snap_to_floor = 1
rotation = 45 0 0
mass = 0
}

{
class = obstacle_barrier1
origin = 5.47 -6.1 2
snap_to_floor = 1
rotation = 45 0 0
mass = 0
}


{
class = obstacle_barrier1
origin = 4.1 11.85 -1
snap_to_floor = 1
rotation = 90 0 0
mass = 0
}

{
class = obstacle_barrier1
origin = 6.66 -8.65 -1
snap_to_floor = 1
rotation = 90 0 0
mass = 0
}

{
class = obstacle_barrier1
origin = 6.66 -10.15 -1
snap_to_floor = 1
rotation = 90 0 0
mass = 0
}

{
class = obstacle_barrier1
origin = 6.66 -11.65 -1
snap_to_floor = 1
rotation = 90 0 0
mass = 0
}

{
class = obstacle_barrier1
origin = -10.84 -9.1 -1
snap_to_floor = 1
rotation = 45 0 0
mass = 0
}

{
class = obstacle_barrier1
origin = -9.84 -10.16 -1
snap_to_floor = 1
rotation = 45 0 0
mass = 0
}

{
class = obstacle_barrier1
origin = -8.9 -11.11 -1
snap_to_floor = 1
rotation = 45 0 0
mass = 0
}


{
class = obstacle_marker_question
origin = -9.72 17.62 0
snap_to_floor = 1
triggered_remove = "zgas_q_dropowanie"
}

{
class = trigger_player_touch
origin = -9.72 17.62 0
snap_to_floor = 1
radius = 1
trigger_on_touch = "zgas_q_dropowanie" "info_o_dropowaniu"
triggered_remove = "zgas_q_dropowanie"
}

{
class = trigger_radio_message
triggered = "info_o_dropowaniu"
message = "Niesione przedmioty mozesz upuscic na ziemie.\n"\
          "Aby wyrzucic przedmiot musisz wskazac go kursorem\n"\
          "myszy, a potem nacisnac klawisz 'Q' lub 'backspace'\n"
caption = "Trainer"
icon = "gui/pokemons/trainer.png"
duration = 20000
}



{
class = obstacle_marker_question
origin = -0.72 20.62 0
snap_to_floor = 1
triggered_remove = "zgas_q_kamera"
}

{
class = trigger_player_touch
origin = -0.72 20.62 0
snap_to_floor = 1
radius = 1
trigger_on_touch = "zgas_q_kamera" "info_o_kamera"
triggered_remove = "zgas_q_kamera"
}

{
class = trigger_radio_message
triggered = "info_o_kamera"
message = "Mozesz obracac kamera. Przytrzymaj klawisz CTRL\n"\
          "i poruszaj myszka. W celu przybizenia\n"\
          "lub oddalenia widoku uzyj rolki myszki."
caption = "Trainer"
icon = "gui/pokemons/trainer.png"
duration = 20000
}

{
class = obstacle_marker_question
origin = -6.08 -10.08 0
snap_to_floor = 1
triggered_remove = "zgas_q_wstep"
}

{
class = trigger_player_touch
origin = -6.08 -10.08 0
snap_to_floor = 1
radius = 1
trigger_on_touch = "zgas_q_wstep" "info_o_wstep"
triggered_remove = "zgas_q_wstep"
}

{
class = trigger_radio_message
triggered = "info_o_wstep"
message = "Witaj rekrucie! Przypadlo mi zadanie przeszkolenia Ciebie\n"\
          "w zakresie podstawowych czynnosci, jakie mozesz wykonac\n"\
          "w Shadow Clones. Do dziela. Zielone strzalki i znaki\n"\
          "zapytania pomoga Ci zaznajomic sie z podstawowym sterowaniem."
caption = "Trainer"
icon = "gui/pokemons/trainer.png"
duration = 20000
}


{
class = obstacle_barrier1
origin = 9 13.33 -1
snap_to_floor = 1
rotation = 90 0 0
mass = 0
}

{
class = obstacle_barrier1
origin = 9 14.83 -1
snap_to_floor = 1
rotation = 90 0 0
mass = 0
}

{
class = obstacle_barrier1
origin = 9 16.33 -1
snap_to_floor = 1
rotation = 90 0 0
mass = 0
}

{
class = obstacle_barrier1
origin = 9 17.83 -1
snap_to_floor = 1
rotation = 90 0 0
mass = 0
}

{
class = obstacle_barrier1
origin = 9 19.33 -1
snap_to_floor = 1
rotation = 90 0 0
mass = 0
}

{
class = obstacle_barrier1
origin = 9 20.83 -1
snap_to_floor = 1
rotation = 90 0 0
mass = 0
}

{
class = obstacle_marker_question
origin = 2.39 29.67 0
snap_to_floor = 1
triggered_remove = "zgas_q_koniec"
}

{
class = trigger_player_touch
origin = 2.39 29.67 0
snap_to_floor = 1
radius = 1
trigger_on_touch = "zgas_q_koniec" "info_o_koniec"
triggered_remove = "zgas_q_koniec"
}

{
class = trigger_radio_message
triggered = "info_o_koniec"
message = "To juz wszystko. Pchnij dzwignie, aby zakonczyc trening"
caption = "Trainer"
icon = "gui/pokemons/trainer.png"
duration = 20000
}

{
class = obstacle_marker_todo
origin = 5.87 29.78 0
show = 0
triggered_show = "info_o_koniec"
}

{
class = lever
origin = 5.87 29.78 0
snap_to_floor = 1
trigger = "koniec_zmiana_poziomu"
}

{
class = trigger_change_level
level = "wychodzimy_do_main_menu"
triggered = "koniec_zmiana_poziomu"
reset_player = 1
}
