Prepare to handle discussions in story

This commit is contained in:
Matteo Settenvini 2024-09-01 23:42:25 +02:00
parent 7eec6ce4da
commit 5bc5faa6ef
Signed by: matteo
GPG key ID: 1C1B12600D81DE05
15 changed files with 433 additions and 58 deletions

View file

@ -1,5 +1,7 @@
# author: Matteo Settenvini
// Manual: https://github.com/inkle/ink/blob/master/Documentation/WritingWithInk.md
VAR stat_assertiveness = 0
VAR stat_empathy = 0
@ -13,17 +15,28 @@ This is a work of fiction. Names, characters, businesses, places, events, locale
=== intro ===
The alarm clock rings hell's bells.
The alarm clock tolls like hell's bells.
* Be nice. -> ending
~ stat_empathy++
* Be naughty. -> ending
C'mon. # CLASS: strong
Rise and shine.
I don't want to hear it! # CLASS: talker-paul
Don't you, now. # CLASS: talker-mary
* [Be nice.]
~ stat_empathy++
-> ending
* [Be naughty.]
-> ending
=== ending ===
You have reached the end.
{ print_stat("{~empathy|love}", stat_empathy) }
{ print_stat("assertiveness", stat_assertiveness) }
-> END
@ -31,7 +44,7 @@ You have reached the end.
=== function print_stat(name, stat) ====
You {~have used|decided to employ} the power of {name} {print_num(stat)} time{stat != 1:s}.
You {~have used|decided to employ|went to use} the power of {name} {print_num(stat)} time{stat != 1:s}.
=== function print_num(x) ===