Skip to content
Snippets Groups Projects
Commit 9f7ad741 authored by lowercasedonkey's avatar lowercasedonkey
Browse files

hide barracks link in budget if no barracks

parent 6ede601f
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++){ ...@@ -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("privateOrphanage", "Private tutelage of $privateOrphanageTotal of your slaves\' children")>>
<<print budgetLine("mercenaries", "Security: [[$mercenariesTitle|Barracks][$nextButton = \"Back to Budget\", $nextLink = \"Costs Budget\"]] <<print budgetLine("mercenaries",
<<if $barracks>><<else>><br>//@@.red;Cost increased by the lack of an armory to house them.@@//<</if>> "Security: <<if $barracks>>[[$mercenariesTitle|Barracks][$nextButton = \"Back to Budget\", $nextLink = \"Costs Budget\"]]
<<if ($PC.warfare >= 100) || ($PC.career == \"arcology owner\")>><br>//Cost reduced by your @@.springgreen;mercenary contacts.@@//<</if>>")>> <<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")>> <<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