mirror of
https://github.com/Shu-Ying/main_plugin_farm.git
synced 2026-10-31 06:49:59 +08:00
add # 新增使用开源字体
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user