Skip to content
Snippets Groups Projects
Commit baf2f991 authored by Blank's avatar Blank Committed by Pregmodder
Browse files

endWeekFix

parent f639f965
No related branches found
No related tags found
No related merge requests found
...@@ -2,24 +2,31 @@ ...@@ -2,24 +2,31 @@
<<set _Pass = passage()>> <<set _Pass = passage()>>
<<widget "userButton">> <<widget "userButton">>
<<if _Pass !== "Encyclopedia">> <br><br> <</if>> /*Don't remove these spans, it will break things.*/
<<if $nextButton === "END WEEK">> <<if _Pass !== "End Week">>
<span id="endWeekButton"> <strong> <<if _Pass !== "Encyclopedia">> <br><br> <</if>>
<<link [[END WEEK|End Week]]>><</link>> <<if _Pass === "Main" && $nextButton === "END WEEK">>
</strong> </span> @@.cyan;[Ent]@@ <span id="endWeekButton"> <strong>
<<if $rulesError && $rulesAssistantAuto == 1>> <<link [[END WEEK|End Week]]>><</link>>
<br>@@.yellow; WARNING: some custom rules will change slave variables@@ </strong> </span> @@.cyan;[Ent]@@
<</if>> <<if $rulesError && $rulesAssistantAuto == 1>>
<<else>> <br>@@.yellow; WARNING: some custom rules will change slave variables@@
<strong> <</if>>
<<if _Pass !== "Encyclopedia">> /* must use link so spacebar shortcut will work */
<<link "$nextButton">> <<goto $nextLink>> <</link>>
<<else>> <<else>>
<<link [[Back to Free Cities|$nextLink]]>><</link>> <span id="nextButton">
<<if $nextButton !== " ">>
<strong>
<<if _Pass !== "Encyclopedia">> /* must use link so spacebar shortcut will work */
<<link "$nextButton">> <<goto $nextLink>> <</link>>
<<else>>
<<link [[Back to Free Cities|$nextLink]]>><</link>>
<</if>>
</strong> @@.cyan;[Space]@@
<</if>>
</span>
<</if>> <</if>>
</strong> @@.cyan;[Space]@@ <br>
<</if>> <</if>>
<br>
<</widget>> <</widget>>
<<widget "security">> <br> <<widget "security">> <br>
...@@ -78,9 +85,7 @@ ...@@ -78,9 +85,7 @@
//@@.red;$weatherToday.name@@// //@@.red;$weatherToday.name@@//
<</if>> <</if>>
<</if>> <</if>>
<span id="nextButton"> <<userButton>>
<<if $nextButton !== " ">> <<userButton>> <</if>>
</span>
<</if>> <</if>>
<<if _Pass == "Encyclopedia">> <br> <<if _Pass == "Encyclopedia">> <br>
...@@ -108,8 +113,8 @@ ...@@ -108,8 +113,8 @@
<span id="cost"><<SlaveCostDescription>></span> <br><br> <span id="cost"><<SlaveCostDescription>></span> <br><br>
<</if>> <</if>>
<<if $ui != "start" && _Pass !== "Encyclopedia">> <<if $ui != "start" && _Pass !== "Encyclopedia">> <br>
<<if $sideBarOptions.Cash > 0>> <br> <<if $sideBarOptions.Cash > 0>>
<<set $cash = Math.trunc($cash)>> <<set $cash = Math.trunc($cash)>>
<span id="cash"> <span id="cash">
<<if $cash > 0>> <<if $cash > 0>>
......
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