add # 新增使用开源字体

This commit is contained in:
2026-10-26 11:34:00 +08:00
parent dc17f7f65c
commit 22cfddcf06
68 changed files with 1772 additions and 461 deletions
+2 -1
View File
@@ -6,8 +6,9 @@ from .domain import Plot, integer
def season_duration(plot: Plot) -> int:
return (plot.plant.growth_seconds if plot.harvest_count == 0
base = (plot.plant.growth_seconds if plot.harvest_count == 0
else plot.plant.regrowth_seconds)
return max(1, (base * (80 if plot.land_level >= 2 else 100) + 99) // 100)
def spawn_interval(plot: Plot) -> int: