We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e23712 commit 60fb865Copy full SHA for 60fb865
1 file changed
python2/DHtoHoi4MinisterConverter_python2.py
@@ -74,7 +74,7 @@ def __str__(self):
74
return "%s, %s, %s, %s, %s, %s" % (self.position, self.name, self.start_year, self.end_year, self.ideology, self.trait)
75
76
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))
+ 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))
78
79
def is_number(s):
80
try:
0 commit comments