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

Merge branch 'semi' into 'pregmod-master'

minor fix

See merge request !4053
parents cd4ff8de 5c1837d5
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
/** @param {App.Entity.SlaveState} slave */
window.foodAmount = function (slave) {
const V = State.variables;
var food = 400; // kg / food produced by base slave / week
let food = 400; // kg / food produced by base slave / week
if (!slave) {
return null;
} else {
......@@ -262,7 +262,7 @@ window.farmShowsIncome = function (slave) {
} else if (slave.face < -10) { // slave is less than unattractive
cash *= 0.9;
} else if (slave.face < -40) { // slave is less than ugly
cash *= 0.7
cash *= 0.7;
}
if (slave.devotion > 50) { // slave is devoted or more
cash *= 1.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