Skip to content

Commit

Permalink
Punic Republic Mapping and Loc Improvement
Browse files Browse the repository at this point in the history
Added mapping for Invictus' Punic Republic government form and improved Localization importation for countries which use a syntax of ": " instead of the standard ":0 ".
  • Loading branch information
DrDudelsack committed Mar 9, 2024
1 parent 05daf02 commit d16bca9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ImperatorToCk2/DataFiles/governmentConversion.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ democratic_republic,republic
plutocratic_republic,republic
athenian_republic,republic
dictatorship,republic
punic_republic,republic

#Monarchies

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@ public static String[] importLocalisation (ArrayList<String> locList, String tag
while (aqq < locList.size()){

String qaaa = locList.get(aqq);
qaaa = qaaa.replace(": ",":0 ");
try {
if (qaaa.charAt(0) != ' ') {//If loc lacks leading space, add a space
qaaa = " " + qaaa;
Expand Down

0 comments on commit d16bca9

Please sign in to comment.