Skip to content
Snippets Groups Projects
Commit 6653fd51 authored by hexall90's avatar hexall90
Browse files

fixing toggle function

parent a62a0ef7
No related branches found
No related tags found
3 merge requests!1155Pregmod master,!1039Hexall90's security expansion mod,!871Security expansion
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<<set _crimeCap = 0>> <<set _crimeCap = 0>>
<<set _newCrime = 0>> <<set _newCrime = 0>>
<<if $useTabs == 0>>__Arcology Management__<</if>> <<if $useTabs == 0>>__Security__<</if>>
<br> <br>
<strong>Security</strong>: <strong>Security</strong>:
......
...@@ -867,6 +867,8 @@ Image display ...@@ -867,6 +867,8 @@ Image display
<br> <br>
// This mod alters how prosthetics system works and adds some content.// // This mod alters how prosthetics system works and adds some content.//
<br><br>
<<if $secExp == 1>> <<if $secExp == 1>>
The Security Expansion Mod is ''enabled.'' The Security Expansion Mod is ''enabled.''
[[Disable|Intro Summary][$secExp = 0]] [[Disable|Intro Summary][$secExp = 0]]
......
...@@ -35,11 +35,11 @@ You're a relative unknown in the Free Cities, but it's clear you're already acco ...@@ -35,11 +35,11 @@ You're a relative unknown in the Free Cities, but it's clear you're already acco
<<if $showSecExp == 0>> <<if $showSecExp == 0>>
<<link "Show Security Expansion changes">> <<link "Show Security Expansion changes">>
<<set $showSecExp = 1>> <<set $showSecExp = 1>>
<<goto "terrainIntro">> <<goto "PC Experience Intro">>
<</link>> <</link>>
<<else>> <<else>>
<<link "Hide Security Expansion changes">> <<link "Hide Security Expansion changes">>
<<set $showSecExp = 0>> <<set $showSecExp = 0>>
<<goto "terrainIntro">> <<goto "PC Experience Intro">>
<</link>> <</link>>
<</if>> <</if>>
\ No newline at end of file
...@@ -71,11 +71,11 @@ Finally, a few Free Cities have been carved out from old world cities. Urban dec ...@@ -71,11 +71,11 @@ Finally, a few Free Cities have been carved out from old world cities. Urban dec
<<if $showSecExp == 0>> <<if $showSecExp == 0>>
<<link "Show Security Expansion changes">> <<link "Show Security Expansion changes">>
<<set $showSecExp = 1>> <<set $showSecExp = 1>>
<<goto "terrainIntro">> <<goto "Terrain Intro">>
<</link>> <</link>>
<<else>> <<else>>
<<link "Hide Security Expansion changes">> <<link "Hide Security Expansion changes">>
<<set $showSecExp = 0>> <<set $showSecExp = 0>>
<<goto "terrainIntro">> <<goto "Terrain Intro">>
<</link>> <</link>>
<</if>> <</if>>
\ No newline at end of file
...@@ -1221,6 +1221,8 @@ erectileImplant: 0 ...@@ -1221,6 +1221,8 @@ erectileImplant: 0
} >> } >>
/* Security Expansion */ /* Security Expansion */
<<set $secExp = 0>>
<<set $showSecExp = 0>>
<<include "secInit">> <<include "secInit">>
<<goto "Alpha disclaimer">> <<goto "Alpha disclaimer">>
...@@ -5,9 +5,10 @@ ...@@ -5,9 +5,10 @@
''SAVES'' ''SAVES''
<br> <br>
This save was created using FC version $ver build $releaseID. This save was created using FC version $ver build $releaseID.
<br> <br>&nbsp;&nbsp;&nbsp;&nbsp;[[Apply Backwards Compatibility Update|Backwards Compatibility]]
&nbsp;&nbsp;&nbsp;&nbsp;[[Apply Backwards Compatibility Update|Backwards Compatibility]] <<if $secExp == 1>>
&nbsp;&nbsp;&nbsp;&nbsp;[[Apply Backwards Compatibility Update only for Security Expansion mod|SecExpBackwardCompatibility]] <br>&nbsp;&nbsp;&nbsp;&nbsp;[[Apply Security Expansion mod backwards compatibility |SecExpBackwardCompatibility]]
<</if>>
<br> <br>
<<if ($autosave == 0)>> <<if ($autosave == 0)>>
...@@ -347,16 +348,19 @@ Curative side effects are @@.red;DISABLED@@. [[Enable|Options][$curativeSideEffe ...@@ -347,16 +348,19 @@ Curative side effects are @@.red;DISABLED@@. [[Enable|Options][$curativeSideEffe
Cybernetics Mod is currently @@.cyan;ENABLED@@. [[Disable|Options][$cyberMod = 0]] Cybernetics Mod is currently @@.cyan;ENABLED@@. [[Disable|Options][$cyberMod = 0]]
<</if>> <</if>>
<br>
<<if $secExp == 0>> <<if $secExp == 0>>
The Security Expansion mod is @@.red;disabled@@. The Security Expansion mod is @@.red;DISABLED@@.
<<link "Enable">> <<link "Enable">>
<<set $secExp = 1>> <<set $secExp = 1>>
<<include "SecExpBackwardCompatibility">> <<include "SecExpBackwardCompatibility">>
<<goto "Options">>
<</link>> <</link>>
<<else>> <<else>>
The Security Expansion Mod is currently @@.cyan;ENABLED@@. [[Disable|Options][$SFMODToggle = 0]] The Security Expansion Mod is currently @@.cyan;ENABLED@@. [[Disable|Options][$secExp = 0]]
<</if>> <</if>>
//The mod can be activated in any moment, but it may result in unbalanced gameplay if activated very late// //The mod can be activated in any moment, but it may result in unbalanced gameplay if activated very late in the game. If this is the first time activating the mod or you are updating an old save, please run backward compatibility.//
<br><br> <br><br>
''CHEATING/DEV OPTIONS'' ''CHEATING/DEV OPTIONS''
......
...@@ -670,6 +670,7 @@ On formal occasions, you are announced as $PCTitle. ...@@ -670,6 +670,7 @@ On formal occasions, you are announced as $PCTitle.
<</if>> <</if>>
<br><br> <br><br>
<</if $secExp == 1>>
<<if $secExp == 1>>
<<include "authorityReport">> <<include "authorityReport">>
<</if>> <</if>>
\ No newline at end of file
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