Tycoon Economy Config
Tycoon economic rules: space, overcrowding, happiness, prestige
The single source of truth for the Tycoon economic rules (PLAN-Refonte-2026-08 §1–§3). Space — not money — is the scarce resource: a player's capacity grows with their zoo profession level, each species costs a number of spaces, and revenue scales with that cost. Everything here is Pages-configured; the code holds no balance number of its own.
Поля
| Поле | Тип | По умолчанию | Описание | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
baseSpaceCapacity | Int | 20 | Space capacity a player starts with, before any level bonus. | ||||||||||||||||||||||||||||||||
spacePerZooLevel | Int | 5 | Extra space capacity granted per level of the zoo profession. | ||||||||||||||||||||||||||||||||
zooProfessionId | String | zoo | RPGCore profession id whose level drives the space capacity. Empty (or RPGCore absent) pins the level to 1. | ||||||||||||||||||||||||||||||||
maxPlacedPerSpecies | Int | 3 | How many individuals of the SAME species may stand in the zoo at once. | ||||||||||||||||||||||||||||||||
overcrowding | OvercrowdingConfig | — | Overcrowding: a happiness malus past a share of the capacity.
|
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
enabled | Boolean | true | Whether the overcrowding malus applies at all. |
thresholdPercent | Int | 80 | Occupancy share (percent of capacity) past which the malus starts. |
happinessPenaltyPerPercent | Double | 0.5 | Happiness points lost per tick, per percentage point above the threshold. |
maxHappinessPenalty | Int | 20 | Upper bound on the happiness lost to overcrowding in a single tick. |
biomeAffinityEnabledBooleanfalseofflineCatchupOfflineCatchupConfigOfflineCatchupConfig (3)
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
enabled | Boolean | true | Whether a disconnected player accumulates anything at all. |
maxHours | Double | 4.0 | Hours of absence that still pay. Nothing accumulates beyond this. |
rate | Double | 0.5 | Share of the online rate paid while offline (0.5 = half). |
happinessHappinessConfigHappinessConfig (7)
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
initial | Int | 50 | Happiness of a freshly placed animal. |
restingValue | Int | 60 | Happiness drifting back toward this value every tick when nothing else applies. |
driftPerTick | Int | 2 | Points moved toward the resting value per tick. |
feedGain | Int | 15 | Points gained when the animal is fed. |
biomeBonus | Int | 5 | Points added per matching biome when biome affinity is enabled. |
revenueMultiplierAtZero | Double | 0.5 | Revenue multiplier at 0 happiness. |
revenueMultiplierAtMax | Double | 2.0 | Revenue multiplier at 100 happiness. |
maxAnimalLevelInt5maxPrestigeInt10prestigeRevenueBonusDouble0.10xpCurveList<Int>xpPerZooTickInt1xpPerFeedInt5How to use it
Create one entry. Without it the built-in defaults of every field apply, which is a valid starting point. The main levers are space (baseSpaceCapacity, spacePerZooLevel, maxPlacedPerSpecies), levels (maxAnimalLevel, xpCurve where each number is the XP to go from one level to the next, and the last value repeats), prestige (maxPrestige, prestigeRevenueBonus), happiness, overcrowding and offline catch-up. biomeAffinityEnabled is off by default and is only read when you want biome-based bonuses.