The great Wrocław dwarf rescue (pl_02) - 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_02 | Dwarves (Wroclaw)
// 
// ---------------------------------------------
// WANTED:
// - wroclaw_dwarf_statue (cultural symbol)
// - PolishDwarf (cultural tradition)
// - wroclaw_market_square (city center)
// - WroclawOldTownHall (historical building)
// - WroclawCathedral (religious architecture)
// - WroclawSkyTower (modern landmark)
tags: type=Start
color: red
type: panel
---
<<declare $found = 0>>
<<declare $need = 10>>
<<declare $dwarf_1_found = false>>
<<declare $dwarf_2_found = false>>
<<declare $dwarf_3_found = false>>
<<declare $dwarf_4_found = false>>
<<declare $dwarf_5_found = false>>
<<declare $dwarf_6_found = false>>
<<declare $dwarf_7_found = false>>
<<declare $dwarf_8_found = false>>
<<declare $dwarf_9_found = false>>
<<declare $dwarf_10_found = false>>
<<declare $top_met = false>>
Welcome to Wrocław! #line:023b330 
quest_end 
type: panel_endgame
color: green
---
This quest is complete. #line:04eb3f4 
<<jump post_quest_activity>>
post_quest_activity 
type: panel
color: green
tags: proposal
---
Why don't you draw your Dwarf? #line:0e7c76a 
<<quest_end>>
npg_task_dwarves 
tags: task
---
Oh no! Antura is stuck at the top of the Sky Tower. #line:0a18e6c 
<<card wroclaw_sky_tower zoom>>
The dwarves locked the elevator. #line:08bcfba 
Find 10 dwarves around Wrocław. They will help us. #line:07471d4 #task:FIND_DWARVES
<<card wroklaw_map zoom>>
Explore the city. Talk to each dwarf you find. #line:09148d9 
<<task_start FIND_DWARVES task_dwarves_done>>
task_dwarves_done 
tags: task
---
You found all the dwarves! #line:03df148 
Now go up the elevator! #line:0364c03 
dwarf_1_origin 
// 1) The origin of dwarves
group: dwarves
actor: SPECIAL
---
<<card wroclaw_dwarf_statue zoom>>
Wrocław is the city of dwarfs. You can find them everywhere. #line:007686b 
They are small and kind. They like to play tricks. #line:0143908 
Do you want to play with me? #line:0e460fe 
yes #line:02a4fb8 
	<<activity jigsaw_dwarf_origin dwarf_1_origin_done>>
no #line:0f7786d 
	Oh, okay. Maybe later. #line:0e236f0 
	<<SetActive dwarf_1 false>>
dwarf_1_origin_done 
group: dwarves
actor: SPECIAL
---
Good job! You solved the puzzle. #line:0a87d03 
Now I come with you. #line:0f49b50 
<<inventory wroclaw_dwarfs add>>
<<set $dwarf_1_found = true>>
<<set $found = $found + 1>>
<<SetActive dwarf_1 false>>
dwarf_2_town_hall 
// 2) Old Town Hall
group: dwarves
actor: SPECIAL
---
<<asset wroclaw_old_town_hall>>
This is the Old Town Hall. City leaders work here. #line:02cbbf0 
Meetings happen inside. The clock is very old. #line:0ca6131 
<<activity jigsaw_town_hall dwarf_2_town_hall_done>>
dwarf_2_town_hall_done 
group: dwarves
actor: SPECIAL
---
Well done! #line:004110a 
<<inventory wroclaw_dwarfs add>>
<<set $dwarf_2_found = true>>
<<set $found = $found + 1>>
<<SetActive dwarf_2 false>>
dwarf_3_cathedral 
// 3) Cathedral with quiz
group: dwarves
actor: SPECIAL
---
<<card bishop_dwarf>>
This is the cathedral. It is a large and important church. #line:00f2132 
Do you know what a church is? #line:080f821 
Yes #line:07550a5 
No #line:09e7452 
 <<detour info_church>>
It has tall towers and colorful stained-glass windows. #line:08871e4 
<<jump dwarf_3_quiz>>
info_church 
group: dwarves
actor: SPECIAL
---
<<card church>>
A church is a place where people pray. #line:0b1f4e1
dwarf_3_quiz 
group: dwarves
actor: SPECIAL
---
What do people do in a cathedral? #line:05ea00d 
They shop for food. #line:0c891cc 
   Not here. Try again. #line:0d84e58 
   <<jump dwarf_3_quiz>>
They pray. #line:01ac8e6 
   Yes. You may collect the dwarf. #line:071c92a 
   <<jump dwarf_3_activity>>
They fly planes. #line:09d9b34 
   No. Try again. #line:06ebc0c 
   <<jump dwarf_3_quiz>>
dwarf_3_activity 
group: dwarves
actor: SPECIAL
---
Let's play a game. #line:0c5d8d3 
<<activity jigsaw_wroclaw_cathedral dwarf_3_activity_done>>
dwarf_3_activity_done 
group: dwarves
actor: SPECIAL
---
Great! He is another dwarf. #line:04886ba 
<<inventory wroclaw_dwarfs add>>
<<set $dwarf_3_found = true>>
<<set $found = $found + 1>>
<<SetActive dwarf_3 false>>
dwarf_4_zoo 
// 4) ZOO
group: dwarves
actor: SPECIAL
---
Visit the Wrocław zoo. It is the biggest in Poland. #line:0198e80 
It has many animals from around the world. #line:01b020e 
<<jump dwarf_4_activity>>
dwarf_4_activity 
group: dwarves
actor: SPECIAL
---
Let's play a game. #line:0f921e7 
<<activity jigsaw_wroclaw_zoo dwarf_4_activity_done>>
dwarf_4_activity_done 
group: dwarves
actor: SPECIAL
---
Great! #line:0c852a7 
<<inventory wroclaw_dwarfs add>>
<<set $dwarf_4_found = true>>
<<set $found = $found + 1>>
<<SetActive dwarf_4 false>>
dwarf_5 
// 5) Centennial Hall
group: dwarves
actor: SPECIAL
---
The Centennial Hall is huge. You see shows inside. #line:0ebb952 
The roof looks like a giant dome. #line:0f4189b 
<<jump dwarf_5_activity>>
dwarf_5_activity 
group: dwarves
actor: SPECIAL
---
Let's play a game. #line:06b4a16 
<<activity jigsawpuzzle centennial_hall dwarf_5_activity_done>>
dwarf_5_activity_done 
group: dwarves
actor: SPECIAL
---
Great! #line:0abf458 
<<inventory wroclaw_dwarfs add>>
<<set $dwarf_5_found = true>>
<<set $found = $found + 1>>
<<SetActive dwarf_5 false>>
dwarf_6 
// 6) Multimedia Fountain
group: dwarves
actor: SPECIAL
---
Water dances here with music and lights. #line:0daf76d 
The shows are beautiful on summer nights. #line:006ed40 
<<jump dwarf_6_activity>>
dwarf_6_activity 
group: dwarves
actor: SPECIAL
---
Let's play a game. #line:0cdb4f5 
<<activity jigsaw_multimedia_fountain dwarf_6_activity_done>>
dwarf_6_activity_done 
group: dwarves
actor: SPECIAL
---
Great! #line:0818eec 
<<inventory wroclaw_dwarfs add>>
<<set $dwarf_6_found = true>>
<<set $found = $found + 1>>
<<SetActive dwarf_6 false>>
dwarf_7 
// 7) Panorama Racławicka
group: dwarves
actor: SPECIAL
---
A giant battle painting goes all around you. #line:0de7f17 
You stand inside the story. #line:0f8436b 
<<activity jigsawpuzzle panorama_raclawicka dwarf_7_activity_done>>
dwarf_8 
// 8) Olga Tokarczuk
group: dwarves
actor: SPECIAL
---
Olga Tokarczuk is a famous writer in Wrocław. #line:0496de5 
She won the Nobel Prize in Literature. #line:00ae354 
<<activity jigsawpuzzle olga_tokarczuk dwarf_8_activity_done>>
dwarf_9 
// 9) Sky Tower Plaza Dwarf
group: dwarves
actor: SPECIAL
---
This is the modern plaza near the Sky Tower. #line:096a9ee 
People meet here to talk and play. #line:0c899a5 
<<activity jigsawpuzzle plaza_dwarf dwarf_9_activity_done>>
dwarf_10 
// 9) Sky Tower Dwarf
group: dwarves
actor: SPECIAL
---
The Sky Tower is very tall. #line:0ccd434 
You can see very far from the top. #line:0170463 
<<activity jigsawpuzzle sky_tower_dwarf dwarf_10_activity_done>>
elevator_keymaster 
// Keymaster at the elevator
group: dwarves
actor: SPECIAL
---
I guard the elevator. #line:0dd986c 
<<if $found < $need>>
	You found {0} / {1} dwarves. Keep exploring. #line:08dfa28 
<<else>>
	Great! You found them all. I open the door with my key. #line:0fdc177 
	<<action activate_elevator>>
<<endif>>
elevator_up 
actor: GUIDE_F
---
The elevator goes up. Ding! #line:0abe973 
The view is beautiful. #line:008b500 
npg_rescue_top 
actor: SPECIAL
---
<<if $top_met>>
	<<jump assessment_intro>>
<<else>>
	<<set $top_met = true>>
	AHhh Antura was here. #line:0708555 
	But it just went away! #line:0f710dd 
	Maybe next time you'll make it! #line:081c124 
	But isn't the view beautiful? #line:079ea46 
	<<jump assessment_intro>>
<<endif>>
assessment_intro 
// Final Assessment
actor: GUIDE_F
---
Would you like to answer two short questions? #line:07982da 
Yes #line:012a7d1 
	<<jump assessment_q1>>
No #line:0d0b965 
	Ok. Come back to me to end the game #line:0b51184 
assessment_q1 
tags: assessment, actor=GUIDE
---
What is the symbol of Wrocław? #line:020c66a 
a dog #line:03ffcee 
	Not this. #line:07344d2 
	<<jump assessment_q1>>
a monkey #line:0760b20 
	No. #line:0868c5e 
	<<jump assessment_q1>>
a dwarf #line:0972bf0 
	Correct! #line:088b881 
	<<jump assessment_q2>>
assessment_q2 
tags: assessment, actor=GUIDE
---
Wrocław is the ... biggest city in Poland. #line:09d303d 
first #line:0ce9571 
	No. #line:039419a 
	<<jump assessment_q2>>
second #line:0fea2e7 
	Not this. #line:028148c 
	<<jump assessment_q2>>
third #line:0ebe219 
	Correct! Well done. #line:0802440 
	<<jump assessment_end>>
assessment_end 
actor: GUIDE_F
---
Great! You finished the quest! #line:0fc1bad 
<<jump quest_end>>
dwarf_7_activity_done 
// Added completion nodes for dwarves 7-10
group: dwarves
actor: SPECIAL
---
Good job! #line:074a28b 
<<inventory wroclaw_dwarfs add>>
<<set $dwarf_7_found = true>>
<<set $found = $found + 1>>
<<SetActive dwarf_7 false>>
dwarf_8_activity_done 
group: dwarves
actor: SPECIAL
---
Good job! #line:0ac938a 
<<inventory wroclaw_dwarfs add>>
<<set $dwarf_8_found = true>>
<<set $found = $found + 1>>
<<SetActive dwarf_8 false>>
dwarf_9_activity_done 
group: dwarves
actor: SPECIAL
---
Good job! #line:0f70de9 
<<inventory wroclaw_dwarfs add>>
<<set $dwarf_9_found = true>>
<<set $found = $found + 1>>
<<SetActive dwarf_9 false>>
dwarf_10_activity_done 
group: dwarves
actor: SPECIAL
---
Good job! #line:054d57b 
<<inventory wroclaw_dwarfs add>>
<<set $dwarf_10_found = true>>
<<set $found = $found + 1>>
<<SetActive dwarf_10 false>>
spawned_child 
///////// NPCs SPAWNED IN THE SCENE //////////
// these npc are spawned automatically in the scene
// each time you meet them they say one random line
color: purple
actor: KID_F
spawn_group: kids 
---
I like counting dwarves with my friend. #line:05166a6 
We look up at the Sky Tower. #line:068b00a 
The fountain show is bright at night. #line:096ce85 
The zoo has animals from many lands. #line:03c5f8f 
spawned_tourist 
color: purple
actor: ADULT_F
spawn_group: tourists 
---
I got a map to find more dwarves. #line:0738670 
The cathedral towers look very tall. #line:0eaaf50 
The big painting goes all around us. #line:0606b35 
spawned_local 
color: purple
actor: ADULT_M
spawn_group: locals 
---
The market square is busy and bright. #line:052bf17 
The hall has a round high roof. #line:05c1526 
The keymaster guards the elevator door. #line:0209b93 
spawned_reader 
color: purple
actor: KID_F
spawn_group: kids 
---
I read a book by Olga. #line:0246124 
Olga won a big prize. #line:0eeaf85 
I want to write stories one day. #line:08c1def 
