Levels
File: shared/config.lua → Config.Levels
Controls the leveling progression for the gardener job.
Fields
| Key | Type | Default | Description |
|---|---|---|---|
maxLevel | number | 100 | Maximum achievable level. |
xpForLevel | number | 1000 | Base XP required per level. |
How it works
The XP needed to level up scales linearly:
$$ \text{XP required} = \text{currentLevel} \times \texttt{xpForLevel} $$
For example, at level 5 with the default value of 1000:
- XP to reach level 6 =
5 × 1000 = 5000
When a player reaches maxLevel, their XP is capped and no further leveling occurs.
Each level-up grants 1 skill point automatically.
Example
shared/config.lua
Config.Levels = {
maxLevel = 100,
xpForLevel = 1000,
}Related pages
- Company — Defines the gardener company — its name, NPC, map blip, job requirement, parking spots, vehicles, and equipment offsets.
- Database — File: shared/config.lua → Config.Database
- Locale & Debug — Key Type Default Description ------- --------- ------- ------------------------------------------------------------------- Debug boolean true Enables debug mode.
- Missions — File: shared/config.lua → Config.Missions
- Skills — Defines the entire skill tree displayed in the Upgrades panel.
- Uniforms — File: shared/config.lua → Config.Uniforms
- Configuration — back to the section overview