Les voisins de la 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>>
Bienvenue en France ! #line:046db1f 
Nous sommes en Europe. #line:08a8ce8 
Rencontrons des enfants des pays voisins. #line:08a09de 
<<target NPC_France>>
quest_end 
type: panel_endgame
color: green
---
La quête est terminée. #line:0432689 
<<jump post_quest_activity>>
post_quest_activity 
type: panel
color: green
tags: proposal
---
Peux-tu dessiner ton drapeau maintenant ? #line:0c48a14 
<<quest_end>>
win 
//--------------------------------------------
// FRANCE
//--------------------------------------------
actor: KID_F
color: purple
type: panel_endgame
---
Bravo ! Vous avez réussi ! #line:0ba3c4c 
<<card concept_europe_map>>
Vous avez trouvé une partie de l'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>>
    Merci de m'aider ! #line:04e2d8b 
    Peux-tu aider mes autres amis ? #line:0e426ba 
<<elseif has_item("flag_france")>>
    <<if $CURRENT_ITEM == "flag_france">>
        Oui, c'est mon drapeau ! 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>>
        Pouvez-vous trouver le drapeau allemand ? #line:04bd4db 
        <<set $france_met = true>>
        <<action germany_active>>
        <<camera_focus camera_NPC_GE>>
        <<area area_europe>>
        <<jump task_germany  >>
    <<endif>>
<<elseif $CURRENT_ITEM != "">>
    Ce n'est pas mon drapeau. Le mien est bleu, blanc et rouge. #line:04e0432 
<<else>>
    <<set $france_met = true>>
    Bonjour ! Je viens de France ! #line:06dfdd6 
    Antura a mélangé tous les drapeaux ! #line:0a20eed 
    Mon drapeau est bleu, blanc et rouge. #line:0868737 
    Pouvez-vous m'aider? #line:0a9f34e 
    <<jump task_france>>
<<endif>>
task_france 
group: france
tags: task
---
<<asset flag_france>>
Trouvez le drapeau français. #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>>
[MISSING TRANSLATION: Great! You found the French flag. Go back to the French kid!]
item_flag_france 
group: france
color: yellow
actor: NARRATOR
---
<<card flag_france>>
Drapeau de la France. #line:01d9617 
<<inventory flag_france add>>
germany_npc 
//--------------------------------------------
// GERMANY
//--------------------------------------------
color: blue
group: germany
actor: ADULT_M
---
<<if $germany_completed>>
    <<card flag_germany>>
    Merci de m'aider ! #line:0eaf07d 
    Berlin est la capitale de l'Allemagne. #line:0446f03 
<<elseif has_item("flag_germany")>>
    <<if $CURRENT_ITEM == "flag_germany">>
        Merci ! C'est mon drapeau ! #line:0ba8707
        Peux-tu aider mon ami espagnol ? #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>>
        [MISSING TRANSLATION:         You have my flag in your inventory!] #line:0ffc06f 
        [MISSING TRANSLATION:         It's black, red and yellow! Select it and talk to me again!] #line:07be3df 
    <<endif>>
<<elseif $CURRENT_ITEM != "">>
    Notre drapeau a des rayures : noir, rouge, jaune. #line:0cd7024 
    <<jump task_germany>>
<<elseif $germany_met == false >>
    <<set $germany_met = true>>
    Bonjour ! Je viens d’Allemagne ! #line:0068fe1 
    Nous sommes célèbres pour nos châteaux, nos forêts et nos trains ! #line:04dc97a 
    <<jump task_germany>>
<<endif>>
task_germany 
group: germany
tags: task
---
<<card flag_germany>>
Trouvez le drapeau allemand et ramenez-le. #line:029ee72 #task:FIND_GERMAN_FLAG
Il a des rayures : noires, rouges, jaunes. #line:0f95ef2 
[MISSING TRANSLATION: <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>>
    Merci de m'aider ! #line:0a5c214 
    Barcelone et Madrid sont de grandes villes d’Espagne. #line:09cf6c9 
<<elseif has_item("flag_spain")>>
    <<if $CURRENT_ITEM == "flag_spain">>
        C'est mon drapeau ! #line:0c57e40 
        Merci. Peux-tu donner son drapeau à mon ami italien ? #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>>
        [MISSING TRANSLATION:         You have my flag in your inventory!] #line:0c7aab5 
        [MISSING TRANSLATION:         It's the red and yellow one, select it!] #line:05049ea 
    <<endif>>
<<elseif $CURRENT_ITEM != "">>
    Ce n'est pas le mien ! Notre drapeau est rouge et jaune. #line:0db05da 
    <<jump task_spain>>
<<elseif $spain_met == false >>
    <<set $spain_met = true>>
    Bonjour ! Je viens d’Espagne ! #line:0f5bc06 
    Nous avons une danse appelée flamenco ! #line:05e6d48 
    <<jump task_spain>>
<<endif>>
task_spain 
group: spain
actor: ADULT_F
---
<<card flag_spain>>
Trouvez le drapeau espagnol. #line:091cc7c #task:FIND_SPANISH_FLAG
Il est rouge et jaune comme le soleil. #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>>
    Merci ! Notre capitale est Rome ! #line:0148edb
<<elseif has_item("flag_italy")>> 
    <<if $CURRENT_ITEM == "flag_italy">>
        Merci ! C'est mon drapeau ! #line:081ac66 
        Aidez-les à trouver le drapeau belge ! #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>>
        [MISSING TRANSLATION:         You have my flag in your inventory!] #line:0a7e4bb 
        [MISSING TRANSLATION:         It's red, white and green, select it and talk to mea again!] #line:0d7ae3f 
    <<endif>>
<<elseif $CURRENT_ITEM != "">>
    Mon drapeau est vert, blanc et rouge. #line:0dc8623
    <<set $italy_met = true>>
    <<jump task_italy>>
<<elseif $italy_met == false>>
    <<set $italy_met = true>>
    Salut ! Je viens d'Italie ! #line:0bda0fc 
    <<jump task_italy>>
<<endif>>
task_italy 
group: italy
actor: KID_M
---
<<card flag_italy>>
Trouvez le drapeau italien. #line:0ed29f1 #task:FIND_ITALIAN_FLAG
C'est vert, blanc et rouge comme une 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>>
    Merci de nous aider ! #line:080a099 
    Bruxelles est la capitale de la Belgique. #line:06b3ceb 
<<elseif has_item("flag_belgium") >>
    <<if $CURRENT_ITEM == "flag_belgium">>
        Merci ! Mon drapeau est de retour ! #line:079096a 
        Pouvez-vous aider mon ami luxembourgeois ? #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 >>
        [MISSING TRANSLATION:         You have my flag in your inventory!] #line:0326f38 
        [MISSING TRANSLATION:         Select it to give it to me by clicking on it.] #line:049b7a1 
    <<endif>>
<<elseif $CURRENT_ITEM != "">>
    N'oubliez pas : mon drapeau a des rayures : noires, jaunes, rouges. #line:0141a13 
    <<jump task_belgium>>
    <<set $belgium_met = true>>
<<else>>
    <<set $belgium_met = true>>
    Bonjour ! Je viens de Belgique ! #line:0a61b67 
    Nous parlons aussi français ! #line:0b18893 
    <<jump task_belgium>>
<<endif>>
task_belgium 
group: belgium
actor: SENIOR_F
---
<<card flag_belgium>>
Trouvez le drapeau belge. #line:0f08126 #task:FIND_BELGIUM_FLAG
Il est noir, jaune et rouge avec des rayures verticales. #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>>
Drapeau de la Belgique. #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>>
    Merci de nous aider ! #line:02114ba 
<<elseif has_item("flag_luxembourg")>>
    <<if $CURRENT_ITEM == "flag_luxembourg">>
        Merci ! C'est mon drapeau. #line:05de5ab 
        Peux-tu aider mon ami suisse ? #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>>
        [MISSING TRANSLATION:         You have my flag in your inventory!] #line:061ab8b 
        [MISSING TRANSLATION:         It's the red white and light blue one! Select it and give it to me.] #line:0bbe7e1 
    <<endif>>
<<elseif $CURRENT_ITEM != "">>
    Non ! Notre drapeau est rouge, blanc et bleu clair. #line:0529472 
    <<set $lux_met = true>>
    <<jump task_lux>>
<<else>>
    <<set $lux_met = true>>
    Moien ! Je suis du Luxembourg ! #line:0b22d58 
    Nous sommes petits et parlons trois langues ! #line:0a3d0e3 
    <<jump task_lux>>
<<endif>>
task_lux 
group: lux
actor: SENIOR_F
---
<<card flag_luxembourg>>
Trouvez le drapeau luxembourgeois. #line:0ed3698 #task:FIND_LUX_FLAG
Il est rouge, blanc et bleu clair. #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>>
Drapeau du 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>>
    Merci de nous aider ! #line:02f73c8 
    La capitale de la Suisse est Berne ! #line:0d2e2d7 
<<elseif has_item("flag_switzerland")>>
    <<if $CURRENT_ITEM == "flag_switzerland">>
        Merci d'avoir ramené mon drapeau ! #line:0ca99a0 
        Retournez au début et récupérez votre prix ! #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>>
        [MISSING TRANSLATION:         You have my flag in your inventory!] #line:0f2651c 
        [MISSING TRANSLATION:         Select it and give it to me! It's the red one with the cross.] #line:060512c 
    <<endif>>
<<elseif $CURRENT_ITEM != "">>
    Ce n'est pas mon drapeau. Notre drapeau est rouge avec une croix blanche. #line:0caad5a 
    <<jump task_swiss>>
<<else>>
    <<set $swiss_met = true>>
    Bonjour ! Je viens de Suisse ! #line:09fe8fc 
    Nous sommes célèbres pour nos montagnes enneigées et notre fromage. #line:0bf6b0d 
    <<jump task_swiss>>
<<endif>>
task_swiss 
group: swiss
actor: SENIOR_F
---
<<card flag_switzerland>>
Trouvez le drapeau suisse. #line:0ec7096 #task:FIND_SWISS_FLAG
Il est rouge avec une grande croix blanche comme une trousse de premiers secours. #line:07cc57e 
<<camera_focus camera_Flag_SW>>
<<task_start FIND_SWISS_FLAG npc_swiss>>
monaco 
//--------------------------------------------
// MONACO
//--------------------------------------------
color: blue
group: monaco
actor: ADULT_M
---
Bonjour ! Je suis de Monaco ! #line:0a3f8f6 
Nous sommes petits. Nous avons des courses de voitures et un palais au bord de la mer ! #line:0dc315a 
<<asset flag_monaco>>
Mon drapeau est rouge et blanc. #line:00bd939 
andorra 
//--------------------------------------------
// ANDORRA
//--------------------------------------------
group: andorra
color: blue
actor: GUIDE_F
---
Bonjour ! Je viens d’Andorre ! #line:071f85c 
Mon drapeau est bleu, jaune et rouge. #line:02846e8 
<<asset flag_andorra>>
item_flag_spain 
color: yellow
group: spain
actor: NARRATOR
---
<<card flag_spain>>
Drapeau de l'Espagne #line:006ce10 
<<if $CURRENT_ITEM != "flag_spain">>
    <<inventory flag_spain add>>
<<endif>>
item_flag_germany 
group: germany
color: yellow
actor: NARRATOR
---
<<card flag_germany>>
Drapeau de l'Allemagne. #line:05ff51a 
<<if $CURRENT_ITEM != "flag_germany">>
    <<inventory flag_germany add>>
<<endif>>
item_flag_italy 
group: italy
color: yellow
actor: NARRATOR
---
<<card flag_italy>>
Drapeau de l'Italie. #line:0fdc68b 
<<if $CURRENT_ITEM != "flag_italy">>
    <<inventory flag_italy add>>
<<endif>>
item_flag_switzerland 
group: swiss
color: yellow
actor: NARRATOR
---
<<card flag_switzerland>>
Drapeau de la Suisse. #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 
---
En Europe, on parle plus de 200 langues ! #line:04f4280 
Vous pouvez visiter la plupart de ces pays sans passeport ! #line:08d624d 
La France est le plus grand pays de l’Union européenne. #line:0ab3dd9 
