New syllable based name generation, should increase startup performance

This commit is contained in:
luxick
2016-01-21 16:04:44 +01:00
parent e0e1db1b98
commit cf38fe207f
12 changed files with 58 additions and 94362 deletions

View File

@@ -4,7 +4,6 @@
from config import *
from mayorgotchi import Mayorgotchi
from util import Util
import names
import itertools
class Kinggotchi:
@@ -12,7 +11,7 @@ class Kinggotchi:
name = ''
def __init__(self):
self.name = names.get_last_name()
self.name = util.generateName()
def add_village(self, mayor):
self.myvillages.append(mayor)