Skip to content
Snippets Groups Projects
Commit ff43e2ac authored by Jonas Zohren's avatar Jonas Zohren :speech_balloon:
Browse files

Slightly improved Hans dialog

parent b32712dd
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@
]
},
"firstContact": {
"text": "Oh, nett dass sie fragen, haben sie schon einmal darüber nachgedacht, bei den Alumni Mitglied zu werden? ",
"text": "Oh, nett dass sie fragen. Ich habe hier mein Büro.\nHaben sie schon einmal darüber nachgedacht, bei den Alumni Mitglied zu werden? ",
"options": [
{
"text": "Nein, darf ich fragen, wer sie sind?",
......@@ -54,6 +54,16 @@
"options": [
{
"text": "Später vielleicht",
"linksToDialog": "declineToBecomeAlumniMember"
}
]
},
"declineToBecomeAlumniMember": {
"text": "Na gut, aber wenn sie es sich doch noch anders überlegen, melden sie sich gerne bei mir.",
"addFacts": ["hans/madeFirstContact"],
"options": [
{
"text": "Versprochen.",
"linksToDialog": "start"
}
]
......
......@@ -28,7 +28,7 @@
.flat();
// Deduplicate entries
const factsSet = new Set(allFacts);
return [...factsSet].filter(e => e !== undefined);
return [...factsSet].filter((e) => e !== undefined);
}
let seenFactIds = new Set<String>([
......@@ -93,7 +93,9 @@
addFactInputValue = "";
}}>Add</button
>
<button style="width: 13rem;" on:click={() => gameFactsStore.set([])}>Reset facts</button>
<button style="width: 13rem;" on:click={() => gameFactsStore.set([])}
>Reset facts</button
>
</div>
<style>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment