Skip to content
Snippets Groups Projects
Commit 19f3af2b authored by i107760's avatar i107760
Browse files

Gate behind check for `nextWeek.tw`

parent 6a9d474b
No related branches found
No related tags found
1 merge request!6277Rebalance menial slave production of food and cost of food.
...@@ -84,12 +84,14 @@ ...@@ -84,12 +84,14 @@
<<set $localEcon = 20>> <<set $localEcon = 20>>
<</if>> <</if>>
<<if $localEcon > 100>> <<if $experimental.food == 1>>
<<set $farmyardFoodCost = Math.max(5 / (1 + (Math.trunc(1000-100000/$localEcon)/10)/100), 3.125)>> <<if $localEcon > 100>>
<<elseif $localEcon == 100>> <<set $farmyardFoodCost = Math.max(5 / (1 + (Math.trunc(1000-100000/$localEcon)/10)/100), 3.125)>>
<<set $farmyardFoodCost = 5 >> <<elseif $localEcon == 100>>
<<else>> <<set $farmyardFoodCost = 5 >>
<<set $farmyardFoodCost = Math.min(5 * (1 + 1.5 * Math.sqrt(Math.trunc(100000/$localEcon-1000)/10)/100), 6.5)>> <<else>>
<<set $farmyardFoodCost = Math.min(5 * (1 + 1.5 * Math.sqrt(Math.trunc(100000/$localEcon-1000)/10)/100), 6.5)>>
<</if>
<</if> <</if>
<<set $foodCost = Math.trunc(2500/$localEcon)>> <<set $foodCost = Math.trunc(2500/$localEcon)>>
<<set $drugsCost = Math.trunc(10000/$localEcon)>> <<set $drugsCost = Math.trunc(10000/$localEcon)>>
......
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