Heron 89b44d772b Merge pull request #400 from SWG-Source/feature/lair-interactivity-config
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
2026-05-12 14:42:32 -04:00
2020-12-28 15:07:14 -05:00
2020-12-28 14:06:20 -06:00
2020-10-10 20:58:53 -04:00
2017-11-11 16:32:44 +00:00

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

S
Description
No description provided
Readme
156 MiB
Languages
Java 99.9%
Perl 0.1%