The neighbors of France (fr_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 
// fr_00 | France GEO
// 
tags: Start
color: red
type: panel
---
<<declare $COUNTRIES_COMPLETED = 0>>
<<declare $TOTAL_COUNTRIES = 7>>
<<declare $france_met = false>>
<<declare $france_completed = false>>
<<declare $germany_met = false>>
<<declare $germany_completed = false>>
<<declare $italy_met = false>>
<<declare $italy_completed = false>>
<<declare $swiss_met = false>>
<<declare $swiss_completed = false>>
<<declare $lux_met = false>>
<<declare $lux_completed = false>>
<<declare $belgium_met = false>>
<<declare $belgium_completed = false>>
<<declare $spain_met = false>>
<<declare $spain_completed = false>>
<<area area_france>>
Welcome to France! #line:046db1f 
We are in Europe. #line:08a8ce8 
Let’s meet kids from nearby countries. #line:08a09de 
<<target NPC_France>>
quest_end 
type: panel_endgame
color: green
---
The quest is complete. #line:0432689 
<<jump post_quest_activity>>
post_quest_activity 
type: panel
color: green
tags: proposal
---
Can you draw your flag now? #line:0c48a14 
<<quest_end>>
win 
//--------------------------------------------
// FRANCE
//--------------------------------------------
actor: KID_F
color: purple
type: panel_endgame
---
Good job! You did it! #line:0ba3c4c 
<<card concept_europe_map>>
You found part of Europe! #line:06e1dd4 
<<jump quest_end>>
france_npc 
color: blue
group: france
actor: KID_F
---
<<if $COUNTRIES_COMPLETED >= $TOTAL_COUNTRIES>>
    <<jump win>>
<<elseif $france_completed>>
    Thank you for helping me! #line:04e2d8b 
    Can you help my other friends? #line:0e426ba 
<<elseif has_item("flag_france")>>
    <<if $CURRENT_ITEM == "flag_france">>
        Yes, that is my flag! Merci! #line:01e24a8 
        <<inventory flag_france remove>>
        <<task_end FIND_FRENCH_FLAG>>
        <<set $france_completed = true>>
        <<set $CURRENT_ITEM = "">>
        <<set $COUNTRIES_COMPLETED = $COUNTRIES_COMPLETED + 1>>
        Can you find the German flag? #line:04bd4db 
        <<set $france_met = true>>
        <<action germany_active>>
        <<camera_focus camera_NPC_GE>>
        <<area area_europe>>
        <<jump task_germany  >>
    <<endif>>
<<elseif $CURRENT_ITEM != "">>
    That’s not my flag. Mine is blue, white, and red. #line:04e0432 
<<else>>
    <<set $france_met = true>>
    Hello! I’m from France! #line:06dfdd6 
    Antura mixed up all the flags! #line:0a20eed 
    My flag is blue, white, and red. #line:0868737 
    Can you help me? #line:0a9f34e 
    <<jump task_france>>
<<endif>>
task_france 
group: france
tags: task
---
<<asset flag_france>>
Find the French flag. #line:0e35434 #task:FIND_FRENCH_FLAG
<<target Flag_France>>
<<camera_focus camera_Flag_FR>>
<<task_start FIND_FRENCH_FLAG task_france_done>>
task_france_done 
group: france
tags: 
---
<<card flag_france>>
<<inventory flag_france add>>
<<target NPC_France>>
Great! You found the French flag. Go back to the French kid!
item_flag_france 
group: france
color: yellow
actor: NARRATOR
---
<<card flag_france>>
Flag of France. #line:01d9617 
<<inventory flag_france add>>
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 Spanish friend? #line:03684cb 
        <<set $germany_met = true>>
        <<set $COUNTRIES_COMPLETED = $COUNTRIES_COMPLETED + 1>>
        <<inventory flag_germany remove>>
        <<task_end FIND_GERMAN_FLAG >>
        <<action spain_active>>
        <<set $germany_completed = true>>
        <<camera_focus camera_NPC_SP>>
        <<jump task_spain>>
    <<else>>
        You have my flag in your inventory! #line:0ffc06f 
        It's black, red and yellow! Select it and talk to me again! #line:07be3df 
    <<endif>>
<<elseif $CURRENT_ITEM != "">>
    Our flag has stripes: black, red, yellow. #line:0cd7024 
    <<jump task_germany>>
<<elseif $germany_met == false >>
    <<set $germany_met = true>>
    Hello! 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 back. #line:029ee72 #task:FIND_GERMAN_FLAG
It has stripes: black, red, yellow. #line:0f95ef2 
<camera_focus camera_Flag_GE>> #line:0b35bca 
<<task_start FIND_GERMAN_FLAG task_germany>>
spain_npc 
//--------------------------------------------
// SPAIN
//--------------------------------------------
group: spain
color: blue
tags:
---
<<if $spain_completed>>
    <<card flag_spain>>
    Thank you for helping me! #line:0a5c214 
    Barcelona and Madrid are big cities in Spain. #line:09cf6c9 
<<elseif has_item("flag_spain")>>
    <<if $CURRENT_ITEM == "flag_spain">>
        That is my flag! #line:0c57e40 
        Thank you. Can you give my Italian friend their flag? #line:0930602 
        <<set $spain_met = true>>
        <<set $COUNTRIES_COMPLETED = $COUNTRIES_COMPLETED + 1>>
        <<inventory flag_spain remove>>
        <<task_end FIND_SPANISH_FLAG >>
        <<action italy_active>>
        <<camera_focus camera_NPC_IT>>
        <<set $spain_completed = true>>
        <<jump task_italy>>
    <<else>>
        You have my flag in your inventory! #line:0c7aab5 
        It's the red and yellow one, select it! #line:05049ea 
    <<endif>>
<<elseif $CURRENT_ITEM != "">>
    Not mine! Our flag is red and yellow. #line:0db05da 
    <<jump task_spain>>
<<elseif $spain_met == false >>
    <<set $spain_met = true>>
    Hola! I’m from Spain! #line:0f5bc06 
    We have a dance called flamenco! #line:05e6d48 
    <<jump task_spain>>
<<endif>>
task_spain 
group: spain
actor: ADULT_F
---
<<card flag_spain>>
Find the Spanish flag. #line:091cc7c #task:FIND_SPANISH_FLAG
It is red and yellow like the sun. #line:09635b4
<<camera_focus camera_Flag_SP>>
<<task_start FIND_SPANISH_FLAG task_spain>>
italy_npc 
//--------------------------------------------
// ITALY
//--------------------------------------------
group: italy
actor: KID_M
color: blue
---
<<if $italy_completed>>
    <<card flag_italy>>
    Thank you! Our capital is Rome! #line:0148edb
<<elseif has_item("flag_italy")>> 
    <<if $CURRENT_ITEM == "flag_italy">>
        Grazie! That's my flag! #line:081ac66 
        Help them find the Belgian flag! #line:001f54f 
        <<inventory flag_italy remove>>
        <<set $COUNTRIES_COMPLETED = $COUNTRIES_COMPLETED + 1>>
        <<task_end FIND_ITALIAN_FLAG >>
        <<set $italy_completed = true>>
        <<action belgium_active>>
        <<camera_focus camera_NPC_BE>>
        <<jump task_belgium>>
    <<else>>
        You have my flag in your inventory! #line:0a7e4bb 
        It's red, white and green, select it and talk to mea again! #line:0d7ae3f 
    <<endif>>
<<elseif $CURRENT_ITEM != "">>
    My flag is green, white, and red. #line:0dc8623
    <<set $italy_met = true>>
    <<jump task_italy>>
<<elseif $italy_met == false>>
    <<set $italy_met = true>>
    Ciao! I'm from Italy! #line:0bda0fc 
    <<jump task_italy>>
<<endif>>
task_italy 
group: italy
actor: KID_M
---
<<card flag_italy>>
Find the Italian flag. #line:0ed29f1 #task:FIND_ITALIAN_FLAG
It is green, white, and red like a pizza! #line:0cde44c 
<<camera_focus camera_Flag_Italy>>
<<task_start FIND_ITALIAN_FLAG task_italy>>
belgium_npc 
//--------------------------------------------
// BELGIUM
//--------------------------------------------
group: belgium
actor: SENIOR_F
color: blue
---
<<if $belgium_completed>>
    <<card flag_belgium>>
    Thank you for helping us! #line:080a099 
    Brussels is the capital of Belgium. #line:06b3ceb 
<<elseif has_item("flag_belgium") >>
    <<if $CURRENT_ITEM == "flag_belgium">>
        Thank you! My flag is back! #line:079096a 
        Can you help my Luxembourg friend? #line:03a9b7d 
        <<inventory flag_belgium remove>>
        <<set $COUNTRIES_COMPLETED = $COUNTRIES_COMPLETED + 1>>
        <<task_end FIND_BELGIUM_FLAG >>
        <<set $belgium_completed = true>>
        <<action lux_active>>
        <<camera_focus camera_NPC_LU>>
        <<set $belgium_met = true>>
        <<jump task_lux>>
    <<else >>
        You have my flag in your inventory! #line:0326f38 
        Select it to give it to me by clicking on it. #line:049b7a1 
    <<endif>>
<<elseif $CURRENT_ITEM != "">>
    Remember: my flag has stripes: black, yellow, red. #line:0141a13 
    <<jump task_belgium>>
    <<set $belgium_met = true>>
<<else>>
    <<set $belgium_met = true>>
    Bonjour! I'm from Belgium! #line:0a61b67 
    We also speak French! #line:0b18893 
    <<jump task_belgium>>
<<endif>>
task_belgium 
group: belgium
actor: SENIOR_F
---
<<card flag_belgium>>
Find the Belgian flag. #line:0f08126 #task:FIND_BELGIUM_FLAG
It's black, yellow, and red with vertical stripes. #line:079ecca 
<<camera_focus camera_Flag_BE>>
<<task_start FIND_BELGIUM_FLAG task_belgium>>
item_flag_belgium 
group: belgium
color: yellow
actor: NARRATOR
---
<<card flag_belgium>>
Flag of Belgium. #line:0b11066 
<<if $CURRENT_ITEM != "flag_belgium">>
    <<inventory flag_belgium add>>
<<endif>>
luxembourg_npc 
//--------------------------------------------
// LUXEMBURG
//--------------------------------------------
group: lux
color: blue
actor: SENIOR_M
---
<<if $lux_completed>>
    <<card flag_luxembourg>>
    Thank you for helping us! #line:02114ba 
<<elseif has_item("flag_luxembourg")>>
    <<if $CURRENT_ITEM == "flag_luxembourg">>
        Thank you! That is my flag. #line:05de5ab 
        Can you help my Swiss friend? #line:0090192 
        <<inventory flag_luxembourg remove>>
        <<task_end FIND_LUX_FLAG>>
        <<set $COUNTRIES_COMPLETED = $COUNTRIES_COMPLETED + 1>>
        <<set $lux_completed = true>>
        <<action swiss_active>>
        <<camera_focus camera_NPC_SW>>
        <<jump task_swiss>>
    <<else>>
        You have my flag in your inventory! #line:061ab8b 
        It's the red white and light blue one! Select it and give it to me. #line:0bbe7e1 
    <<endif>>
<<elseif $CURRENT_ITEM != "">>
    Nope! Our flag is red, white, and light blue. #line:0529472 
    <<set $lux_met = true>>
    <<jump task_lux>>
<<else>>
    <<set $lux_met = true>>
    Moien! I’m from Luxembourg! #line:0b22d58 
    We are small and speak three languages! #line:0a3d0e3 
    <<jump task_lux>>
<<endif>>
task_lux 
group: lux
actor: SENIOR_F
---
<<card flag_luxembourg>>
Find the Luxembourg flag. #line:0ed3698 #task:FIND_LUX_FLAG
It is red, white, and light blue. #line:018e4cf 
<<camera_focus camera_Flag_LU>>
<<task_start FIND_LUX_FLAG task_lux>>
item_flag_lux 
group: lux
color: yellow
actor: NARRATOR
---
<<card flag_luxembourg>>
Flag of Luxembourg. #line:05badd7 
<<if $CURRENT_ITEM != "flag_luxembourg">>
    <<inventory flag_luxembourg add>>
<<endif>>
npc_swiss 
//--------------------------------------------
// SWISS
//--------------------------------------------
group: swiss
actor: ADULT_F
color: blue
---
<<if $swiss_completed>>
    <<card flag_switzerland>>
    Thank you for helping us! #line:02f73c8 
    The capital of Switzerland is Bern! #line:0d2e2d7 
<<elseif has_item("flag_switzerland")>>
    <<if $CURRENT_ITEM == "flag_switzerland">>
        Thank you for bringing my flag back! #line:0ca99a0 
        Go back to the start and get your prize! #line:0148420 
        <<inventory flag_switzerland remove>>
        <<task_end FIND_SWISS_FLAG>>
        <<set $COUNTRIES_COMPLETED = $COUNTRIES_COMPLETED + 1>>
        <<set $swiss_completed = true>>
        <<camera_focus NPC_France>>
    <<else>>
        You have my flag in your inventory! #line:0f2651c 
        Select it and give it to me! It's the red one with the cross. #line:060512c 
    <<endif>>
<<elseif $CURRENT_ITEM != "">>
    Not my flag. Our flag is red with a white cross. #line:0caad5a 
    <<jump task_swiss>>
<<else>>
    <<set $swiss_met = true>>
    Hello! I’m from Switzerland! #line:09fe8fc 
    We're famous for snowy mountains and cheese. #line:0bf6b0d 
    <<jump task_swiss>>
<<endif>>
task_swiss 
group: swiss
actor: SENIOR_F
---
<<card flag_switzerland>>
Find the Swiss flag. #line:0ec7096 #task:FIND_SWISS_FLAG
It is red with a big white cross like a first aid kit. #line:07cc57e 
<<camera_focus camera_Flag_SW>>
<<task_start FIND_SWISS_FLAG npc_swiss>>
monaco 
//--------------------------------------------
// MONACO
//--------------------------------------------
color: blue
group: monaco
actor: ADULT_M
---
Bonjour! I’m from Monaco! #line:0a3f8f6 
We are small. We have car races and a palace by the sea! #line:0dc315a 
<<asset flag_monaco>>
My flag is red and white. #line:00bd939 
andorra 
//--------------------------------------------
// ANDORRA
//--------------------------------------------
group: andorra
color: blue
actor: GUIDE_F
---
Hola! I’m from Andorra! #line:071f85c 
My flag is blue, yellow, and red. #line:02846e8 
<<asset flag_andorra>>
item_flag_spain 
color: yellow
group: spain
actor: NARRATOR
---
<<card flag_spain>>
Flag of Spain #line:006ce10 
<<if $CURRENT_ITEM != "flag_spain">>
    <<inventory flag_spain add>>
<<endif>>
item_flag_germany 
group: germany
color: yellow
actor: NARRATOR
---
<<card flag_germany>>
Flag of Germany. #line:05ff51a 
<<if $CURRENT_ITEM != "flag_germany">>
    <<inventory flag_germany add>>
<<endif>>
item_flag_italy 
group: italy
color: yellow
actor: NARRATOR
---
<<card flag_italy>>
Flag of Italy. #line:0fdc68b 
<<if $CURRENT_ITEM != "flag_italy">>
    <<inventory flag_italy add>>
<<endif>>
item_flag_switzerland 
group: swiss
color: yellow
actor: NARRATOR
---
<<card flag_switzerland>>
Flag of Switzerland. #line:0768ab7 
<<if $CURRENT_ITEM != "flag_switzerland">>
    <<inventory flag_switzerland add>>
<<endif>>
spawned_npc 
///////// NPCs SPAWNED IN THE SCENE //////////
// these npc are spawn automatically in the scene
// use these to add random facts. everythime you meet them
// they will say one of these lines randomly
actor: KID_M
spawn_group: all 
---
In Europe, people speak over 200 languages! #line:04f4280 
You can visit many of these countries without a passport! #line:08d624d 
France is the biggest country in the European Union. #line:0ab3dd9 
