Part 8 - Achievements
[Understand "score" as a mistake ("There is no score in this game. Try requesting for your ACHIEVEMENTS to see what you earned.").]
Understand the command "score" as something new.
Table of Tasks Achieved
Pos | Title (indexed text) | Explanation (indexed text) | Earned (number) |
1 | "Hell of a Storm" | "You watched the sky turn dark" | a value |
2 | "A Dark Omen" | "You have seen the dark side of the sky" | |
3 | "Impossible Mission" | "You fell like in the [']80s" | |
4 | "The Leaper" | "You have jumped through the void" | |
5 | "Invisible Killer" | "You have been devoured alive" | |
6 | "Titanic" | "You lost against ice" | |
7 | "The Dweller" | "You have reached the bottom" | |
8 | "To Shed a Light" | "You have turned the lights on" | |
9 | "Ticketless Ride" | "You have taken the train" | |
10 | "The Fisher" | "You have seen the fish" | |
11 | "The X Marks the Spot" | "You have crossed over" | |
12 | "Play It Again, Ektor" | "You have played a record" | |
13 | "Communication Breakdown" | "You know how to have people listen to you" | |
14 | "A Space Odyssey" | "You have been jettisoned" | |
15 | "A Matter of Time" | "You know how old the Arcadia is" | |
16 | "A Matter of Size" | "You know how big the Arcadia is" | |
17 | "Archaeologist" | "You know about the ancient tablets" | |
18 | "Cuboctahedron" | "You know geometry" | |
19 | "Flying the Egg" | "You took a cab" | |
20 | "To Be a Scientist" | "You found your calling" | |
21 | "Sinking the Ship" | "You started the last journey" | |
22 | "Rogue of the Universe" | "You fought shieldless [bracket]and lost[close bracket]" | |
23 | "The Shining" | "You have charged the bar" | |
24 | "Slow Digestion" | "You have been swallowed whole" | |
25 | "Hellen Ripley" | "You have killed the alien with a trick" | |
26 | "Indiana Jones" | "You have killed the alien with a stunt" | |
27 | "Lynnea Rinors" | "You have tricked the author [bracket]but not the alien[close bracket]" | |
28 | "Fatboy" | "You explode due to lack of pressure" | |
29 | "The Saviour" | "You have a complete backup" | |
30 | "Sequence Comple--" | "You missed the end of the show" | |
31 | "Survivor" | "You have escaped the supernova" | |
32 | "Gettare Rinors" | "You have escaped the supernova at the very last second" |
Table of Held Achievements
stored (number) |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
To record (T - text) as achieved:
choose row with a Title of T in the Table of Tasks Achieved;
if there is no earned entry:
now the earned entry is 1;
say "[paragraph break][bracket]You have earned the [bold type][Title entry][roman type] achievement[close bracket][paragraph break]";
Let L be the Pos entry;
choose row L in the Table of Held Achievements;
now the stored entry is 1;
write File of AAFILE from the Table of Held Achievements.
Requesting the achievements is an action out of world. Understand "achievements", "achiev", "achi", "full", "full score", "fullscore", "score" as requesting the achievements.
Carry out requesting the achievements:
say "[Achievements_list]".
To say Achievements_list:
say "Achievements for Andromeda Apocalypse:[paragraph break]";
repeat through the Table of Tasks Achieved:
if there is an earned entry:
say "[bold type][title entry][roman type] [italic type]([explanation entry])[roman type][line break]";
else:
say "[title entry] [italic type]( -???- )[roman type][line break]".
Check requesting the achievements:
if File of AAFILE exists:
read File of AAFILE into the Table of Held Achievements;
repeat through the Table of Tasks Achieved:
if there is no earned entry:
Let C be the Pos entry;
choose row C in the Table of Held Achievements;
if the stored entry is 1:
choose row C in the Table of Tasks Achieved;
now earned entry is 1;
continue the action.
[Instead of jumping for the first time, record "Crank" as achieved.
Instead of sleeping for the first time, record "Milo" as achieved.]