diff --git a/src/Mods/SecExp/edicts.tw b/src/Mods/SecExp/edicts.tw index 490489b8c1afb9eabd561e3bd4c604658880a75c..f263e9c48af7facc5eb0247fb12794ce09bf52e6 100644 --- a/src/Mods/SecExp/edicts.tw +++ b/src/Mods/SecExp/edicts.tw @@ -38,20 +38,21 @@ <br> //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> //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> //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> //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.