From f83bca5b82345bb614d82c8bee5215e4f047e2b3 Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Thu, 4 Feb 2021 22:30:52 -0500 Subject: [PATCH] Add some flavor for passfail slaves in newSlaveIntro --- src/npc/generate/newSlaveIntro.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/npc/generate/newSlaveIntro.js b/src/npc/generate/newSlaveIntro.js index 5812e32fb3e..4eb88912263 100644 --- a/src/npc/generate/newSlaveIntro.js +++ b/src/npc/generate/newSlaveIntro.js @@ -536,7 +536,12 @@ App.UI.newSlaveIntro = function(slave, slave2, {tankBorn = false, momInterest = } if (V.arcologies[0].FSSupremacist >= 50) { - if (slave.race === V.arcologies[0].FSSupremacistRace) { + if (slave.origin === "You sentenced $him to enslavement as a punishment for defying local racial segregation laws.") { + if (slave.race === V.arcologies[0].FSSupremacistRace) { + r.push(`${He} <span class="gold">rightfully fears for ${his} safety</span> now that you know that ${he} is a ${slave.origRace} merely pretending to be your arcology's favored race.`); + slave.trust -= 10; + } + } else if (slave.race === V.arcologies[0].FSSupremacistRace) { r.push(`${He} realizes that ${he}'s a member of the favored race in your arcology, and <span class="mediumaquamarine">hopes</span> this will earn ${him} good treatment.`); slave.trust += 2; } else { @@ -546,7 +551,12 @@ App.UI.newSlaveIntro = function(slave, slave2, {tankBorn = false, momInterest = } if (V.arcologies[0].FSSubjugationist >= 50) { - if (slave.race !== V.arcologies[0].FSSubjugationistRace) { + if (slave.origin === "You sentenced $him to enslavement as a punishment for defying local racial segregation laws.") { + if (slave.origRace === V.arcologies[0].FSSubjugationistRace) { + r.push(`${He} <span class="gold">rightfully fears for ${his} future</span> now that you know that ${he} is a subhuman ${slave.origRace} with the gall to pretend otherwise.`); + slave.trust -= 10; + } + } else if (slave.race !== V.arcologies[0].FSSubjugationistRace) { r.push(`${He} realizes that ${he}'s not one of the people considered subhuman here, and <span class="mediumaquamarine">hopes</span> this will allow ${him} to avoid some abuse.`); slave.trust += 2; } else { -- GitLab