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 @@
<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>>
<<set _secUpgrades = $SecExp.buildings.secHub.upgrades>>
<<if $SecExp.edicts.sellData === 1>>
<br>''Private Data marketization:'' you are selling private citizens' data to the best bidder.
[[Repeal|edicts][$SecExp.edicts.sellData = 0]]
<<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)>>
<br>''Private Data marketization:'' allow the selling of private citizens' data.
<<if $SecExp.core.authority >= 1000>>
[[Implement|edicts][$SecExp.edicts.sellData = 1, cashX(-5000, "edicts"), $SecExp.core.authority -= 1000]]
<<else>>
<br>//Not enough Authority.//
<<if $SecExp.buildings.secHub>>
<<set _secUpgrades = $SecExp.buildings.secHub.upgrades>>
<<if $SecExp.edicts.sellData === 1>>
<br>''Private Data marketization:'' you are selling private citizens' data to the best bidder.
[[Repeal|edicts][$SecExp.edicts.sellData = 0]]
<<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>>
<br>''Private Data marketization:'' allow the selling of private citizens' data.
<<if $SecExp.core.authority >= 1000>>
[[Implement|edicts][$SecExp.edicts.sellData = 1, cashX(-5000, "edicts"), $SecExp.core.authority -= 1000]]
<<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>>
<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 $SecExp.buildings.propHub>>
<<if $SecExp.edicts.propCampaignBoost == 1>>
<br>''Obligatory educational material:'' you are forcing residents to read curated educational material about the arcology.
......@@ -66,7 +67,6 @@
<br>&nbsp;&nbsp;&nbsp;&nbsp;//Will increase the effectiveness of propaganda campaigns, but will incur upkeep costs.//
<</if>>
<</if>>
<<if $SecExp.buildings.transportHub>>
<<if $SecExp.edicts.tradeLegalAid == 1>>
<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