diff --git a/server/src/config/industryConfig.ts b/server/src/config/industryConfig.ts index 42dee27..0188d5d 100644 --- a/server/src/config/industryConfig.ts +++ b/server/src/config/industryConfig.ts @@ -18,6 +18,12 @@ export const industryConfig = { stoneClusterCount: { min: 3, max: 5 }, stoneClusterSize: { min: 2, max: 4 }, + // Berry bush generation + berryBushClusters: { min: 3, max: 5 }, + berryBushClusterSize: { min: 2, max: 4 }, + berryBushMaxCount: 5, + berryRegrowthTicks: 200, + // Invention inventionCheckInterval: 100, // ticks between eureka checks inventionBaseChance: 0.005, // 0.5% base per check diff --git a/server/src/config/runtimeConstants.ts b/server/src/config/runtimeConstants.ts index 6a972bd..e3ccae8 100644 --- a/server/src/config/runtimeConstants.ts +++ b/server/src/config/runtimeConstants.ts @@ -1,7 +1,7 @@ import type { TunableConstants, TunableKey } from '@dflike/shared'; import { TICK_RATE, BROADCAST_EVERY_N_TICKS, - HUNGER_DECAY_PER_TICK, ENERGY_DECAY_PER_TICK, HUNGER_THRESHOLD, ENERGY_THRESHOLD, NEED_RECOVERY_RATE, + HUNGER_DECAY_PER_TICK, ENERGY_DECAY_PER_TICK, HUNGER_THRESHOLD, ENERGY_THRESHOLD, NEED_RECOVERY_RATE, THIRST_DECAY_PER_TICK, THIRST_THRESHOLD, SLEEP_ENERGY_RECOVERY_PER_TICK, SLEEP_HUNGER_DECAY_MULTIPLIER, SLEEP_WAKE_THRESHOLD, SLEEP_VOLUNTARY_ENERGY_THRESHOLD, PRODUCTIVITY_DECAY_PER_TICK, PRODUCTIVITY_THRESHOLD, PRODUCTIVITY_RECOVERY_RATE, DAY_NIGHT_RATIO, DAY_HOURS, SUNSET_DURATION_HOURS, SUNRISE_DURATION_HOURS, NIGHT_DARKNESS, @@ -12,7 +12,7 @@ import { const DEFAULTS: TunableConstants = { TICK_RATE, BROADCAST_EVERY_N_TICKS, - HUNGER_DECAY_PER_TICK, ENERGY_DECAY_PER_TICK, HUNGER_THRESHOLD, ENERGY_THRESHOLD, NEED_RECOVERY_RATE, + HUNGER_DECAY_PER_TICK, ENERGY_DECAY_PER_TICK, HUNGER_THRESHOLD, ENERGY_THRESHOLD, NEED_RECOVERY_RATE, THIRST_DECAY_PER_TICK, THIRST_THRESHOLD, SLEEP_ENERGY_RECOVERY_PER_TICK, SLEEP_HUNGER_DECAY_MULTIPLIER, SLEEP_WAKE_THRESHOLD, SLEEP_VOLUNTARY_ENERGY_THRESHOLD, PRODUCTIVITY_DECAY_PER_TICK, PRODUCTIVITY_THRESHOLD, PRODUCTIVITY_RECOVERY_RATE, DAY_NIGHT_RATIO, DAY_HOURS, SUNSET_DURATION_HOURS, SUNRISE_DURATION_HOURS, NIGHT_DARKNESS, diff --git a/server/src/industry/itemRegistry.ts b/server/src/industry/itemRegistry.ts index 3ae8d7c..c98a7a4 100644 --- a/server/src/industry/itemRegistry.ts +++ b/server/src/industry/itemRegistry.ts @@ -55,6 +55,13 @@ export class ItemRegistry { category: 'resource', source: 'seed', }); + registry.register({ + id: 'berries', + name: 'Berries', + description: 'Wild berries foraged from bushes', + category: 'resource', + source: 'seed', + }); registry.register({ id: 'wooden_axe', name: 'Wooden Axe',