Outdoorsmanship Settings - elanthia-online/dr-scripts GitHub Wiki

Description

Trains Outdoorsmanship, or Perception, by foraging or collecting until you've gained the mindstates you asked for.

  • Below 20 Outdoorsmanship, it FORAGEs for rocks and throws each one away.
  • At 20 and above, it COLLECTs your forage_item in practice mode (collect <item> practice).

Before each attempt it retreats if there are creatures in the room, and if the room is too cluttered it kicks the pile away.

crossing-training runs it for Outdoorsmanship and Perception. athletics and task-forage run it while they wait.

Settings

YAML Settings

Where and what

outdoors_room:
forage_item: rock
Setting Default Purpose
outdoors_room Room id to walk to before training. If it's blank, it trains where you are and says "'outdoors_room' not set. Training in current room." Below rank 20, pick a room with a trash bin, since it throws the rocks away.
forage_item rock What to COLLECT at rank 20 and above. Below 20 it always forages rocks, whatever this says.

If forage_item is blank at rank 20 or above and you don't name an item, it says "'forage_item' must be set in your YAML settings (rank 20+)." and stops.

How long it trains

outdoorsmanship_mindstate_goal: 31
Setting Default Purpose
outdoorsmanship_mindstate_goal 31 How many mindstates to gain. It's also the most attempts it makes: each forage or collect counts as one.

It stops at whichever comes first:

  • you've gained that many mindstates, or reached 34 (mind lock);
  • it has made that many attempts.

With the default of 31, that usually means training until you're mind locked. With ;outdoorsmanship 5, it makes at most 5 attempts. If you're already at 34 when it starts, it says "Nothing to do." and stops.

Magic and buffs

outdoorsmanship_skip_magic: false
waggle_sets:
  outdoorsmanship:
crafting_training_spells:
Setting Default Purpose
outdoorsmanship_skip_magic false Don't cast your outdoorsmanship waggle set or your crafting_training_spells.

Unless you skip magic, it casts your outdoorsmanship waggle set before starting (if you have one), and your crafting_training_spells between attempts. When it's done, it releases any spell you're preparing and any mana you're holding. It doesn't release symbiosis.

Throwing the rocks away

worn_trashcan:
worn_trashcan_verb:
Setting Default Purpose
worn_trashcan A worn container to throw the rocks into, if you have one.
worn_trashcan_verb The verb that empties your worn trashcan.

Without a worn trashcan, it uses a trash bin in the room, or drops the rock if there isn't one.

What each attempt does

There are no settings for these; this is what to expect.

  1. Retreats, if there are creatures in the room.

  2. Casts your crafting_training_spells (unless you skip magic).

  3. Below rank 20: FORAGEs for a rock, trying up to 5 times until something lands in your hands, then throws the rock away.

    • If the room is too cluttered, it kicks the pile and tries again.
    • If your hands are full, it stows your right hand.
    • If foraging here is futile, it gives up on that attempt.

    At rank 20 and above: collect <item> practice. If the room is too cluttered, it kicks the pile and collects again.

Argument Settings

Argument Purpose
perception Count Perception mindstates instead of Outdoorsmanship. It still forages or collects, based on your Outdoorsmanship rank.
skip_magic The same as outdoorsmanship_skip_magic: true.
number The mindstate goal and attempt limit, instead of outdoorsmanship_mindstate_goal.
room=id Walk to this room instead of outdoors_room.
item Collect this instead of forage_item (rank 20 and above). Use double quotes around more than one word.

Usage

;outdoorsmanship

;outdoorsmanship perception

;outdoorsmanship 5 room=1234

;outdoorsmanship "blue flower"

T2

training_list:
  - skill: Outdoorsmanship
    start: 10
    scripts:
      - outdoorsmanship
⚠️ **GitHub.com Fallback** ⚠️