Skip to content

Commit 60fb865

Browse files
authored
Update DHtoHoi4MinisterConverter_python2.py
1 parent 4e23712 commit 60fb865

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python2/DHtoHoi4MinisterConverter_python2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def __str__(self):
7474
return "%s, %s, %s, %s, %s, %s" % (self.position, self.name, self.start_year, self.end_year, self.ideology, self.trait)
7575

7676
def convert(self, country_tag):
77-
return unicode("\t# %s\n\t\t%s = {\n\t\t\tpicture = Generic_Portrait\n\t\t\tallowed = { tag = %s }\n\t\tavailable = { date > %s date < %s }\n\t\t\tcost = 150\n\t\t\tremoval_cost = 10\n\t\t\ttraits = { %s %s }\n\t\t}" % (self.name, self.idea_tag, country_tag, "%s.1.1" % self.start_year, "%s.1.1" % self.end_year, positions[self.position]+"_"+re.sub(" ", "_", self.trait), "ideology_"+self.ideology))
77+
return unicode("\t# %s\n\t\t%s = {\n\t\t\tpicture = Generic_Portrait\n\t\t\tallowed = { tag = %s }\n\t\t\tavailable = { date > %s date < %s }\n\t\t\tcost = 150\n\t\t\tremoval_cost = 10\n\t\t\ttraits = { %s %s }\n\t\t}" % (self.name, self.idea_tag, country_tag, "%s.1.1" % self.start_year, "%s.1.1" % self.end_year, positions[self.position]+"_"+re.sub(" ", "_", self.trait), "ideology_"+self.ideology))
7878

7979
def is_number(s):
8080
try:

0 commit comments

Comments
 (0)