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

Merge branch 'Kot-Milkies' into 'pregmod-master'

Make it so you get more money for selling milk while highly being reputable.

See merge request pregmodfan/fc-pregmod!8947
parents 24802289 093b45f1
No related branches found
No related tags found
1 merge request!8947Make it so you get more money for selling milk while highly being reputable.
Pipeline #25876 passed
......@@ -35,10 +35,10 @@ App.EndWeek.personalNotes = function() {
r.push(`Whenever you have a free moment and a chest swollen with milk, you spend your time attached to the nearest milker. As a result, you produce ${milk} liters of sellable milk over the week.`);
if (V.arcologies[0].FSPastoralist !== "unset") {
if (V.arcologies[0].FSPastoralistLaw === 1) {
milkSale = milk * (28 + Math.trunc(V.arcologies[0].FSPastoralist / 30));
milkSale = Math.round(milk * ((28 * (V.rep/1000)) + Math.trunc(V.arcologies[0].FSPastoralist / 30));
r.push(`Since breast milk is ${V.arcologies[0].name}'s only legal dairy product, and yours is in a class all of its own, society can't get enough of it and you make <span class="yellowgreen">${cashFormat(milkSale)}.</span>`);
} else {
milkSale = milk * (12 + Math.trunc(V.arcologies[0].FSPastoralist / 30));
milkSale = Math.round(milk * ((12 * (V.rep/1000)) + Math.trunc(V.arcologies[0].FSPastoralist / 30)));
r.push(`Since milk is fast becoming a major part of the ${V.arcologies[0].name}'s dietary culture, and yours is in a class all of its own, you make <span class="yellowgreen">${cashFormat(milkSale)}.</span>`);
}
} else {
......
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