diff --git a/src/uncategorized/pUndergroundRailroad.tw b/src/uncategorized/pUndergroundRailroad.tw index b82c0bc3cb580bb21a4aef674b4b5538ce72b5d9..c540ef65a478210c38a52839d3fcdb91ab4d2a01 100644 --- a/src/uncategorized/pUndergroundRailroad.tw +++ b/src/uncategorized/pUndergroundRailroad.tw @@ -2,15 +2,15 @@ <<set $nextButton = " ", $nextLink = "Random Nonindividual Event">> /* hide button until user makes a selection */ -<<set $activeSlave = $slaves.find(function(s) { return s.fuckdoll == 0 && s.fetish != "mindbroken" && s.amp != 1 && s.devotion < 75 && s.trust < 75 && s.indenture == -1 && canWalk(s) && canTalk(s) && canSee($activeSlave) && ["serve in the club", "serve the public", "whore", "work in the brothel"].includes(s.assignment); })>> +<<set $activeSlave = $slaves.find(function(s) { return s.fuckdoll == 0 && s.fetish != "mindbroken" && canWalk(s) && s.devotion < 75 && s.trust < 75 && s.indenture == -1 && canWalk(s) && canTalk(s) && canSee($activeSlave) && ["serve in the club", "serve the public", "whore", "work in the brothel"].includes(s.assignment); })>> <<if (ndef $activeSlave)>> /* search again without assignments limitation */ - <<set $activeSlave = $slaves.find(function(s) { return s.fuckdoll == 0 && s.fetish != "mindbroken" && s.amp != 1 && s.indenture == -1 && canSee($activeSlave) && ["serve in the club", "serve the public", "whore", "work in the brothel"].includes(s.assignment); })>> + <<set $activeSlave = $slaves.find(function(s) { return s.fuckdoll == 0 && s.fetish != "mindbroken" canWalk(s) && s.indenture == -1 && canSee($activeSlave) && ["serve in the club", "serve the public", "whore", "work in the brothel"].includes(s.assignment); })>> <<if (ndef $activeSlave)>> /* we will find one */ - <<set $activeSlave = $slaves.find(function(s) { return s.fuckdoll == 0 && s.fetish != "mindbroken" && s.amp != 1 && s.devotion < 20 && canTalk(s) && canSee($activeSlave); })>> + <<set $activeSlave = $slaves.find(function(s) { return s.fuckdoll == 0 && s.fetish != "mindbroken" && canWalk(s) && s.devotion < 20 && canTalk(s) && canSee($activeSlave); })>> <<if (ndef $activeSlave)>> /* we will find one */ - <<set $activeSlave = $slaves.find(function(s) { return s.fuckdoll == 0 && s.fetish != "mindbroken" && s.amp != 1 && canTalk(s) && canSee($activeSlave); })>> + <<set $activeSlave = $slaves.find(function(s) { return s.fuckdoll == 0 && s.fetish != "mindbroken" && canWalk(s) && canTalk(s) && canSee($activeSlave); })>> <<if (ndef $activeSlave)>> /* anyone out there? */ - <<set $activeSlave = $slaves.find(function(s) { return s.fuckdoll == 0 && s.fetish != "mindbroken" && s.amp != 1 && canSee($activeSlave); })>> + <<set $activeSlave = $slaves.find(function(s) { return s.fuckdoll == 0 && s.fetish != "mindbroken" && canWalk(s) && canSee($activeSlave); })>> <<if (ndef $activeSlave)>> /* still no match */ <<set $activeSlave = $slaves.find(function(s) { return s.fuckdoll == 0 && s.fetish != "mindbroken"; })>> <<if (ndef $activeSlave)>> /* STILL no match */ @@ -382,4 +382,4 @@ This is disturbing, to say the least. After close investigation, it appears some <</link>> <</if>> </span> -<</if>> \ No newline at end of file +<</if>>