diff --git a/src/endWeek/saWorkTheFarm.js b/src/endWeek/saWorkTheFarm.js index c4b22205019fea1391840877aa6e411abf93b86e..f3a2959ecaf417a7df026611f03a0e57550edfbc 100644 --- a/src/endWeek/saWorkTheFarm.js +++ b/src/endWeek/saWorkTheFarm.js @@ -12,7 +12,7 @@ window.saWorkTheFarm = /** @param {App.Entity.SlaveState} slave */ function saWo var t = `works as a farmhand this week. `; if (V.Farmer !== 0) { - t += `While there, ${he} benefits from ${Farmer.slaveName}'s `; + t += `While there, ${he} benefits from ${V.Farmer.slaveName}'s `; if (V.Farmer.physicalAge < 21) { t += `youthful energy`; } else { @@ -44,7 +44,7 @@ window.saWorkTheFarm = /** @param {App.Entity.SlaveState} slave */ function saWo incomeStats.food += food; if (V.Farmer) { - t += `${Farmer.slaveName} watches over ${him}, making sure that ${he} doesn't slack off and works as hard as ${he} should. `; + t += `${V.Farmer.slaveName} watches over ${him}, making sure that ${he} doesn't slack off and works as hard as ${he} should. `; } if (slave.devotion > 50) { t += `${He}'s so devoted to you that ${he} works harder and produces more food. `; @@ -72,13 +72,13 @@ window.saWorkTheFarm = /** @param {App.Entity.SlaveState} slave */ function saWo if (slave.hears === -1) { t += `${He} is hard-of-hearing, which gets in the way of ${his} work whenever ${he} misses directions`; if (V.Farmer) { - t += ` from ${Farmer.slaveName}`; + t += ` from ${V.Farmer.slaveName}`; } t += `. `; } else if (slave.hears < -1) { t += `${He} is deaf, which gets in the way of ${his} work whenever ${he} misses directions`; if (V.Farmer) { - t += ` from ${Farmer.slaveName}`; + t += ` from ${V.Farmer.slaveName}`; } t += `. `; }