Guild: Merchants (ggrtf-merchant.tf)

This module provides, in addition to basic skill/spell fail/fumble handling, several helper macros, which may ease your work as merchant.

Many of the command macros support "autotargetting", which basically means that you can walk in outerworld and just type "/lj" for lumberjacking and "/mine" for mining and GgrTF usually knows what to do. Some macros require bit more specific arguments.

There is also support for merchant belt, which can be enabled if you have one available. In case your belt is not complete or is totally non-existent, the system has semi-automatic tool wielding functionality: if you use /lj and then /mine, the macros will automagically change to proper tools (saw -> hammer/pick). The system is not perfect and sometimes it may fail, however.

Notice that you probably MUST redefine some of these macros and default settings in your TF configuration file! (See Settings-section below.)

Macro commands

<> = required argument, [] = optional argument, (*) = autotargets, (!) = moves items to item target

Table 3.20. Macro commands

Command Description
/havebelt Toggle support for merchant belt functionality on/off.
/mdisc Change item move target to your floating disc.
/mbox Change item move target to box (labeled as 'collect')
/mdrop Change item move target to drop item.
/lj [target] Use lumberjacking (at optional target, if no target given, autotargetting or previous specified target is used.) (*) (!)
/mine [target] Use mining (at optional target, if no target given, autotargetting or previous specified target is used.) (*) (!)
/mr <material> Make reagent from material.
/gcut <material> Use gem cutting at material. (!)
/amal <material> Amalgamate material.
/refine <material> Refine material.
/mcut <material> [size] Mineral cut material. Optional size can be give in grams. If no size is specified, material is cut in half.

Table 3.21. Unfinished / buggy macros

Command Description
/id <item> [target] Cast 'identify' spell at specified item and optionally send output to target player. Example: /id ring jeskko
/alloy <materials> Alloy given materials. Example: /alloy illumium,nullium

Settings and user-replaceable macros

Variables and user-replaceable macros definedby this module are described in a table below. They have specific defaults, which you can override in your configuration if you re-set/re-define them after loading the module. Please refer to Setup-section of this manual or see the example configuration for this module.

Table 3.22. 

Variable / macro name Description
opt_havebelt Enables merchant belt support. Valid values: on, off
mtool_mine Tool(s) for mining. Example: /set mtool_mine=pick 1,pick 2
mtool_lj Tool(s) for lumberjacking. Example: /set mtool_lj=saw
mtool_bs Tool(s) for blacksmithing.
mtool_cp Tool(s) for carpentry.
mtool_gc Tool(s) for gem cutting.
mtool_gb Tool(s) for glassblowing.
mtool_ma Tool(s) for masonry.
mtool_sw Tool(s) for sewing.
mtool_sc Tool(s) for sculpture skill.
mforge_* Forges/workbenches for skills (similar to mtool_* variables)