Empathylink Settings - elanthia-online/dr-scripts GitHub Wiki
Description
Empaths: heals your hunting buddies while you hunt. While ;combat-trainer is running, it watches the room for anyone on your hunting_buddies list. When one is due, it pauses your other scripts, TOUCHes them, and either transfers their wounds to you or sets up a Hodierna link.
It runs in the background and does nothing while combat-trainer isn't running.
It never heals anyone who isn't on your hunting_buddies list.
Settings
YAML Settings
hunting_buddies:
- Bobafett
- Hansolo
noheal_empathylink:
- Jabba
has_hodierna: false
| Setting | Default | Purpose |
|---|---|---|
| hunting_buddies | The people to heal. It's the same list Hunting Buddy uses to share hunting rooms. | |
| noheal_empathylink | People never to heal, even if they're on hunting_buddies. |
|
| has_hodierna | false | You have the Hodierna link. With true, it sets up a persistent Hodierna link instead of transferring wounds. |
Taking someone off noheal_empathylink doesn't undo it. The "never" is remembered between sessions. To heal them again, also run ;e UserVars.empathylink.delete('Name'), using their name as it appears in the room.
What it does for each buddy
There are no settings for these; this is what to expect.
- Waits until the buddy is due (see the table below). It then waits 5 seconds and checks they're still in the room.
- Pauses your other scripts. If it can't yet, it tries again every 5 seconds. Then it waits for roundtime and TOUCHes the buddy.
- Without Hodierna, it runs TRANSFER name ALL. With Hodierna, it runs LINK name PERSISTENT, then LINK name HODIERNA.
- Unpauses your scripts, and notes when to try that buddy again:
| Result | Tries again after |
|---|---|
| Transfer started, or they have no wounds | 5 minutes |
| Hodierna link established | 30 minutes |
| Hodierna or persistent link failed | 5 minutes |
| Couldn't touch them, or the transfer failed | 30 minutes |
- These waits are remembered between sessions.
- Everyone else in the room who isn't on hold also gets the 5-second check while combat-trainer runs, even if they aren't a buddy. In a crowded room it can take a while to get round to your buddies.
Argument Settings
There are no arguments.
Usage
;empathylink
Start it alongside ;combat-trainer and leave it running. With Hunting Buddy, put it in the hunt's during: scripts. Those run in the background for the hunt and are stopped afterwards:
hunting_info:
- :zone: bulls_plateau
during:
- empathylink
Don't put it in before:. Those scripts must finish before the hunt starts, and empathylink never finishes.