From cea0d8c53a21b2824afe89d0d0781e01282c5c65 Mon Sep 17 00:00:00 2001 From: Eric Fredricksen Date: Sat, 8 Jan 2022 16:16:36 -0800 Subject: [PATCH] Fix the same textual errors in cinematics that were fixed in the Windows version --- config.js | 5 ++++- main.js | 11 +++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/config.js b/config.js index a438080..425099f 100644 --- a/config.js +++ b/config.js @@ -1004,5 +1004,8 @@ K.ImpressiveTitles = [ "Princess", "Chief", "Boss", - "Archbishop"]; + "Archbishop", + "Chancellor", + "Baroness", + "Inquistor"]; diff --git a/main.js b/main.js index 1bc40f5..459caf1 100644 --- a/main.js +++ b/main.js @@ -161,12 +161,12 @@ function InterplotCinematic() { break; case 2: var nemesis2 = ImpressiveGuy(); - Q("task|2|Oh sweet relief! You've reached the protection of the good " + nemesis2); + Q("task|2|Oh sweet relief! You've reached the kind protection of " + nemesis2); Q('task|3|There is rejoicing, and an unnerving encouter with ' + nemesis2 + ' in private'); Q('task|2|You forget your ' + BoringItem() + ' and go back to get it'); Q("task|2|What's this!? You overhear something shocking!"); Q('task|2|Could ' + nemesis2 + ' be a dirty double-dealer?'); - Q('task|3|Who can possibly be trusted with this news!? ... Oh yes, of course'); + Q('task|3|Who can possibly be trusted with this news!? -- Oh yes, of course'); break; } Q('plot|1|Loading'); @@ -195,8 +195,11 @@ function NamedMonster(level) { } function ImpressiveGuy() { - return Pick(K.ImpressiveTitles) + - (Random(2) ? ' of the ' + Pick(K.Races) : ' of ' + GenerateName()); + if (Random(2)) { + return 'the ' + Pick(K.ImpressiveTitles) + ' of the ' + Plural(Split(Pick(K.Races), 0)); + } else { + return Pick(K.ImpressiveTitles) + ' ' + GenerateName() + ' of ' + GenerateName(); + } } function MonsterTask(level) {