Skip to content
Snippets Groups Projects
Commit 3374d375 authored by pregmodfan's avatar pregmodfan
Browse files

RA rules quick swithcing, and more then 10 rules allowed (with warning).

parent 47d3f512
No related branches found
No related tags found
No related merge requests found
...@@ -121,7 +121,19 @@ ...@@ -121,7 +121,19 @@
//<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>, I will review your slaves and make changes that will have a beneficial effect. Apologies, sir, but this function is... not fully complete. It may have some serious limitations. Please use the 'no default setting' option to identify areas I should not address.// //<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>, I will review your slaves and make changes that will have a beneficial effect. Apologies, sir, but this function is... not fully complete. It may have some serious limitations. Please use the 'no default setting' option to identify areas I should not address.//
<br><br> /* Control method for quick switching to specific rule in list */
List of rules: <br>
<<if _length > 1>>
<<set _crule = $r-1>>
<<for _r = 0; _r < _length; _r++>>
<<rbutton "_crule" _r>> $defaultRules[_r].name <br>
<</for>>
<<link "Switch to selected rule">>
<<set $currentRule = $defaultRules[_crule]>>
<<goto "Rules Assistant">>
<</link>>
<br><br> <br><br>
<</if>>
<<if _length < 1>> <<if _length < 1>>
''No rules.'' ''No rules.''
...@@ -2380,7 +2392,9 @@ Relationship rules: <span id="relation">''$currentRule.relationshipRules.''</spa ...@@ -2380,7 +2392,9 @@ Relationship rules: <span id="relation">''$currentRule.relationshipRules.''</spa
<br><br> <br><br>
<<if _length < 10>> <<if _length >= 10>>''@@.red;ATTENTION! Current rules count is 10 or above. High rules count can dramaticaly slow down game speed (especially if slaves count is high too), or even cause freeze of game page/browser. Use at you own risk!@@''
<br><br>
<</if>>
<<link "Add a new rule">> <<link "Add a new rule">>
...@@ -2398,7 +2412,6 @@ Relationship rules: <span id="relation">''$currentRule.relationshipRules.''</spa ...@@ -2398,7 +2412,6 @@ Relationship rules: <span id="relation">''$currentRule.relationshipRules.''</spa
<</link>> | <</link>> |
<</if>>
<<if _length > 0>> <<if _length > 0>>
<span id="applyresult"></span> <span id="applyresult"></span>
......
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