Skip to content

Sell Pouches Settings

kahlen-tech edited this page Oct 3, 2026 · 1 revision

Description

Sells gem pouches at your hometown gem shop, one at a time, until none are left to sell or your Trading mindstate passes sell_pouches_trading_limit. Each pouch is appraised first, so every sale is reported with the bonus it got over the appraised value. sell-loot runs afterwards.

Pouches are checked wherever you start. It walks to the gem shop only once it has a pouch it can sell.

Settings

YAML Settings

Pouch settings

sale_pouches_container: backpack
sell_pouches_trading_limit: 30
Setting Default Purpose
sale_pouches_container backpack Where the pouches to sell are kept. If it isn't set, the script says so and sells nothing.
sell_pouches_trading_limit 30 Stops once your Trading mindstate is above this (0-34). Set it lower to stop sooner.

Where to sell

The gem shop comes from your hometown's entry in data/base-town.yaml. If that town has no gem shop, the script stops with NO GEMSHOP DATA FOUND?.

hometown: Crossing

Throwing away empty pouches

After a sale, the empty pouch goes into your worn trashcan if you have one, otherwise a bin in the room, or is dropped if there isn't one.

worn_trashcan:
worn_trashcan_verb:

Buffs

Just before the first sale, it runs buff sell-pouches, so a sell-pouches waggle set is cast if you have one. See Buff.

waggle_sets:
  sell-pouches:

crossing-training

crossing-training can sell pouches as part of its Trading training. With this on, whenever crossing-training trains Trading and your Trading mindstate is below 5, it runs sell-pouches first. If that brings Trading above 5, crossing-training skips the rest of its Trading training (work orders) for that pass.

sell_pouches_for_trading: false
Setting Default Purpose
sell_pouches_for_trading false Read by crossing-training only: run sell-pouches as part of Trading training.

How pouches are handled

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

  • Nothing to sell. If your Trading mindstate is already above the limit, or there's no pouch in sale_pouches_container, nothing is taken out and there's no trip. sell-loot still runs.
  • Closed and tied pouches. A closed pouch is opened so it can be appraised. A tied pouch appraises and sells like any other.
  • Empty pouches are kept. An empty pouch, or one it can't open or appraise, goes back into sale_pouches_container and the script moves on to the next pouch. These pouches are never sold or thrown away. If the container holds nothing else, it doesn't make the trip.
  • Many pouches to skip. After skipping 20 pouches in one run, it stops.
  • Sales. Each sale is reported against the appraisal in coins, for example Pouch appraised at 1 platinum Kronars, sold for 1 platinum, 2 gold, 3 silver, 4 bronze, 5 copper Kronars (23.45% bonus).
  • A pouch the shop won't buy. It goes back into sale_pouches_container and selling stops. A pouch you put back goes to the front of the container, so the next run tries that pouch first. Sell it by hand, or move it out of the container.
  • Anything unexpected. If a pouch won't go back into the container, or the empty can't be thrown away or isn't in your hand after a sale, selling stops with a message saying what to check.

Argument Settings

None.

Usage

;sell-pouches

You can run it automatically in a subsection of T2.

T2

- skill: Trading
  start: 10
  scripts:
  - sell-pouches

Clone this wiki locally