fixed # 新增本地部署脚本,一键生成对应平台的压缩包内容

This commit is contained in:
2026-10-22 18:33:42 +08:00
parent 37c933db0c
commit d238005561
41 changed files with 1158 additions and 545 deletions
+2 -1
View File
@@ -11,7 +11,8 @@ def season_duration(plot: Plot) -> int:
def spawn_interval(plot: Plot) -> int:
return max(3600, (season_duration(plot) + 3) // 4)
"""至少留出两小时,每半个基础生长周期才发生一次虫害。"""
return max(7200, (season_duration(plot) + 1) // 2)
def start_growth(plot: Plot, now: int) -> Plot: