From 9f7b8746b4a3d62e76ea9b98b5f7a954c6943e7b Mon Sep 17 00:00:00 2001 From: Arkerthan <arkerthan@gmail.com> Date: Thu, 2 Jan 2020 01:46:23 +0100 Subject: [PATCH] sanity fixes --- devTools/javaSanityCheck/ignoredVariables | 5 +++-- src/uncategorized/options.tw | 11 ++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/devTools/javaSanityCheck/ignoredVariables b/devTools/javaSanityCheck/ignoredVariables index a37fa1878c6..d0523cd46fd 100644 --- a/devTools/javaSanityCheck/ignoredVariables +++ b/devTools/javaSanityCheck/ignoredVariables @@ -1,5 +1,5 @@ -#Add hits, that are false positives and should therefore be ignored, here -#likely bugged check +# Add hits, that are false positives and should therefore be ignored, here +# likely bugged check AGrowth # cumSale @@ -86,6 +86,7 @@ plural bimboMaleNames RuleHasError DefaultRulesError +canGrow;canImplant;implantError # PC criticalDamage marriage diff --git a/src/uncategorized/options.tw b/src/uncategorized/options.tw index 70d5a5cb14c..538187b3107 100644 --- a/src/uncategorized/options.tw +++ b/src/uncategorized/options.tw @@ -773,7 +773,8 @@ This save was created using FC version $ver build $releaseID. </style> <table class="invisible"> - <tr style="text-align:center"><td colspan="2" > + <tr style="text-align:center"> + <td colspan="2" > <<link "Set loyalty high" "Options">> <<for _i = 0; _i < $militiaUnits.length; _i++>> <<set $militiaUnits[_i].loyalty = random(80,100)>> @@ -826,7 +827,8 @@ This save was created using FC version $ver build $releaseID. <<set $mercUnits[_i].loyalty = random(100)>> <</for>> <</link>> - </td></tr> + </td> + </tr> <tr style="text-align:center"> <td colspan="2"> @@ -883,7 +885,6 @@ This save was created using FC version $ver build $releaseID. </td> </tr> - </tr> </table> <</if>> /* closes SecExp check*/ </div> @@ -987,10 +988,10 @@ This save was created using FC version $ver build $releaseID. <br> <<link "Add slaves" "Options">> /*Will work to a limited degree, minimums and maximums for slaves are set through population*/ - <<set $NPCSlaves = Math.max($NPCSlaves + 200, 0>> + <<set $NPCSlaves = Math.max($NPCSlaves + 200, 0)>> <</link>> | <<link "Remove slaves" "Options">> /*Will work to a limited degree*/ - <<set $NPCSlaves = Math.max($NPCSlaves - 200, 0>> + <<set $NPCSlaves = Math.max($NPCSlaves - 200, 0)>> <</link>> %/ -- GitLab