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

Merge branch 'hide-barracks-if-no-barracks' into 'pregmod-master'

Hide barracks link in budget if no barracks

See merge request !3817
parents 98458c97 9f7ad741
No related branches found
No related tags found
1 merge request!3817Hide barracks link in budget if no barracks
......@@ -250,9 +250,11 @@ for(var i = 0; i < State.variables.lastWeeksCashIncome.length; i++){
<<print budgetLine("privateOrphanage", "Private tutelage of $privateOrphanageTotal of your slaves\' children")>>
<<print budgetLine("mercenaries", "Security: [[$mercenariesTitle|Barracks][$nextButton = \"Back to Budget\", $nextLink = \"Costs Budget\"]]
<<if $barracks>><<else>><br>//@@.red;Cost increased by the lack of an armory to house them.@@//<</if>>
<<if ($PC.warfare >= 100) || ($PC.career == \"arcology owner\")>><br>//Cost reduced by your @@.springgreen;mercenary contacts.@@//<</if>>")>>
<<print budgetLine("mercenaries",
"Security: <<if $barracks>>[[$mercenariesTitle|Barracks][$nextButton = \"Back to Budget\", $nextLink = \"Costs Budget\"]]
<<else>>Mercenaries<br>//@@.red;Cost increased by the lack of an armory to house them.@@//<</if>>
<<if ($PC.warfare >= 100) || ($PC.career == \"arcology owner\")>><br>//Cost reduced by your @@.springgreen;mercenary contacts.@@//<</if>>
")>>
<<print budgetLine("securityExpansion", "Security expansion")>>
......
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