mirror of
https://github.com/SWG-Source/client-assets.git
synced 2026-09-11 21:45:33 -04:00
Merge pull request #22 from SWG-Source/client-lair-interactivity-search-reset
Updates to lair interactivity. This feature must be enabled through the server configuration. When disabled, the vanilla lair search behavior remains unchanged. When enabled, lair interactivity allows server operators to configure: - reset time, allowing a lair to be searched again after a configured delay - egg search chance - nothing-found chance - empty-lair chance - luck usage - egg reward multiplier The bug chance is derived from the remaining chance after `eggChance` and `nothingChance`. This also adds an `adminLair` command with the following options: - `adminLair info` — shows the current search state for the targeted lair - `adminLair set` — marks the targeted lair as searched - `adminLair clear` — clears the search state from the targeted lair The command requires god mode. Example `localOptions.cfg` server configuration: ```ini #====================Lair Interactivity Settings==================== [LairInteractivity] enabled=true resetMinutes=1 eggChance=80 nothingChance=10 emptyChance=35 useLuck=true eggAmountMultiplierPercent=500
This commit is contained in:
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user