Gingerbread & food market (pl_06) - Script
Educators & Designers: help improving this quest!
Comments and feedback: discuss in the Forum
Improve script translations: comment the Google Sheet
Improve Cards translations: comment the Google Sheet
Improve the script: propose an edit here
quest_start
// pl_06 | Market (Torun)
//
// ---------
// WANTED:
// Cards:
// - torun_gingerbread (cultural tradition)
// - torun_town_hall (Gothic architecture)
// - medieval_market (historical setting)
// - pierogi
// Activities:
// - bake gingerbread (order/memory of ingredients)
// - Pierogi Challenge: order/memory of ingredients (flour, eggs, cheese, potatoes)
// Words used: Toruń, market, vendor, grocer, beekeeper, dairy, eggs, milk, butter, flour, honey, cloves, cinnamon, ginger, pierogi, molds, coins, zloty, kitchen, gingerbread, medieval
type: panel
color: red
actor:
---
<<declare $grocer_completed = false>>
<<declare $beekeeper_completed = false>>
<<declare $cheesemonger_completed = false>>
<<declare $eggvendor_completed = false>>
<<declare $spicevendor_completed = false>>
<<declare $gingerbread_done = false>>
We are in TORUŃ, home of Poland's legendary GINGERBREAD! #line:080555e
Let's explore the MARKET. #line:03e11fa
<<target npc_cook>>
quest_end
type: panel_endgame
color: green
---
This quest is complete. #line:073978d
<<jump post_quest_activity>>
post_quest_activity
type: panel
color: green
tags: proposal
---
Would you like to try making a GINGERBREAD? #line:09722f2
Or the PIEROGI recipe? #line:0954c65
<<quest_end>>
cook
group: cook
actor: ADULT_M
---
<<if GetCollectedItem("COLLECT_INGREDIENTS") >= 7>>
<<jump cook_ingredients_done>>
<<elseif GetCollectedItem("COLLECT_INGREDIENTS") > 0>>
<<jump cook_not_enough>>
<<else>>
<<jump cook_welcome>>
<<endif>>
cook_welcome
group: cook
actor: ADULT_M
---
<<card cook>>
Dzień dobry! I am a COOK of typical Polish recipes. #line:028131b
<<card gingerbread>>
I can bake our famous GINGERBREAD for you. #line:07fb019
But I need some INGREDIENTS. #line:00a46f0
<<jump task_ingredients>>
task_ingredients
group: cook
tags: task
---
<<card currency_zloty>>
Please take this money #line:0ff272d
<<card market_traders>>
And go to the MARKET TRADERS #line:0c35a9c
<<detour task_ingredients_desc>>
<<task_start COLLECT_INGREDIENTS task_ingredients_done>>
When you talk to people, remember your manners! #line:03f1020
We say "Dzień dobry" to greet someone #line:091bb57
and "Dziękuję" to thank them. #line:076ffac
<<area area_full>>
task_ingredients_desc
type: task
---
Buy the ingredients for the recipe. #line:00565e5
Some FLOUR #line:070b733
Some HONEY #line:0e22cab
Some SUGAR #line:055af31
Some BUTTER #line:0bfb896
One EGG #line:0de2001
Some CINNAMON #line:0ba5cca
And finally some GINGER #line:0a700e3
<<card_hide>>
cook_not_enough
group: cook
actor: ADULT_M
---
You don't have all INGREDIENTS! #line:003f24d
Visit all the VENDORS in the MARKET. #line:0d691b9
And take the ingredients you buy. #line:0ea58f3
task_ingredients_done
group: cook
type:
---
Great. You got all INGREDIENTS! #line:03f7a4a
<<target npc_cook>>
Go back to the COOK. #line:0222915
<<task_start go_back_cook>>
cook_ingredients_done
group: cook
actor:
---
Well done, you have everything. #line:0bb1792
And you were very polite. #line:0c400be
<<card gingerbread>>
Now we can bake TORUŃ GINGERBREAD! #line:0b5d503
<<jump activity_bake_gingerbread>>
activity_bake_gingerbread
group: cook
tags: activity
---
<<card gingerbread_mold>>
Match GINGERBREAD parts to their seller. #line:0e54683
<<activity match_ingredients activity_match_done>>
activity_match_done
group: cook
actor:
---
<<if GetActivityResult("match_ingredients") > 0>>
Well done! You matched all the ingredients. #line:01648b2
<<card gingerbread>>
Now I can cook the GINGERBREAD! #line:0f0f617
Please go inside the Old Town Hall. A surprise is waiting for you! #line:01c48d3
<<set $gingerbread_done = true>>
<<target npc_castle>>
<<else>>
Not perfect. Try again! #line:007427a
<<jump activity_bake_gingerbread>>
<<endif>>
grocer
// ----------------------------------------------
// GROCER
group: grocer
actor: SENIOR_F
tags: noRepeatLastLine
color: blue
---
<<if GetActivityResult("money_grocer") > 0>>
You already bought from me! #line:already_bought
Do you want to play again? #line:play_again
Yes #line:yes
<<activity hard_money_zloty hard_payment_done>>
No #line:no
<<else>>
Thanks! #line:thanks
<<jump talk_dont_understand>>
Good morning! #line:hello
<<jump grocer_bonjour>>
Dobranoc! #line:0b4db3b
<<jump talk_dont_understand>>
<<endif>>
grocer_bonjour
group: grocer
actor: SENIOR_F
---
<<card person_grocer>>
Hello! I am a grocer. I sell many kinds of food. #line:0ffbfa4
What do you need? #line:0c6a554
<<jump grocer_question>>
grocer_question
group: grocer
actor: SENIOR_F
---
What do you want to buy? #line:what_to_buy
Fish #line:0d6dabd
<<jump talk_dont_sell>>
Meat #line:03eeda4
<<jump talk_dont_sell>>
Dress #line:097fca2
<<jump talk_dont_sell>>
Flour and sugar #line:0068f15
<<jump grocer_pay_activity>>
grocer_pay_activity
group: grocer
actor: SENIOR_F
color: purple
---
<<card currency_zloty>>
Pick the right coins to pay. #line:select_money
<<activity money_grocer grocer_payment_done>>
grocer_payment_done
group: grocer
actor: SENIOR_F
tags: noRepeatLastLine
---
I put your items on the table. Thanks! #line:0567082
Goodbye! #line:goodbye
Thanks! #shadow:thanks
Have a nice day! #line:nice_day
<<SetActive Collect_Grocer>>
beekeper
// ----------------------------------------------
// BEEKEPER
color: blue
group: beekeper
tags: noRepeatLastLine
actor: SENIOR_M
---
<<if GetActivityResult("money_beekeper") > 0>>
You already bought from me! #shadow:already_bought
Do you want to play again? #shadow:play_again
Yes #shadow:yes
<<activity hard_money_zloty hard_payment_done>>
No #shadow:no
<<else>>
Thanks! #shadow:thanks
<<jump talk_dont_understand>>
Good morning! #shadow:hello
<<jump beekeper_bonjour>>
Do widzenia! #line:06b0535
<<jump talk_dont_understand>>
<<endif>>
beekeper_bonjour
group: beekeper
actor: SENIOR_M
---
<<card person_beekeper>>
Good morning! I'm a beekeeper and I sell honey. #line:04b4a87
<<card honey>>
All of my products come from my beehives! #line:0aa9ce7
<<jump beekeper_question>>
beekeper_question
group: beekeper
actor: SENIOR_M
---
What do you want to buy? #shadow:what_to_buy
Honey #line:honey
<<jump beekeper_pay_activity>>
Chocolate #line:chocolate
<<jump talk_dont_sell>>
Bread #line:bread
<<jump talk_dont_sell>>
Milk #line:milk
<<jump talk_dont_sell>>
beekeper_pay_activity
group: beekeper
actor: SENIOR_M
color: purple
---
<<card currency_zloty>>
Pick the right coins to pay. #shadow:select_money
<<activity money_beekeper beekeper_payment_done>>
beekeper_payment_done
group: beekeper
actor: SENIOR_M
tags: noRepeatLastLine
---
I put your items on the table. Thanks! #shadow:0567082
Goodbye! #shadow:goodbye
Thanks! #shadow:thanks
Have a nice day! #shadow:nice_day
<<SetActive Collect_Beekeper>>
cheesemonger
// ----------------------------------------------
// CHEESEMONGER
color: blue
group: cheesemonger
actor: ADULT_F
tags: noRepeatLastLine
---
<<if GetActivityResult("money_cheesemonger") > 0>>
You already bought from me! #shadow:already_bought
Do you want to play again? #shadow:play_again
Yes #shadow:yes
<<activity hard_money_zloty hard_payment_done>>
No #shadow:no
<<else>>
Thanks! #shadow:thanks
<<jump talk_dont_understand>>
Good morning! #shadow:hello
<<jump cheesemonger_bonjour>>
Goodbye! #shadow:goodbye
<<jump talk_dont_understand>>
<<endif>>
cheesemonger_bonjour
group: cheesemonger
actor: ADULT_F
---
Hi! I sell cheese and butter. I am a cheesemonger. #line:09eb222
I use both cow milk and goat milk. #line:02f4bc9
<<card person_cheesemonger>>
<<jump cheesemonger_question>>
cheesemonger_question
group: cheesemonger
actor: ADULT_F
---
What do you want to buy? #shadow:what_to_buy
Butter #line:butter
<<jump cheesemonger_pay_activity>>
Oil #line:057f694
<<jump talk_dont_sell>>
Bread #line:087919f
<<jump talk_dont_sell>>
Tomatoes #line:067bfab
<<jump talk_dont_sell>>
cheesemonger_pay_activity
group: cheesemonger
actor: ADULT_F
color: purple
---
<<card currency_zloty>>
Pick the right coins to pay. #shadow:select_money
<<activity money_cheesemonger cheesemonger_payment_done>>
cheesemonger_payment_done
group: cheesemonger
actor: ADULT_F
tags: noRepeatLastLine
---
I put your items on the table. Thanks! #shadow:0567082
Goodbye! #shadow:goodbye
Thanks! #shadow:thanks
Have a nice day! #shadow:nice_day
<<SetActive Collect_Cheesemonger>>
eggvendor
// ----------------------------------------------
// EGG VENDOR
color: blue
group: eggvendor
actor: ADULT_F
tags: noRepeatLastLine
---
<<if GetActivityResult("money_eggvendor") > 0>>
You already bought from me! #shadow:already_bought
Do you want to play again? #shadow:play_again
Yes #shadow:yes
<<activity hard_money_zloty hard_payment_done>>
No #shadow:no
<<else>>
Thanks! #shadow:thanks
<<jump talk_dont_understand>>
Good morning! #shadow:hello
<<jump eggvendor_bonjour>>
Goodbye! #shadow:goodbye
<<jump talk_dont_understand>>
<<endif>>
eggvendor_bonjour
group: eggvendor
actor: ADULT_F
---
<<card person_eggvendor>>
Hi! I sell EGGS. I am an egg vendor. #line:09a9960
<<jump eggvendor_question>>
eggvendor_question
group: eggvendor
actor: ADULT_F
---
What do you want to buy? #shadow:what_to_buy
Eggs #line:eggs
<<jump eggvendor_pay_activity>>
Oil #line:06cc62e
<<jump talk_dont_sell>>
Bread #line:059920e
<<jump talk_dont_sell>>
eggvendor_pay_activity
group: eggvendor
actor: ADULT_F
color: purple
---
<<card currency_zloty>>
Pick the right coins to pay. #shadow:select_money
<<activity money_eggvendor eggvendor_payment_done>>
eggvendor_payment_done
group: eggvendor
actor: ADULT_F
tags: noRepeatLastLine
---
I put your items on the table. Thanks! #shadow:0567082
Goodbye! #shadow:goodbye
Thanks! #shadow:thanks
Have a nice day! #shadow:nice_day
<<SetActive Collect_Eggvendor>>
spicevendor
// ----------------------------------------------
// SPICE VENDOR
color: blue
group: spicevendor
actor: ADULT_F
tags: noRepeatLastLine
---
<<if GetActivityResult("money_spicevendor") > 0>>
You already bought from me! #shadow:already_bought
Do you want to play again? #shadow:play_again
Yes #shadow:yes
<<activity hard_money_zloty hard_payment_done>>
No #shadow:no
<<else>>
Thanks! #shadow:thanks
<<jump talk_dont_understand>>
Good morning! #shadow:hello
<<jump spicevendor_bonjour>>
Goodbye! #shadow:goodbye
<<jump talk_dont_understand>>
<<endif>>
spicevendor_bonjour
group: spicevendor
actor: ADULT_F
---
<<card person_spicevendor>>
Hi! I sell spices. I am a spice vendor. #line:0f83873
<<jump spicevendor_question>>
spicevendor_question
group: spicevendor
actor: ADULT_F
---
What do you want to buy? #shadow:what_to_buy
Cinnamon and ginger #line:0fe40e7
<<jump spicevendor_pay_activity>>
Butter #line:0fa399a
<<jump talk_dont_sell>>
Honey #line:0cec0d0
<<jump talk_dont_sell>>
spicevendor_pay_activity
group: spicevendor
actor: ADULT_F
color: purple
---
<<card currency_zloty>>
Pick the right coins to pay. #shadow:select_money
<<activity money_spicevendor spicevendor_payment_done>>
spicevendor_payment_done
group: spicevendor
actor: ADULT_F
tags: noRepeatLastLine
---
I put your items on the table. Thanks! #shadow:0567082
Goodbye! #shadow:goodbye
Thanks! #shadow:thanks
Have a nice day! #shadow:nice_day
<<SetActive Collect_Spicevendor>>
talk_dont_understand
// ----------------------------------------------
// GENERIC DETOURS
tags: detour
color: orange
---
Sorry, I don't understand... #line:0f9044b
What? #line:09682b7
Huh? #line:0c1b3e0
talk_dont_sell
tags: detour
color: orange
---
Sorry, I don't sell that. #line:08700b0
hard_payment_done
tags: detour
color: orange
---
Try talking to the other vendors too. #line:06ae965
item_flour
// ----------------------------------------------
// ITEMS TO COLLECT
color: yellow
actor:
tags: item
---
<<card food_bread>>
Flour #line:08e101e
<<collect>>
item_honey
color: yellow
actor:
tags: item
---
<<card food_honey>>
Honey #line:0817d3c
<<collect>>
item_sugar
color: yellow
actor:
tags: item
---
<<card food_sugar>>
Sugar #line:05ad31e
<<collect>>
item_butter
color: yellow
---
<<card food_butter>>
Butter #line:0a8a8cc
<<collect>>
item_egg
color: yellow
actor:
---
<<card food_egg>>
Egg #line:00ab8e2
<<collect>>
item_cinnamon
color: yellow
tags: item
---
<<card food_cinnamon>>
Cinnamon #line:0f00ddd
<<collect>>
item_ginger
color: yellow
actor:
tags: item
---
<<card food_ginger>>
Ginger #line:08049d5
<<collect>>
door_castle
// ----------------------------------------------
// PIEROGI
type:
---
The door is locked. #line:042ecfc
npc_castle
actor:
tags: noRepeatLastLine
---
Hallo. What do you want? #line:0f11caf
I want to enter the Old Town Hall. #line:0449db3
<<if $gingerbread_done == true>>
<<trigger open_door_castle>>
<<area area_castle>>
Please, come in! There is someone waiting for you. #line:0716b5d
<<target npc_pierogi>>
<<SetInteractable door_castle false>>
<<else>>
The Old Town Hall is closed to visitors. #line:096470a
<<endif>>
Just looking around. #line:09a9858
Alright, have a nice day. #line:09ee9bf
npc_pierogi
group: cook
actor: ADULT_M
tags: noRepeatLastLine
---
<<if HasCompletedTask("clean_castle")>>
Thank you for cleaning up! Now we can start the Pierogi Festival! #line:07e852b
<<card pierogi>>
Have you ever tried PIEROGI? #line:0da391b
Yes #line:08ac4ff
It's delicious. Isn't it? #line:040912f
No #line:0cb270e
It’s a special dumpling filled with yummy stuff like cheese or potatoes. #line:09da259
<<card_hide>>
<<camera_focus camera_tower>>
I saw that big blue dog going up the stairs! #line:0ee5d9b
Go find Antura! #line:09877a9
I turned on the elevator for you. #line:0f5e348
<<camera_reset>>
<<SetInteractable tower_lever true>>
<<task_start climb_the_tower antura_tower>>
<<else>>
Hi. We want to open the Pierogi Festival #line:09c418a
<<camera_focus camera_trash>>
But that big blue dog made a mess in the hall. #line:067cefa
Can you help us clean the Hall? #line:003385d
<<camera_reset>>
<<area area_full>>
<<SetActive antura_hall false>>
<<task_start clean_castle task_clean_done>>
<<endif>>
task_clean_done
---
Well done! Go back to the chef. #line:08e9b5f
<<target npc_pierogi>>
antura_tower
---
You have found Antura! #line:0307b40
<<jump quest_end>>
spawned_kid
///////// 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
group: Spawned
actor: KID_F
---
I love sweet GINGERBREAD! #line:087d4b0
I like the OLD MARKET! #line:0090fb8
spawned_tourist
group: Spawned
actor: ADULT_M
---
The Old HALL looks great. #line:041418b
Today I will taste PIEROGI. #line:068a9a7
Torun is really beautiful! #line:08bc7dd
The market is so lively! #line:0d92388
spawned_buyer
color: purple
actor:
spawn_group: buyers
---
I need to buy some fresh ingredients. #line:0baa74d
The market has the best produce. #line:042c6f0
Fresh fish is the best! #line:01269c6
I can't wait to cook a delicious meal! #line:0fc5cd3
spawned_currency
color: purple
actor:
spawn_group: tourists
---
One Zloty is 100 groszy. #line:0e6c526 #card:currency_zloty
Zlotys have different sizes for each value. #line:021819a #card:currency_zloty
spawned_jobs
color: purple
actor:
spawn_group: buyers
---
A baker bakes bread. #line:0606dc5 #card:person_baker
A spice vendor sells spices and herbs. #line:0ca5a9b #card:person_spicevendor
A cheesemonger sells cheese and milk. #line:0b5b1c5 #card:person_cheesemonger
A greengrocer sells fruits and veggies. #line:03b9a2e #card:person_greengrocer