The neighbors of Poland (pl_00) - Script 
Educators & Designers: help improving this quest!
Comments and feedback: discuss in the Forum
Improve translations: comment the Google Sheet
Improve the script: propose an edit here
quest_start 
// pl_00 | Poland GEO
// 
tags: Start
color: red
type: panel
---
<<set $CURRENT_PROGRESS = 0>>
<<set $MAX_PROGRESS = 7>>
<<declare $poland_met = false>>
<<declare $poland_completed = false>>
<<declare $germany_met = false>>
<<declare $germany_completed = false>>
<<declare $belarus_met = false>>
<<declare $belarus_completed = false>>
<<declare $ukraine_met = false>>
<<declare $ukraine_completed = false>>
<<declare $slovakia_met = false>>
<<declare $slovakia_completed = false>>
<<declare $lithuania_met = false>>
<<declare $lithuania_completed = false>>
<<declare $czech_met = false>>
<<declare $czech_completed = false>>
<<action area_small>>
Welcome to Poland! #line:046db1f
We are in Europe #line:002aafd
Let's meet other kids from nearby countries. #line:0862117
quest_end 
color: green
type: panel_endgame
---
This quest is complete. #line:085bc39
<<jump post_quest_activity>>
post_quest_activity 
color: green
type: panel
tags: proposal
---
Why don't you draw your flag, now? #line:01f830b 
<<quest_end>>
poland_npc 
//--------------------------------------------
// poland
//--------------------------------------------
color: blue
group: poland
actor: KID_F
---
<<if $CURRENT_PROGRESS >= $MAX_PROGRESS>>
    <<jump poland_npc_win>>
<<elseif $poland_completed == true>>
    Thank you for helping me! #line:0a4a56f 
    Can you help my other friends? #line:097eeb8 
<<elseif $CURRENT_ITEM == "flag_poland">>
    Yes, that is my flag! Thank you! #line:0c9fa89 
    <<inventory flag_poland remove>>
    <<task_end FIND_polish_FLAG>>
    <<set $poland_completed = true>>
    <<set $CURRENT_ITEM = "">>
    <<set $CURRENT_PROGRESS = $CURRENT_PROGRESS + 1>>
    Can you find the German Flag? #line:04bd4db 
    <<set $poland_met = true>>
    <<action germany_active>>
    <<camera_focus camera_NPC_GE>>
    <<action area_bigger>>
    <<jump task_germany  >>
<<elseif $CURRENT_ITEM != "">>
    That's not my flag. Mine is white and red. #line:0f967da 
<<else>>
    Hello! I am from Poland! #line:017ad80
    Antura made a mess and all the flags have been mixed up! #line:0b9e31d
    My flag, the polish one is white and red. #line:08a2f6d
    Can you help me? #line:0fe57ef
    <<set $poland_met = true>>
    <<jump task_poland>>
<<endif>>
task_poland 
group: poland
tags: task
---
<<card flag_poland>>
Find the polish flag. It's white and red. #line:09e3b54 #task:FIND_polish_FLAG
<<camera_focus camera_Flag_PL>>
<<task_start FIND_polish_FLAG task_poland>>
item_flag_poland 
group: poland
color: yellow
actor:
tags:
---
<<card flag_poland>>
Flag of Poland. #line:07ca581
<<if $CURRENT_ITEM != "flag_poland">>
    <<inventory flag_poland add>>
<<endif>>
poland_npc_win 
actor: KID_F
color: purple
---
Good job! You did it! #line:0ba3c4c 
<<card concept_europe_map>>
You discovered a part of Central Euorpe! #line:031f72c 
<<card concept_europe_map zoom>>
<<jump quest_end>>
germany_npc 
//--------------------------------------------
// GERMANY
//--------------------------------------------
color: blue
group: germany
actor: ADULT_M
---
<<if $germany_completed>>
    <<card flag_germany>>
    Thank you for helping me! #line:0eaf07d 
    Berlin is the capital of Germany. #line:0446f03 
<<elseif has_item("flag_germany")>>
    <<if $CURRENT_ITEM == "flag_germany">>
        Danke! That is my flag! #line:0ba8707
        Can you help my belarusian friend? #line:06c463a 
        <<set $germany_met = true>>
        <<set $CURRENT_PROGRESS = $CURRENT_PROGRESS + 1>>
        <<inventory flag_germany remove>>
        <<task_end FIND_GERMAN_FLAG>>
        <<action belarus_active>>
        <<set $germany_completed = true>>
        <<camera_focus camera_NPC_BR>>
        <<jump task_belarus>>
    <<else>>
        You have my flag in your inventory! #line:0e48014 
        It's yellow black and red, select it and talk to me again. #line:0d78194 
    <<endif>>
<<elseif $CURRENT_ITEM != "">>
    Our flag has horizontal stripes of black, red, and yellow. #line:0cd7024 
    <<jump task_germany>>
<<elseif $germany_met == false >>
    <<set $germany_met = true>>
    Hallo! I'm from Germany! #line:0068fe1 
    We're famous for castles, forests, and trains! #line:04dc97a 
    <<jump task_germany>>
<<endif>>
task_germany 
group: germany
tags: task
---
<<card flag_germany>>
Find the German flag and bring it to the German person. #line:029ee72 #task:FIND_GERMAN_FLAG
It has horizontal stripes of black, red, and yellow. #line:0f95ef2 
<<camera_focus camera_Flag_GE>>
<<task_start FIND_GERMAN_FLAG task_germany>>
item_flag_germany 
group: germany
color: yellow
actor: 
---
<<card flag_germany>>
Flag of Germany. #line:05ff51a 
<<if $CURRENT_ITEM != "flag_germany">>
    <<inventory flag_germany add>>
<<endif>>
belarus_npc 
//--------------------------------------------
// belarus
//--------------------------------------------
group: belarus
color: blue
tags:
---
<<if $belarus_completed>>
    <<card flag_belarus>>
    Thank you for helping me! #line:0a5c214 
    Minsk is the capital of Belarus! #line:0aecb59
<<elseif has_item("flag_belarus")>> 
    <<if $CURRENT_ITEM == "flag_belarus">>
        That is my flag! #line:0c57e40 
        Thank you, can you give my czech friend their flag? #line:021e1a2 
        <<set $belarus_met = true>>
        <<inventory flag_belarus remove>>
        <<set $CURRENT_PROGRESS = $CURRENT_PROGRESS + 1>>
        <<task_end FIND_belarusian_FLAG>>
        <<action czech_republic_active>>
        <<set $belarus_completed = true>>
        <<camera_focus camera_NPC_CZ>>
        <<jump task_czech_republic>>
    <<else>>
        You have my flag in your inventory! #line:079c8f0 
        It's red and green, with a pattern on the left. #line:0e78a13 
        Select it and bring it to me. #line:0b57b74 
    <<endif>>
<<elseif $CURRENT_ITEM != "">>
    My flag is red and green with a red pattern on the left. #line:0653fae 
    <<jump task_belarus>>
<<elseif $belarus_met == false >>
    <<set $belarus_met = true>>
    Hallo! I'm from Belarus! #line:0ccf58d 
    We have a primeaval forest, it has been growing for centuries! #line:0c6ac62 
    <<jump task_belarus>>
<<endif>>
task_belarus 
group: belarus
actor: ADULT_F
---
<<card flag_belarus>>
Find the belarusian flag. It's red and green, with a pattern on the left! #line:0c00afe #task:FIND_belarusian_FLAG
<<camera_focus camera_Flag_BR>>
<<task_start FIND_belarusian_FLAG task_belarus>>
item_flag_belarus 
color: yellow
group: belarus
actor: 
---
<<card flag_belarus>>
Flag of belarus #line:006ce10 
<<if $CURRENT_ITEM != "flag_belarus">>
    <<inventory flag_belarus add>>
<<endif>>
czech_republic_npc 
//--------------------------------------------
// czech_republic
//--------------------------------------------
group: czech_republic
actor: KID_M
color: blue
---
<<if $czech_completed>>
    <<card flag_czech_republic>>
    Thank you! Our capital is Minsk! #line:08473de 
<<elseif has_item("flag_czech_republic")>>
    <<if $CURRENT_ITEM == "flag_czech_republic">>
        Thank you! That's my flag! #line:07ba10f 
        Help the find the lithuanian flag and bring it to them! #line:0a1e0a3 
        <<inventory flag_czech_republic remove>>
        <<task_end FIND_czech_republic_FLAG>>
        <<set $CURRENT_PROGRESS = $CURRENT_PROGRESS + 1>>
        <<set $czech_completed = true>>
        <<action lithuania_active>>
        <<camera_focus camera_NPC_LI>>
        <<jump task_lithuania>>
    <<else>>
        You have my flag in your inventory! #line:0278e65 
        It's red, blue and white! Select it and talk to me again. #line:07f7a61 
    <<endif>>
<<elseif $CURRENT_ITEM != "">>
    My flag is different! It's white and red with a blue triangle. #line:0000741 
    <<set $czech_met = true>>
    <<jump task_czech_republic>>
<<elseif $czech_met == false>>
    <<set $czech_met = true>>
    Hi! I'm from Czech Republic! #line:0ded863 
    We have the most castle in Europe! #line:03dc09c 
    <<jump task_czech_republic>>
<<endif>>
task_czech_republic 
group: czech_republic
actor: KID_M
---
<<card flag_czech_republic>>
Find the Czech flag. It's white and red with a blue triangle. #line:0ff23aa #task:FIND_czech_republic_FLAG
<<camera_focus camera_Flag_CZ>>
<<task_start FIND_czech_republic_FLAG task_czech_republic>>
item_flag_czech_republic 
group: czech_republic
color: yellow
actor: 
---
<<card flag_czech_republic>>
Flag of Czech Republic. #line:0fdc68b 
<<if $CURRENT_ITEM != "flag_czech_republic">>
    <<inventory flag_czech_republic add>>
<<endif>>
lithuania_npc 
//--------------------------------------------
// lithuania
//--------------------------------------------
group: lithuania
actor: SENIOR_F
color: blue
---
<<if $lithuania_completed>>
    <<card flag_lithuania>>
    Thank you for helping us! #line:06cf019 
    Brussels is the capital of Lithuania. #line:0acbb04 
<<elseif has_item("flag_lithuania")>>   
    <<if $CURRENT_ITEM == "flag_lithuania">>
        Thank you, my beautiful flag is back! #line:0d2f54c 
        Can you help my Ukrainian friend? #line:0bcf83b 
        <<inventory flag_lithuania remove>>
        <<task_end FIND_lithuania_FLAG >>
        <<set $CURRENT_PROGRESS = $CURRENT_PROGRESS + 1>>
        <<set $lithuania_completed = true>>
        <<action ukraine_active>>
        <<camera_focus camera_NPC_UK>>
        <<set $lithuania_met = true>>
        <<jump task_ukraine>>
    <<else>>
        You have my flag in your inventory! #line:0036d67 
        It's red, yellow and green. Select it and talk to me again. #line:078ab98 
    <<endif>>
<<elseif $CURRENT_ITEM != "">>
    Remember, my flag is red, green and yellow. #line:00af906 
    <<jump task_lithuania>>
    <<set $lithuania_met = true>>
<<else>>
    <<set $lithuania_met = true>>
    Hi! I'm from Lithuania! #line:0534a85 
    One third of our country is covered by forests! #line:0465c31 
    <<jump task_lithuania>>
<<endif>>
task_lithuania 
group: lithuania
actor: SENIOR_F
---
<<card flag_lithuania>>
Find the Lithuanian flag. It's red, green and yellow. #line:0b88326 #task:FIND_lithuania_FLAG
<<camera_focus camera_Flag_LI>>
<<task_start FIND_lithuania_FLAG task_lithuania>>
item_flag_lithuania 
group: lithuania
color: yellow
actor: 
---
<<card flag_lithuania>>
Flag of Lithuania. #line:0942331 
<<if $CURRENT_ITEM != "flag_lithuania">>
    <<inventory flag_lithuania add>>
<<endif>>
ukraine_npc 
//--------------------------------------------
// ukraine
//--------------------------------------------
group: ukraine
color: blue
actor: SENIOR_M
---
<<if $ukraine_completed>>
    <<card flag_ukraine>>
    Thank you for helping us! #line:02114ba 
    Our capital is Kiev. #line:01b1e6d 
<<elseif has_item("flag_ukraine")>>
    <<if $CURRENT_ITEM == "flag_ukraine">>
        Thank you! That is my flag. #line:05de5ab 
        Can you help my slovakian friend? #line:0aa87ef 
        <<inventory flag_ukraine remove>>
        <<task_end FIND_ukraine_FLAG>>
        <<set $CURRENT_PROGRESS = $CURRENT_PROGRESS + 1>>
        <<set $ukraine_completed = true>>
        <<action slovakia_active>>
        <<camera_focus camera_NPC_SL>>
        <<jump task_slovakia>>
    <<else>>
        You have my flag in your inventory. #line:0a4b7da 
        It's yellow and blue, select it and talk to me again! #line:089138a 
    <<endif>>
<<elseif $CURRENT_ITEM != "">>
    Nope! Our flag is blue and yellow. #line:0a94866 
    <<set $ukraine_met = true>>
    <<jump task_ukraine>>
<<else>>
    <<set $ukraine_met = true>>
    Moien! I’m from Ukraine! #line:07ea99a 
    We are called the "Bread Basket" of Europe because we produce a lot of grain! #line:0dbd4af 
    <<jump task_ukraine>>
<<endif>>
task_ukraine 
group: ukraine
actor: SENIOR_F
---
<<card flag_ukraine>>
Find the flag of Ukraine. It is blue and yellow. #line:07c148b #task:FIND_ukraine_FLAG
<<camera_focus camera_Flag_UK>>
<<task_start FIND_ukraine_FLAG task_ukraine>>
item_flag_ukraine 
group: ukraine
color: yellow
actor: 
---
<<card flag_ukraine>>
Flag of Ukraine. #line:0805b90 
<<if $CURRENT_ITEM != "flag_ukraine">>
    <<inventory flag_ukraine add>>
<<endif>>
npc_slovakia 
//--------------------------------------------
// slovakia
//--------------------------------------------
group: slovakia
actor: ADULT_F
color: blue
---
<<if $slovakia_completed>>
    <<card flag_slovakia>>
    Thank you for helping us! #line:06a6231 
    The capital of Slovakia is Bratislava! #line:0891aba
<<elseif has_item("flag_slovakia")>>
    <<if $CURRENT_ITEM == "flag_slovakia">>
        Thank you for bringing my flag back! #line:0d453e9 
        Go back to the start and claim your victory! #line:04bf6d1 
        <<inventory flag_slovakia remove>>
        <<task_end FIND_slovakia_FLAG >>
        //<<camera_focus camera_NPC_PL>>
        <<set $CURRENT_PROGRESS = $CURRENT_PROGRESS + 1>>
        <<set $slovakia_completed = true>>
    <<else>>
        You have my flag in your inventory! #line:095b95b 
        It's red, white and blue with a coat of arms. #line:0b0fa74 
        Select it and then talk to me again! #line:0a051db 
    <<endif>>
<<elseif $CURRENT_ITEM != "">>
    Our flag is white, red and blue with a coat of arms. #line:0af30a1 
    <<jump task_slovakia>>
<<else>>
    <<set $slovakia_met = true>>
    I'm from Slovakia! #line:054e1b8 
    We used to be a country with Czech Republic. #line:0278f6a 
    <<jump task_slovakia>>
<<endif>>
task_slovakia 
group: slovakia
actor: SENIOR_F
---
<<card flag_slovakia>>
Find the Slovakian flag. #line:04b6692 #task:FIND_slovakia_FLAG
It's white, red and blue with the coat of arms. #line:0866ee1 
<<camera_focus camera_NPC_SL>>
<<task_start FIND_slovakia_FLAG npc_slovakia>>
item_flag_slovakia 
group: slovakia
color: yellow
actor: 
---
<<card flag_slovakia>>
Flag of slovakia. #line:0768ab7 
<<if $CURRENT_ITEM != "flag_slovakia">>
    <<inventory flag_slovakia add>>
<<endif>>
russia 
//--------------------------------------------
// Russia
//--------------------------------------------
color: blue
group: russia
actor: SENIOR_M
tags: 
---
Hello, I'm Russia. #line:065c41c 
This is just a tiny part of the big country. #line:0a4bae4 
<<card flag_russia>>
