refactor front
This commit is contained in:
@@ -31,7 +31,7 @@ def load_avatar_images(pygame_mod, tile_size: int):
|
||||
image_path = os.path.join(male_dir, filename)
|
||||
try:
|
||||
image = pygame_mod.image.load(image_path)
|
||||
avatar_size = max(26, int((tile_size * 4 // 3) * 1.2))
|
||||
avatar_size = max(26, int((tile_size * 4 // 3) * 1.5))
|
||||
scaled = pygame_mod.transform.scale(image, (avatar_size, avatar_size))
|
||||
male_avatars.append(scaled)
|
||||
except pygame_mod.error:
|
||||
@@ -44,7 +44,7 @@ def load_avatar_images(pygame_mod, tile_size: int):
|
||||
image_path = os.path.join(female_dir, filename)
|
||||
try:
|
||||
image = pygame_mod.image.load(image_path)
|
||||
avatar_size = max(26, int(tile_size * 4 // 3 * 0.8 * 1.2 * 1.2))
|
||||
avatar_size = max(26, int(tile_size * 4 // 3 * 0.8 * 1.2 * 1.2 * 1.2))
|
||||
scaled = pygame_mod.transform.scale(image, (avatar_size, avatar_size))
|
||||
female_avatars.append(scaled)
|
||||
except pygame_mod.error:
|
||||
|
||||
@@ -14,7 +14,7 @@ ai:
|
||||
max_decide_num: 3
|
||||
|
||||
game:
|
||||
init_npc_num: 2
|
||||
init_npc_num: 6
|
||||
npc_birth_rate_per_month: 0.001
|
||||
|
||||
df:
|
||||
|
||||
Reference in New Issue
Block a user