From f53bb63727dd70686a804c8e3f737c5f86cb919c Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Thu, 1 Jul 2021 00:14:01 -0400 Subject: [PATCH] add some of events general checks --- src/events/RE/reLegendaryBalls.js | 4 ++++ src/events/RE/reLegendaryCow.js | 4 ++++ src/events/RE/reLegendaryEntertainer.js | 4 ++++ src/events/RE/reLegendaryFormerAbolitionist.js | 4 ++++ src/events/RE/reLegendaryWhore.js | 4 ++++ src/events/RE/reLegendaryWomb.js | 5 ++++- 6 files changed, 24 insertions(+), 1 deletion(-) diff --git a/src/events/RE/reLegendaryBalls.js b/src/events/RE/reLegendaryBalls.js index aebb3495e41..5775686a99b 100644 --- a/src/events/RE/reLegendaryBalls.js +++ b/src/events/RE/reLegendaryBalls.js @@ -1,6 +1,10 @@ App.Events.RELegendaryBalls = class RELegendaryBalls extends App.Events.BaseEvent { actorPrerequisites() { return [[ + (s) => s.fetish !== "mindbroken", + hasAnyArms, + hasAnyLegs, + canTalk, (s) => s.devotion > 50, (s) => s.prestige === 0, (s) => (s.balls > 5 || (s.balls > 4 && s.prostate > 1)), diff --git a/src/events/RE/reLegendaryCow.js b/src/events/RE/reLegendaryCow.js index 8c76db6cad4..68a0b33ad89 100644 --- a/src/events/RE/reLegendaryCow.js +++ b/src/events/RE/reLegendaryCow.js @@ -1,6 +1,10 @@ App.Events.RELegendaryCow = class RELegendaryCow extends App.Events.BaseEvent { actorPrerequisites() { return [[ + (s) => s.fetish !== "mindbroken", + hasAnyArms, + hasAnyLegs, + canTalk, (s) => s.devotion > 50, (s) => s.prestige === 0, (s) => s.lactation > 0, diff --git a/src/events/RE/reLegendaryEntertainer.js b/src/events/RE/reLegendaryEntertainer.js index d7ebbae206d..48abae9b091 100644 --- a/src/events/RE/reLegendaryEntertainer.js +++ b/src/events/RE/reLegendaryEntertainer.js @@ -1,6 +1,10 @@ App.Events.RELegendaryEntertainer = class RELegendaryEntertainer extends App.Events.BaseEvent { actorPrerequisites() { return [[ + (s) => s.fetish !== "mindbroken", + hasAnyArms, + hasAnyLegs, + canTalk, (s) => s.devotion > 50, (s) => s.trust > 50, (s) => s.prestige === 0, diff --git a/src/events/RE/reLegendaryFormerAbolitionist.js b/src/events/RE/reLegendaryFormerAbolitionist.js index dd5d5619581..6f63570b007 100644 --- a/src/events/RE/reLegendaryFormerAbolitionist.js +++ b/src/events/RE/reLegendaryFormerAbolitionist.js @@ -1,6 +1,10 @@ App.Events.RELegendaryFormerAbolitionist = class RELegendaryFormerAbolitionist extends App.Events.BaseEvent { actorPrerequisites() { return [[ + (s) => s.fetish !== "mindbroken", + hasAnyArms, + hasAnyLegs, + canTalk, (s) => s.devotion > 95, (s) => s.trust > 50, (s) => s.prestige === 0, diff --git a/src/events/RE/reLegendaryWhore.js b/src/events/RE/reLegendaryWhore.js index 17d43c45db8..669989ab2a1 100644 --- a/src/events/RE/reLegendaryWhore.js +++ b/src/events/RE/reLegendaryWhore.js @@ -1,6 +1,10 @@ App.Events.RELegendaryWhore = class RELegendaryWhore extends App.Events.BaseEvent { actorPrerequisites() { return [[ + (s) => s.fetish !== "mindbroken", + hasAnyArms, + hasAnyLegs, + canTalk, (s) => s.devotion > 50, (s) => s.trust > 50, (s) => s.prestige === 0, diff --git a/src/events/RE/reLegendaryWomb.js b/src/events/RE/reLegendaryWomb.js index bf9bc0f3995..e7dac140485 100644 --- a/src/events/RE/reLegendaryWomb.js +++ b/src/events/RE/reLegendaryWomb.js @@ -1,6 +1,10 @@ App.Events.RELegendaryWomb = class RELegendaryWomb extends App.Events.BaseEvent { actorPrerequisites() { return [[ + (s) => s.fetish !== "mindbroken", + hasAnyArms, + hasAnyLegs, + canTalk, (s) => s.devotion > 50, (s) => s.trust > 50, (s) => s.broodmother === 0, @@ -9,7 +13,6 @@ App.Events.RELegendaryWomb = class RELegendaryWomb extends App.Events.BaseEvent (s) => s.preg > s.pregData.normalBirth / 1.33, (s) => s.bellyPreg >= 14000, (s) => [Job.WHORE, Job.BROTHEL, Job.PUBLIC, Job.CLUB].includes(s.assignment), - isAmputee ]]; } -- GitLab