баланс здоровья и охоты на кроликов

This commit is contained in:
azykov@mail.ru
2026-09-04 21:45:01 +03:00
parent 396a604671
commit dbc0094986
12 changed files with 196 additions and 62 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ export const NIGHT_HOURS = 24 - NIGHT_START_HOUR + NIGHT_END_HOUR;
export const DAY_HOURS = 24 - NIGHT_HOURS;
/** Fixed (non-upgradable) night time-flow speed, in game-hours per real second — derived from the
* default 20s day-night cycle with a 10s night. */
export const NIGHT_SPEED = NIGHT_HOURS / 10;
* default 10s night. */
export const NIGHT_SPEED = NIGHT_HOURS / 20;
export function isNightHour(hour: number): boolean {
return hour >= NIGHT_START_HOUR || hour < NIGHT_END_HOUR;