From 93c7969f550a01e89cc75019c80f8b77446dd6f1 Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Wed, 3 Mar 2021 16:47:20 -0500 Subject: [PATCH] virginity check tweak --- src/events/reArcologyInspection.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/events/reArcologyInspection.js b/src/events/reArcologyInspection.js index b4c4a2f56bd..1209b58b99b 100644 --- a/src/events/reArcologyInspection.js +++ b/src/events/reArcologyInspection.js @@ -443,8 +443,15 @@ App.Events.REArcologyInspection = class REArcologyInspection extends App.Events. } function virginityWarning() { - if (agent && (agent.vagina === 0 || agent.anus === 0)) { - return `This option may take a virginity`; + const virgins = []; + if (agent && (agent.vagina === 0 || agent.anus == 0)) { + virgins.push(agent.slaveName); + } + if (agentLover && (agentLover.vagina === 0 || agentLover.anus == 0)) { + virgins.push(agentLover.slaveName); + } + if (virgins.length > 0) { + return `This option may take ${toSentence(virgins)}'s virginity.` } return null; } -- GitLab