@@ -19,7 +19,7 @@ window.illness = function illness(slave) {
...
@@ -19,7 +19,7 @@ window.illness = function illness(slave) {
constH=slave.health;
constH=slave.health;
letassignBonus=0;// bonus for healthy assignments
letassignBonus=0;// bonus for healthy assignments
// On the macro side of things disease could also happen to the acrology's population as the arcology becomes crowded, killing citizens and putting slaves at greater risk of getting ill. Again with upgrades/policies to mitigate the issue made availble TODO?
// On the macro side of things disease could also happen to the acrology's population as the arcology becomes crowded, killing citizens and putting slaves at greater risk of getting ill. Again with upgrades/policies to mitigate the issue made availble TODO?
if (slave.assignment!=="live with your agent"||slave.assignemnt!=="be your agent"){// Let's make sure agents don't get sick and accidentally die, they should take care of themselves
if (slave.assignment!=="live with your agent"||slave.assignment!=="be your agent"){// Let's make sure agents don't get sick and accidentally die, they should take care of themselves
if (slave.assignment==="rest"||slave.assignment==="rest in the spa"||slave.assignment==="get treatment in the clinic"||slave.assignment==="serve in the master suite"||slave.assignment==="please you"){
if (slave.assignment==="rest"||slave.assignment==="rest in the spa"||slave.assignment==="get treatment in the clinic"||slave.assignment==="serve in the master suite"||slave.assignment==="please you"){
assignBonus+=10;
assignBonus+=10;
}
}
...
@@ -276,6 +276,16 @@ window.tired = function tired(slave) {
...
@@ -276,6 +276,16 @@ window.tired = function tired(slave) {
assignment+=normalRandInt(20,2);// Increases tired by an average of 20 points while on a demanding assignment
assignment+=normalRandInt(20,2);// Increases tired by an average of 20 points while on a demanding assignment
}elseif (slave.assignment==="be your agent"||slave.assignment==="live with your agent"){
}elseif (slave.assignment==="be your agent"||slave.assignment==="live with your agent"){
assignment-=normalRandInt(15,2);// Making sure agents don't get exhausted, surely they can afford to do some relaxing
assignment-=normalRandInt(15,2);// Making sure agents don't get exhausted, surely they can afford to do some relaxing
}elseif (slave.assignment==="work in the dairy"){
if (V.dairyRestraintsSetting>1){
assignment+=normalRandInt(20,2);// Full industrial Dairy is exhausting
}elseif (V.dairyRestraintsSetting>0){
assignment+=normalRandInt(5);// Restraining while milking is a little stressful
}else{
assignment-=normalRandInt(5);// Being a free range cow is relatively relaxing