mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-10-07 23:13:17 -04:00
89b44d772b88504630cb66b74c93422f910197ef
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
SWG Source DSRC/Script Repo
This repo was forked from Stella Bellum. Please credit them (notably Cekis) if you use any of the work here.
Pull requests are welcome and encouraged
Languages
Java
99.9%
Perl
0.1%