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

fix saStayConfined

parent 17c73dde
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,10 @@ Pregmod
0.10.7.1-3.1.x
-slave health overhaul (short and long term health, exhuastion effects and illness)
-eye object overhaul
-organ farm cleanup
-limb cleaning
-added overflow feedback to demand
-added pit assign/remove rules to the RA
-fixes and cleaning
......
......@@ -49,27 +49,27 @@ window.saStayConfined = function saStayConfined(slave) {
healthDamage(slave, 10);
if (slave.health.illness > 0 || slave.health.tired > 50) {
r += ` ${He} is`;
t += ` ${He} is`;
if (slave.health.illness === 1) {
r += ` feeling under the weather`;
t += ` feeling under the weather`;
} else if (slave.health.illness === 2) {
r += ` somewhat ill`;
t += ` somewhat ill`;
} else if (slave.health.illness === 3) {
r += ` sick`;
t += ` sick`;
} else if (slave.health.illness === 4) {
r += ` very sick`;
t += ` very sick`;
} else if (slave.health.illness === 5) {
r += ` terribly ill`;
t += ` terribly ill`;
}
if (slave.health.illness > 0 && slave.health.tired > 50) {
r += ` and`;
t += ` and`;
}
if (slave.health.tired < 80) {
r += ` tired`;
t += ` tired`;
} else {
r += ` exhausted`;
t += ` exhausted`;
}
r += ` ${his} misery only grows.`;
t += ` ${his} misery only grows.`;
}
} else {
t += `is oblivious to ${his} confinement.`;
......
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