I vicini della Francia (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>>
Benvenuti in Francia! #line:046db1f 
Siamo in Europa. #line:08a8ce8 
Incontriamo i bambini dei paesi vicini. #line:08a09de 
<<target NPC_France>>
quest_end 
type: panel_endgame
color: green
---
La missione è completata. #line:0432689 
<<jump post_quest_activity>>
post_quest_activity 
type: panel
color: green
tags: proposal
---
Ora puoi disegnare la tua bandiera? #line:0c48a14 
<<quest_end>>
win 
//--------------------------------------------
// FRANCE
//--------------------------------------------
actor: KID_F
color: purple
type: panel_endgame
---
Ottimo lavoro! Ce l'hai fatta! #line:0ba3c4c 
<<card concept_europe_map>>
Hai trovato una parte d'Europa! #line:06e1dd4 
<<jump quest_end>>
france_npc 
color: blue
group: france
actor: KID_F
---
<<if $COUNTRIES_COMPLETED >= $TOTAL_COUNTRIES>>
    <<jump win>>
<<elseif $france_completed>>
    Grazie per avermi aiutato! #line:04e2d8b 
    Puoi aiutare gli altri miei amici? #line:0e426ba 
<<elseif has_item("flag_france")>>
    <<if $CURRENT_ITEM == "flag_france">>
        Sì, quella è la mia bandiera! 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>>
        Riesci a trovare la bandiera tedesca? #line:04bd4db 
        <<set $france_met = true>>
        <<action germany_active>>
        <<camera_focus camera_NPC_GE>>
        <<area area_europe>>
        <<jump task_germany  >>
    <<endif>>
<<elseif $CURRENT_ITEM != "">>
    Quella non è la mia bandiera. La mia è blu, bianca e rossa. #line:04e0432 
<<else>>
    <<set $france_met = true>>
    Ciao! Sono dalla Francia! #line:06dfdd6 
    Antura ha confuso tutte le bandiere! #line:0a20eed 
    La mia bandiera è blu, bianca e rossa. #line:0868737 
    Mi potete aiutare? #line:0a9f34e 
    <<jump task_france>>
<<endif>>
task_france 
group: france
tags: task
---
<<asset flag_france>>
Trova la bandiera francese. #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>>
Bandiera della Francia. #line:01d9617 
<<inventory flag_france add>>
germany_npc 
//--------------------------------------------
// GERMANY
//--------------------------------------------
color: blue
group: germany
actor: ADULT_M
---
<<if $germany_completed>>
    <<card flag_germany>>
    Grazie per avermi aiutato! #line:0eaf07d 
    Berlino è la capitale della Germania. #line:0446f03 
<<elseif has_item("flag_germany")>>
    <<if $CURRENT_ITEM == "flag_germany">>
        Grazie! Quella è la mia bandiera! #line:0ba8707
        Puoi aiutare il mio amico spagnolo? #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 != "">>
    La nostra bandiera ha delle strisce: nera, rossa, gialla. #line:0cd7024 
    <<jump task_germany>>
<<elseif $germany_met == false >>
    <<set $germany_met = true>>
    Ciao! Sono dalla Germania! #line:0068fe1 
    Siamo famosi per i castelli, le foreste e i treni! #line:04dc97a 
    <<jump task_germany>>
<<endif>>
task_germany 
group: germany
tags: task
---
<<card flag_germany>>
Trova la bandiera tedesca e riportala indietro. #line:029ee72 #task:FIND_GERMAN_FLAG
Ha delle strisce: nere, rosse, gialle. #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>>
    Grazie per avermi aiutato! #line:0a5c214 
    Barcellona e Madrid sono grandi città della Spagna. #line:09cf6c9 
<<elseif has_item("flag_spain")>>
    <<if $CURRENT_ITEM == "flag_spain">>
        Quella è la mia bandiera! #line:0c57e40 
        Grazie. Puoi dare la bandiera al mio amico italiano? #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 != "">>
    Non è mia! La nostra bandiera è rossa e gialla. #line:0db05da 
    <<jump task_spain>>
<<elseif $spain_met == false >>
    <<set $spain_met = true>>
    Ciao! Sono dalla Spagna! #line:0f5bc06 
    Abbiamo un ballo chiamato flamenco! #line:05e6d48 
    <<jump task_spain>>
<<endif>>
task_spain 
group: spain
actor: ADULT_F
---
<<card flag_spain>>
Trova la bandiera spagnola. #line:091cc7c #task:FIND_SPANISH_FLAG
È rosso e giallo come il sole. #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>>
    Grazie! La nostra capitale è Roma! #line:0148edb
<<elseif has_item("flag_italy")>> 
    <<if $CURRENT_ITEM == "flag_italy">>
        Grazie! Questa è la mia bandiera! #line:081ac66 
        Aiutateli a trovare la bandiera belga! #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 != "">>
    La mia bandiera è verde, bianca e rossa. #line:0dc8623
    <<set $italy_met = true>>
    <<jump task_italy>>
<<elseif $italy_met == false>>
    <<set $italy_met = true>>
    Ciao! Sono italiano! #line:0bda0fc 
    <<jump task_italy>>
<<endif>>
task_italy 
group: italy
actor: KID_M
---
<<card flag_italy>>
Trova la bandiera italiana. #line:0ed29f1 #task:FIND_ITALIAN_FLAG
È verde, bianco e rosso come una 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>>
    Grazie per averci aiutato! #line:080a099 
    Bruxelles è la capitale del Belgio. #line:06b3ceb 
<<elseif has_item("flag_belgium") >>
    <<if $CURRENT_ITEM == "flag_belgium">>
        Grazie! La mia bandiera è tornata! #line:079096a 
        Puoi aiutare il mio amico lussemburghese? #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 != "">>
    Ricorda: la mia bandiera ha le strisce: nera, gialla, rossa. #line:0141a13 
    <<jump task_belgium>>
    <<set $belgium_met = true>>
<<else>>
    <<set $belgium_met = true>>
    Buongiorno! Vengo dal Belgio! #line:0a61b67 
    Parliamo anche francese! #line:0b18893 
    <<jump task_belgium>>
<<endif>>
task_belgium 
group: belgium
actor: SENIOR_F
---
<<card flag_belgium>>
Trova la bandiera belga. #line:0f08126 #task:FIND_BELGIUM_FLAG
È nero, giallo e rosso con strisce verticali. #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>>
Bandiera del Belgio. #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>>
    Grazie per averci aiutato! #line:02114ba 
<<elseif has_item("flag_luxembourg")>>
    <<if $CURRENT_ITEM == "flag_luxembourg">>
        Grazie! Quella è la mia bandiera. #line:05de5ab 
        Puoi aiutare il mio amico svizzero? #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 != "">>
    No! La nostra bandiera è rossa, bianca e azzurra. #line:0529472 
    <<set $lux_met = true>>
    <<jump task_lux>>
<<else>>
    <<set $lux_met = true>>
    Moien! Sono del Lussemburgo! #line:0b22d58 
    Siamo piccoli e parliamo tre lingue! #line:0a3d0e3 
    <<jump task_lux>>
<<endif>>
task_lux 
group: lux
actor: SENIOR_F
---
<<card flag_luxembourg>>
Trova la bandiera del Lussemburgo. #line:0ed3698 #task:FIND_LUX_FLAG
È rosso, bianco e azzurro. #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>>
Bandiera del Lussemburgo. #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>>
    Grazie per averci aiutato! #line:02f73c8 
    La capitale della Svizzera è Berna! #line:0d2e2d7 
<<elseif has_item("flag_switzerland")>>
    <<if $CURRENT_ITEM == "flag_switzerland">>
        Grazie per avermi riportato la bandiera! #line:0ca99a0 
        Torna all'inizio e prendi il tuo premio! #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 != "">>
    Non è la mia bandiera. La nostra bandiera è rossa con una croce bianca. #line:0caad5a 
    <<jump task_swiss>>
<<else>>
    <<set $swiss_met = true>>
    Ciao! Sono dalla Svizzera! #line:09fe8fc 
    Siamo famosi per le montagne innevate e il formaggio. #line:0bf6b0d 
    <<jump task_swiss>>
<<endif>>
task_swiss 
group: swiss
actor: SENIOR_F
---
<<card flag_switzerland>>
Trova la bandiera svizzera. #line:0ec7096 #task:FIND_SWISS_FLAG
È rosso con una grande croce bianca, come un kit di pronto soccorso. #line:07cc57e 
<<camera_focus camera_Flag_SW>>
<<task_start FIND_SWISS_FLAG npc_swiss>>
monaco 
//--------------------------------------------
// MONACO
//--------------------------------------------
color: blue
group: monaco
actor: ADULT_M
---
Buongiorno! Sono di Monaco! #line:0a3f8f6 
Siamo piccoli. Abbiamo gare automobilistiche e un palazzo in riva al mare! #line:0dc315a 
<<asset flag_monaco>>
La mia bandiera è rossa e bianca. #line:00bd939 
andorra 
//--------------------------------------------
// ANDORRA
//--------------------------------------------
group: andorra
color: blue
actor: GUIDE_F
---
Ciao! Sono di Andorra! #line:071f85c 
La mia bandiera è blu, gialla e rossa. #line:02846e8 
<<asset flag_andorra>>
item_flag_spain 
color: yellow
group: spain
actor: NARRATOR
---
<<card flag_spain>>
Bandiera della Spagna #line:006ce10 
<<if $CURRENT_ITEM != "flag_spain">>
    <<inventory flag_spain add>>
<<endif>>
item_flag_germany 
group: germany
color: yellow
actor: NARRATOR
---
<<card flag_germany>>
Bandiera della Germania. #line:05ff51a 
<<if $CURRENT_ITEM != "flag_germany">>
    <<inventory flag_germany add>>
<<endif>>
item_flag_italy 
group: italy
color: yellow
actor: NARRATOR
---
<<card flag_italy>>
Bandiera dell'Italia. #line:0fdc68b 
<<if $CURRENT_ITEM != "flag_italy">>
    <<inventory flag_italy add>>
<<endif>>
item_flag_switzerland 
group: swiss
color: yellow
actor: NARRATOR
---
<<card flag_switzerland>>
Bandiera della Svizzera. #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 Europa si parlano più di 200 lingue! #line:04f4280 
Molti di questi paesi possono essere visitati senza passaporto! #line:08d624d 
La Francia è il paese più grande dell'Unione Europea. #line:0ab3dd9 
