Skip to content
Snippets Groups Projects
Commit 754b1e99 authored by Blank_Alt's avatar Blank_Alt
Browse files

quickFixAndMinorCleanup

parent 74f63c2a
No related branches found
No related tags found
No related merge requests found
......@@ -5,12 +5,6 @@ App.EndWeek.resetGlobals = function() {
// Integer and float variables. No real need to zero them out but doesn't hurt to have them in a known state, though this might mask variables NaN'ing out. Takes up the least amount of Memory besides a "" string.
V.i = 0;
V.j = 0;
V.motherSlave = -1;
V.daughterSlave = -1;
V.devMother = -1;
V.devDaughter = -1;
V.youngerSister = -1;
V.olderSister = -1;
// Other arrays
V.events = [];
......@@ -25,7 +19,6 @@ App.EndWeek.resetGlobals = function() {
V.PETSevent = [];
V.FSNonconformistEvents = [];
V.REButtholeCheckinIDs = [];
V.rebelSlaves = [];
V.eligibleSlaves = [];
// Slave Objects using 0 instead of null. Second most memory eaten up.
......
......@@ -21,7 +21,7 @@ App.Events.REBusyServantsQuarters = class REBusyServantsQuarters extends App.Eve
for (const slave of V.slaves) {
if (slave.assignment !== Job.QUARTER) {
slave.devotion += 4;
if (canPenetrate(slave) {
if (canPenetrate(slave)) {
actX(slave, "penetrative", 2);
if (canDoVaginal(slave)) {
actX(slave, "vaginal", 1);
......
......@@ -10,9 +10,9 @@
''Any one of your slaves would have been selected for a random non-individual event:''
<br>
<<for $i = 0; $i < $slaves.length; $i++>>
<<set _slaveName = SlaveFullName($slaves[$i])>>
<br><<print "[[_slaveName|Random Nonindividual Event][$eventSlave = $slaves[" + $i + "]]]">>
<<for _slave range $slaves>>
<<set _slaveName = SlaveFullName(_slave)>>
<br><<print "[[_slaveName|Random Nonindividual Event][$eventSlave = _slave]]">>
<</for>>
<br><br>[[Switch to RIE Eligibility Check|RIE Eligibility Check][$activeSlave = 0, $eventSlave = 0]]
<<else>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment