баланс здоровья и охоты на кроликов
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user