The Marseille market (fr_09) - 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
// fr_09 | Food & Market (Marseille)
//
tags:
type: panel
color: red
actor: NARRATOR
---
// <<if $DEBUG>>
// <<jump task_ingredients>>
// <<endif>>
<<declare $baker_completed = false>>
<<declare $cheesemonger_completed = false>>
<<declare $fishmonger_completed = false>>
<<declare $greengrocer_completed = false>>
<<declare $grocer_completed = false>>
<<declare $pirate_completed = false>>
Welcome to the city of Marseille. #line:078e646
Marseille is a city located on the Mediterranean coast, in the South of France. #line:008924f
Today, you're going to explore the market. You're going to buy ingredients to prepare a traditional Marseille dish. The Bouillabaisse, a fish soup. #line:0462dca
<<target npc_chef>>
quest_end
color: green
type: panel_endgame
actor: NARRATOR
---
Well done! You managed to buy all the ingredients for the chef! #line:0f5c958
<<jump quest_proposal>>
quest_proposal
color: green
type: panel
tags: proposal
actor: NARRATOR
---
What is your favourite food? #line:01f78ed
<<quest_end>>
chef
group: chef
color: blue
tags:
---
<<if GetCollectedItem("COLLECT_THE_INGREDIENTS") >= 9>>
<<jump chef_ingredients_done>>
<<elseif GetCollectedItem("COLLECT_THE_INGREDIENTS") > 0 >>
<<jump chef_not_enough>>
<<else>>
<<jump chef_welcome>>
<<endif>>
chef_welcome
group: chef
actor: ADULT_M
---
Hello! Welcome to the city of Marseille. You're going to the market. You're going to buy ingredients to prepare a bouillabaisse. Bouillabaisse is a traditional fish soup. #line:02548dd
<<card bouillabaisse>>
I want to prepare a traditional dish from Marseille for you. A bouillabaisse! #line:0c65de3
But I need your help to go buy the ingredients. #line:0623733
<<jump task_ingredients>>
task_ingredients
group: chef
color: green
tags: task
---
Go to the market and bring me back the ingredients to prepare a bouillabaisse. #line:06602c6
<<detour task_ingredients_desc>>
<<task_start COLLECT_THE_INGREDIENTS task_ingredients_done>>
Say "hello" to the market vendors. #line:02819db
Say "goodbye" when you have finished shopping. #line:04c9d69
Don't forget to say "thank you" to the shopkeepers. #line:022fd8f
<<area area_full>>
task_ingredients_desc
type: task
---
Collect all the ingredients for the recipe. #line:00849bb #task:COLLECT_THE_INGREDIENTS
Some bread #line:0e3c40e
A fish #line:0c4ae56
An orange #line:01e73d1
A lemon #line:0ef3a69
A tomato #line:0d6f051
Some milk #line:0dbb71c
Olive oil #line:0710b9c
Pepper and salt #line:08ad40e
<<card_hide>>
chef_not_enough
group: chef
tags: task
---
I need more ingredients! #line:0c5c6ac
Go see all the vendors at the market. #line:0060c01
And take the ingredients you buy. #line:0ea58f3
task_ingredients_done
group: chef
type: panel
---
<<target npc_chef>>
Great! You got all the ingredients. #line:0316106
Go back and watch the chef cook. #line:05398f2 #task:go_back_chef
<<task_start go_back_chef>>
chef_ingredients_done
group: chef
actor: ADULT_M
---
Well done! You managed to buy all the ingredients. #line:0257fc7
Some bread #shadow:0e3c40e
<<inventory food_bread remove>>
A fish #shadow:0c4ae56
<<inventory food_fish remove>>
Crab #shadow:0c81979
<<inventory food_crab remove>>
An orange #shadow:01e73d1
<<inventory food_orange remove>>
A lemon #shadow:0ef3a69
<<inventory food_lemon remove>>
A tomato #shadow:0d6f051
<<inventory food_tomato remove>>
Some milk #shadow:0dbb71c
<<inventory food_milk remove>>
Olive oil #shadow:0710b9c
<<inventory food_olive_oil remove>>
Pepper and salt #shadow:08ad40e
<<inventory food_pepper_salt remove>>
<<card_hide>>
You greeted everyone with "hello". You thanked all the shopkeepers with "thank you". #line:0112e25
Now, let's prepare the boullabaise recipe together! #line:0051174
<<jump activity_match_ingredients>>
activity_match_ingredients
group: chef
tags: activity
color: purple
---
Match each food item to its seller. #line:0a6e106
<<activity match_ingredients activity_match_done>>
activity_match_done
group: chef
---
<<if GetActivityResult("match_ingredients") > 0>>
Well done! You managed to match each food item with its vendor. #line:01648b2
<<card bouillabaisse>>
Now, I'm going to prepare the fish soup: bouillabaisse! #line:0f0f617
<<jump quest_end>>
<<else>>
That's not correct. Try again! #line:007427a
<<jump activity_match_ingredients>>
<<endif>>
baker
group: baker
actor: ADULT_F
tags: noRepeatLastLine
color: blue
---
<<if GetActivityResult("money_baker") > 0>>
You already bought bread from me! #line:023d379
Do you want to play again? #line:play_again
-> Yes #line:yes
<<activity hard_money_baker hard_payment_done>>
-> No #line:no
<<else>>
-> Bonjour! #line:09460ce
<<jump baker_bonjour>>
-> Merci! #line:0bf3f32
<<jump talk_dont_understand>>
-> Banana! #line:0ebf8b2
<<jump talk_dont_understand>>
<<endif>>
baker_bonjour
group: baker
actor: ADULT_F
---
<<card person_baker>>
Hello! I'm a baker. I sell bread and cakes. #line:0c6f41f
Every day, I get up early to bake bread, prepare cakes and croissants. #line:0f6e48a
<<jump baker_question>>
baker_question
group: baker
actor: ADULT_F
tags: type=Choice
---
What do you want to buy? #line:00279c8
-> Bread #line:00eab87
<<jump baker_pay_activity>>
-> Fish and crab #line:08177a5
<<jump talk_dont_sell>>
-> Tomatoes, oranges and lemons #line:0a8294a
<<jump talk_dont_sell>>
-> Salt, pepper, and oil #line:0babba5
<<jump talk_dont_sell>>
baker_pay_activity
group: baker
actor: ADULT_F
color: purple
---
You now need to pay for your purchases. #line:0bbf963
<<activity money_baker baker_payment_done>>
baker_payment_done
group: baker
tags:
actor: ADULT_F
---
<<if GetActivityResult("money_baker") > 0>>
I've put your purchases on the table next to you. Help yourself! #line:0567082
-> Merci! #line:00da30a
-> Au revoir! #line:00cbd60
-> Bonne journée! #line:00cd1cf
<<SetActive Collect_Baker>>
<<else>>
Do you want to play again? #shadow:play_again
-> Yes #shadow:yes
<<jump baker_pay_activity>>
-> No #shadow:no
<<endif>>
fisher
color: blue
group: fisher
tags: noRepeatLastLine
actor: SENIOR_M
---
<<if GetActivityResult("money_fishmonger") > 0>>
You've already bought the fish! #line:044d973
Do you want to play again? #shadow:play_again
-> Yes #shadow:yes
<<activity hard_money_fishmonger hard_payment_done>>
-> No #shadow:no
<<else>>
-> Lycée! #line:0d65316
<<jump talk_dont_understand>>
-> Bonjour! #line:089f618
<<jump fisher_bonjour>>
-> Au revoir! #line:06b0535
<<jump talk_dont_understand>>
<<endif>>
fisher_bonjour
group: fisher
actor: SENIOR_M
---
<<card person_fishmonger>>
Good morning! I'm a fishmonger and I sell fish and crabs. #line:04b4a87
You now need to pay for your purchases. #line:0aa9ce7
<<jump fisher_question>>
fisher_question
group: fisher
actor: SENIOR_M
---
What do you want to buy? #line:04deddc
-> Fish and crab #line:0e562df
<<jump fisher_pay_activity>>
-> Tomatoes, oranges and lemons #line:085463e
<<jump talk_dont_sell>>
-> Bread #line:0604902
<<jump talk_dont_sell>>
-> Milk #line:0c5f144
<<jump talk_dont_sell>>
fisher_pay_activity
group: fisher
actor: SENIOR_M
color: purple
---
You now need to pay for your purchases. #line:0995020
<<activity money_fishmonger fisher_payment_done>>
fisher_payment_done
group: fisher
tags:
actor: SENIOR_M
---
<<if GetActivityResult("money_fishmonger") > 0>>
I've put your purchases on the table next to you. Help yourself! #shadow:0567082
-> Au revoir! #line:02e64ff
-> Merci! #line:02c23e5
-> Bonne journée! #line:080d945
<<SetActive Collect_Fisherman>>
<<else>>
Do you want to play again? #shadow:play_again
-> Yes #shadow:yes
<<jump fisher_pay_activity>>
-> No #shadow:no
<<endif>>
cheesemonger
color: blue
group: cheesemonger
actor: ADULT_F
tags: noRepeatLastLine
---
<<if GetActivityResult("money_cheesemonger") > 0>>
You've already bought the milk! #line:090b5cc
Do you want to play again? #shadow:play_again
-> Yes #shadow:yes
<<activity hard_money_cheesemonger hard_payment_done>>
-> No #shadow:no
<<else>>
-> Merci! #line:0693ba6
<<jump talk_dont_understand>>
-> Bonjour! #line:022bf02
<<jump cheesemonger_bonjour>>
-> Chat! #line:0b56a4d
<<jump talk_dont_understand>>
<<endif>>
cheesemonger_question
group: cheesemonger
actor: ADULT_F
---
What do you want to buy? #line:03009de
-> Milk #line:0aa7def
<<jump cheesemonger_pay_activity>>
-> Salt, Pepper, and Oil #line:057f694
<<jump talk_dont_sell>>
-> Bread #line:087919f
<<jump talk_dont_sell>>
-> Tomatoes, Oranges, and Lemons #line:067bfab
<<jump talk_dont_sell>>
cheesemonger_pay_activity
group:cheesemonger
actor: ADULT_F
color: purple
---
You now need to pay for your purchases. #line:0f44ea7
<<activity money_cheesemonger cheesemonger_payment_done>>
cheesemonger_payment_done
group:cheesemonger
actor: ADULT_F
tags:
---
<<if GetActivityResult("money_cheesemonger") > 0>>
I've put your purchases on the table next to you. Help yourself! #shadow:0567082
-> Bonne journée! #line:0dd3ac3
-> Au revoir! #line:02a1238
-> Merci! #line:0273de1
<<SetActive Collect_Cheesemonger>>
<<else>>
Do you want to play again? #shadow:play_again
-> Yes #shadow:yes
<<jump cheesemonger_pay_activity>>
-> No #shadow:no
<<endif>>
cheesemonger_bonjour
group: cheesemonger
actor: ADULT_F
---
Hello! I am a cheesemaker. I sell products made with milk. #line:09eb222
I sell yogurt, cheese, butter, and milk. #line:02f4bc9
<<card person_cheesemonger>>
<<jump cheesemonger_question>>
greengrocer
color: blue
group: greengrocer
actor: ADULT_F
tags: noRepeatLastLine
---
<<if GetActivityResult("money_greengrocer") > 0>>
You've already bought the fruit! #line:0755f3c
Do you want to play again? #shadow:play_again
-> Yes #shadow:yes
<<activity hard_money_greengrocer hard_payment_done>>
-> No #shadow:no
<<else>>
hello #line:00ee67d
-> Merci! #line:0a43c28
<<detour talk_dont_understand>>
-> Train! #line:02af86a
<<detour talk_dont_understand>>
-> Bonjour! #line:0039ce8
<<jump greengrocer_bonjour>>
<<endif>>
greengrocer_bonjour
group: greengrocer
actor: ADULT_F
---
<<card person_greengrocer>>
Hello! I am a fruit and vegetable vendor. #line:041ade1
I sell vegetables like lettuce, tomatoes, and carrots. I sell fruits like lemons, apples, and bananas. #line:0969b87
<<jump greengrocer_question>>
greengrocer_pay_activity
group: greengrocer
actor: ADULT_F
color: purple
---
You now need to pay for your purchases. #line:08fc94e
<<activity money_greengrocer greengrocer_payment_done>>
greengrocer_payment_done
group: greengrocer
actor: ADULT_F
tags:
---
<<if GetActivityResult("money_greengrocer") > 0>>
I've put your purchases on the table next to you. Help yourself! #shadow:0567082
-> Bonne journée! #line:0ff9361
-> Merci! #line:0741be3
-> Au revoir! #line:023f352
<<SetActive Collect_Greengrocer>>
<<else>>
Do you want to play again? #shadow:play_again
-> Yes #shadow:yes
<<jump greengrocer_pay_activity>>
-> No #shadow:no
<<endif>>
greengrocer_question
group: greengrocer
actor: ADULT_F
---
What do you want to buy? #line:042eb5a
-> Fish and Crab #line:0fead1d
<<jump talk_dont_sell>>
-> Bread #line:0879f58
<<jump talk_dont_sell>>
-> Tomatoes, Oranges, and Lemons #line:015a2b4
<<jump greengrocer_pay_activity>>
-> Milk #line:0fd3f3a
<<jump talk_dont_sell>>
grocer
group: grocer
actor: SENIOR_F
tags: noRepeatLastLine
color: blue
---
<<if GetActivityResult("money_grocer") > 0>>
You've already bought products from me! #line:0348f3c
Do you want to play again? #shadow:play_again
-> Yes #shadow:yes
<<activity hard_money_grocer hard_payment_done>>
-> No #shadow:no
<<else>>
-> Merci! #line:0dd992c
<<jump talk_dont_understand>>
-> Bonjour! #line:0623f71
<<jump grocer_bonjour>>
-> Livre! #line:0b4db3b
<<jump talk_dont_understand>>
<<endif>>
grocer_bonjour
group: grocer
actor: SENIOR_F
---
<<card person_grocer>>
Hello! I'm a grocer. I sell spices like salt and pepper. But I also sell other ingredients like flour and sugar. #line:0ffbfa4
You can use my items for many recipes. #line:0c6a554
<<jump grocer_question>>
grocer_pay_activity
group: grocer
actor: SENIOR_F
color: purple
---
You now need to pay for your purchases. #line:0c80f9e
<<activity money_grocer grocer_payment_done>>
grocer_payment_done
group: grocer
actor: SENIOR_F
tags:
---
<<if GetActivityResult("money_grocer") > 0>>
I've put your purchases on the table next to you. Help yourself! #shadow:0567082
-> Au revoir! #line:0ce6f8a
-> Merci! #line:0e8ec1b
-> Bonne journée! #line:062029a
<<SetActive Collect_Grocer>>
<<else>>
Do you want to play again? #shadow:play_again
-> Yes #shadow:yes
<<jump grocer_pay_activity>>
-> No #shadow:no
<<endif>>
grocer_question
group: grocer
actor: SENIOR_F
---
What do you want to buy? #line:0c36100
-> Tomatoes, Oranges, and Lemons #line:0d6dabd
<<jump talk_dont_sell>>
-> Bread #line:03eeda4
<<jump talk_dont_sell>>
-> Milk #line:097fca2
<<jump talk_dont_sell>>
-> Salt, Pepper, and Oil #line:0068f15
<<jump grocer_pay_activity>>
pirate
group: pirates
actor: SENIOR_M
tags:
---
<<if $pirate_completed>>
Come on, come on! I need to prepare for my next trip. #line:04a0605
<<else>>
Ahoy! Welcome aboard. #line:04ee922
<<card pirates>>
We are pirates. #line:056c70d
Pirates have large ships to cross the seas and oceans. #line:0f764a6
Do you want to play a game? #line:022f719
-> Yes #shadow:yes
<<jump pirate_activity>>
-> No #shadow:no
Good luck to you! #line:0d078d6
<<endif>>
pirate_activity
group: pirates
actor: SENIOR_M
color: purple
---
Complete the image. #line:08396f2
<<activity jigsaw_pirate activity_pirate_done>>
activity_pirate_done
group: pirates
actor: SENIOR_M
tags:
---
<<if GetActivityResult("jigsaw_pirate") > 0>>
Well done, matey! You completed the puzzle. #line:07e3282
Long ago, pirates searched for treasure. #line:0af3bba
The pirates also attacked other ships. They stole items and jewelry from the ships. #line:0b61715
You have to pay for your groceries. #line:0209784
so the shops can stay open! #line:02c49d0
Take my treasure as a reward. #line:092a215
<<set $pirate_completed = true>>
<<trigger pirate_chest_lid>>
<<SetInteractable pirate_chest false>>
<<SetActive pirate_cookie true>>
<<else>>
Ahoy! You didn't complete the puzzle. #line:00ec06f
<<endif>>
pirate_chest
group: pirates
---
<<if $pirate_completed == false>>
The pirate's chest is locked. #line:79f813e5
<<endif>>
talk_dont_understand
tags: detour
color: orange
---
Sorry, I don't think I 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
---
Go see the other sellers! #line:06ae965
item_bread
color: yellow
actor:
tags: item
---
<<card food_bread>>
Bread #line:08e101e
<<collect>>
<<inventory food_bread add>>
item_fish
color: yellow
actor:
tags: item
---
<<card food_fish>>
Fish #line:0feed79
<<collect>>
<<inventory food_fish add>>
item_crab
color: yellow
actor:
tags: item
---
<<card food_crab>>
Crab #line:0c81979
<<collect>>
<<inventory food_crab add>>
item_orange
color: yellow
tags: item
---
<<card food_orange>>
Orange #line:0c0fa04
<<collect>>
<<inventory food_orange add>>
item_lemon
color: yellow
tags: item
---
<<card food_lemon>>
Lemon #line:0c6b991
<<collect>>
<<inventory food_lemon add>>
item_tomato
color: yellow
tags: item
---
<<card food_tomato>>
Tomato #line:0a6782d
<<collect>>
<<inventory food_tomato add>>
item_milk
color: yellow
tags: item
---
<<card food_milk>>
Milk #line:0acd781
<<collect>>
<<inventory food_milk add>>
item_pepper_salt
color: yellow
tags: item
---
<<card food_pepper_salt>>
Salt and Pepper #line:07bbcb0
<<collect>>
<<inventory food_pepper_salt add>>
item_oil
color: yellow
tags: item
---
<<card food_olive_oil>>
Olive oil #line:0156410
<<collect>>
<<inventory food_olive_oil add>>
spawned_tourist
///////// 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
color: purple
actor:
spawn_group: tourists
---
Hello! I'm visiting the city of Marseille. #line:00a142a
The food here is amazing! #line:0374dff
I love the sea! #line:0980627
It's very pleasant to do your shopping at the market! #line:0d92388
The bouillabaisse is my favorite dish! #line:07c080f
spawned_buyer
color: purple
actor:
spawn_group: buyers
---
I need to buy some fresh ingredients. #line:0baa74d
You can find good products at the market. #line:042c6f0
The fish is delicious. #line:01269c6
I'm looking forward to cooking a delicious meal. #line:0fc5cd3
spawned_currency
color: purple
actor:
spawn_group: tourists
---
In France and Europe, the currency is called the euro. There are coins and banknotes. #line:0e6c526 #card:currency_euro
You gave the right amount of money. Well done! #line:07a5934 #card:currency_euro
You can pay with coins and bills. But you can also pay with a bank card. #line:021819a #card:currency_euro
spawned_recipe
color: purple
actor:
spawn_group: buyers
---
Boullabaise soup contains many fish. #line:0b6981c #card:bouillabaisse
The tomato is delicious. #line:0477851 #card:food_tomato
Olive oil adds flavor to the dish. #line:060644d #card:food_olive_oil
Sometimes we eat bread with the soup. #line:04e69ac #card:food_bread
spawned_jobs
color: purple
actor:
spawn_group: buyers
---
A baker bakes bread. He also prepares croissants and cakes. #line:0606dc5 #card:person_baker
A fishmonger sells fish and crab. #line:0ca5a9b #card:person_fishmonger
A cheesemonger sells products made with milk. #line:0b5b1c5 #card:person_cheesemonger
A greengrocer sells fruits and veggies. #line:03b9a2e #card:person_greengrocer