Skip to content

Commit d16bca9

Browse files
committed
Punic Republic Mapping and Loc Improvement
Added mapping for Invictus' Punic Republic government form and improved Localization importation for countries which use a syntax of ": " instead of the standard ":0 ".
1 parent 05daf02 commit d16bca9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ImperatorToCk2/DataFiles/governmentConversion.txt

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ democratic_republic,republic
99
plutocratic_republic,republic
1010
athenian_republic,republic
1111
dictatorship,republic
12+
punic_republic,republic
1213

1314
#Monarchies
1415

ImperatorToCk2/src/main/java/com/paradoxgameconverters/irtockii/Importer.java

+1
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,7 @@ public static String[] importLocalisation (ArrayList<String> locList, String tag
729729
while (aqq < locList.size()){
730730

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

0 commit comments

Comments
 (0)