Heroic Tattoo Settings - elanthia-online/dr-scripts GitHub Wiki

Description

Keeps your Heroic tattoo invoked. It runs in the background, and whenever the tattoo is ready it pauses your other scripts, INVOKEs it, and lets them carry on. A use lasts 60 minutes, then the tattoo needs to rest before it can be used again.

It isn't stopped by ;kill all or paused by ;pause all; use ;kill heroic-tattoo.
If your tattoo isn't a Heroic tattoo, it says "Your tattoo is NOT a heroic tattoo, exiting for your safety." and stops. With no tattoo: "You have no magical tattoo of any kind."
The time it can next be used is saved between runs.

Settings

YAML Settings

heroic_tattoo_downtime_override:
heroic_tattoo_no_use_scripts:
- burgle
- go2
- athletics
- researcher
heroic_tattoo_no_use_rooms:
- 1900
- Knife Clan, Triage
- !ruby/regexp '/^(?:First )?Provincial Bank,/'
- !ruby/regexp '/Carousel (?:Booth|Chamber)$/'
- !ruby/regexp '/^(?:Shard, )?First Bank of Ilithi,?/'

The lists above are the base.yaml defaults. If you set your own, it replaces the default, so copy any entries you want to keep.

Setting Default Purpose
heroic_tattoo_downtime_override How long the tattoo rests between uses, in seconds. Without it, it works it out from your Arcana: 60 minutes, less a minute for every 24 ranks, and none from 1400 ranks.
heroic_tattoo_no_use_scripts (the list above) It doesn't invoke the tattoo while any of these scripts is running.
heroic_tattoo_no_use_rooms (the list above) It doesn't invoke it in these rooms. Each entry is a room id, a room's full title without the brackets, or a !ruby/regexp that matches part of the title.
  • After a use it says "Next attempt in minutes minutes". When you "suddenly feel less heroic", it counts the rest time from then.
  • If the tattoo is depleted, it tries again in 5 minutes, or sooner if your rest time is shorter. If you're already under a heroic effect, it waits for that to wear off and then the rest time; if it doesn't see the effect end, it tries again in an hour.
  • Anything unexpected: "Something went wrong, we'll try again in 5 minutes."

Argument Settings

Argument Purpose
once Stop after one successful use, however many tries that takes.
try Make one attempt, then stop.
cycle Show how long a use lasts, your rest time and the whole cycle, then stop.

Usage

;heroic-tattoo

;heroic-tattoo cycle

Autostart

It's meant to run all the time. Add it to the autostarts: list in your setup YAML:

autostarts:
  - heroic-tattoo