Skip to content
Snippets Groups Projects
Commit e3588a2c authored by Pregmodder's avatar Pregmodder
Browse files

correction

parent 29e9dc84
No related branches found
No related tags found
1 merge request!6499Tiredness money effects
...@@ -643,16 +643,14 @@ window.tired = function tired(slave) { ...@@ -643,16 +643,14 @@ window.tired = function tired(slave) {
window.restEffects = function restEffects(slave, exhaustion) { window.restEffects = function restEffects(slave, exhaustion) {
// exhaustion holds the weekly .tired gain from the assignment. // exhaustion holds the weekly .tired gain from the assignment.
if (!slave.fuckdoll) { if (!slave.fuckdoll) {
if { if (slave.rules.rest === "mandatory") {
if (slave.rules.rest === "mandatory") { return .86;
return .86; } else if (slaveResting(slave)) {
} else if (slaveResting(slave)) { return .25;
return .25; } else if (slave.tired + exhaustion >= 90 && !willWorkToDeath(slave)) {
} else if (slave.tired + exhaustion >= 90 && !willWorkToDeath(slave)) { return .10;
return .10; } else if (slave.tired > 90 && slave.assignment !== "work a glory hole") {
} else if (slave.tired > 90 && slave.assignment !== "work a glory hole") { return .75;
return .75;
}
} }
} }
return 1; return 1;
......
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