Skip to content
Snippets Groups Projects
Commit 30d1af96 authored by Blank_Alt's avatar Blank_Alt
Browse files

SecExp-fix

parent a47fbec6
No related branches found
No related tags found
No related merge requests found
...@@ -38,20 +38,21 @@ ...@@ -38,20 +38,21 @@
<br>&nbsp;&nbsp;&nbsp;&nbsp;//Will provide cash each week. The higher the flux of citizens to slaves the higher the income. Will cost a small amount of authority each week.// <br>&nbsp;&nbsp;&nbsp;&nbsp;//Will provide cash each week. The higher the flux of citizens to slaves the higher the income. Will cost a small amount of authority each week.//
<</if>> <</if>>
<<set _secUpgrades = $SecExp.buildings.secHub.upgrades>> <<if $SecExp.buildings.secHub>>
<<if $SecExp.edicts.sellData === 1>> <<set _secUpgrades = $SecExp.buildings.secHub.upgrades>>
<br>''Private Data marketization:'' you are selling private citizens' data to the best bidder. <<if $SecExp.edicts.sellData === 1>>
[[Repeal|edicts][$SecExp.edicts.sellData = 0]] <br>''Private Data marketization:'' you are selling private citizens' data to the best bidder.
<<elseif $SecExp.edicts.sellData === 0 && $SecExp.buildings.secHub && (Object.values(_secUpgrades.security).reduce((a, b) => a + b) > 0 || Object.values(_secUpgrades.crime).reduce((a, b) => a + b) > 0) || Object.values(_secUpgrades.intel).reduce((a, b) => a + b) > 0)>> [[Repeal|edicts][$SecExp.edicts.sellData = 0]]
<br>''Private Data marketization:'' allow the selling of private citizens' data. <<elseif $SecExp.edicts.sellData === 0 && Object.values(_secUpgrades.security).reduce((a, b) => a + b) > 0 || Object.values(_secUpgrades.crime).reduce((a, b) => a + b) > 0 || Object.values(_secUpgrades.intel).reduce((a, b) => a + b) > 0>>
<<if $SecExp.core.authority >= 1000>> <br>''Private Data marketization:'' allow the selling of private citizens' data.
[[Implement|edicts][$SecExp.edicts.sellData = 1, cashX(-5000, "edicts"), $SecExp.core.authority -= 1000]] <<if $SecExp.core.authority >= 1000>>
<<else>> [[Implement|edicts][$SecExp.edicts.sellData = 1, cashX(-5000, "edicts"), $SecExp.core.authority -= 1000]]
<br>//Not enough Authority.// <<else>>
<br>//Not enough Authority.//
<</if>>
<br>&nbsp;&nbsp;&nbsp;&nbsp;//Will generate income dependent on the amount of upgrades installed in the security HQ, but will cost a small amount of authority each week.//
<</if>> <</if>>
<br>&nbsp;&nbsp;&nbsp;&nbsp;//Will generate income dependent on the amount of upgrades installed in the security HQ, but will cost a small amount of authority each week.//
<</if>> <</if>>
<<if $SecExp.buildings.propHub>> <<if $SecExp.buildings.propHub>>
<<if $SecExp.edicts.propCampaignBoost == 1>> <<if $SecExp.edicts.propCampaignBoost == 1>>
<br>''Obligatory educational material:'' you are forcing residents to read curated educational material about the arcology. <br>''Obligatory educational material:'' you are forcing residents to read curated educational material about the arcology.
...@@ -66,7 +67,6 @@ ...@@ -66,7 +67,6 @@
<br>&nbsp;&nbsp;&nbsp;&nbsp;//Will increase the effectiveness of propaganda campaigns, but will incur upkeep costs.// <br>&nbsp;&nbsp;&nbsp;&nbsp;//Will increase the effectiveness of propaganda campaigns, but will incur upkeep costs.//
<</if>> <</if>>
<</if>> <</if>>
<<if $SecExp.buildings.transportHub>> <<if $SecExp.buildings.transportHub>>
<<if $SecExp.edicts.tradeLegalAid == 1>> <<if $SecExp.edicts.tradeLegalAid == 1>>
<br>''Legal aid for new businesses:'' New businesses can rely on your help for legal expenses and issues. <br>''Legal aid for new businesses:'' New businesses can rely on your help for legal expenses and issues.
......
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