Trading general (Cmud) (script)

From Elanthipedia
Revision as of 13:16, 14 November 2016 by ASDF123 (talk | contribs)
Jump to navigation Jump to search
Trading general (Cmud) (script)
Category trading
Front-end cmud
Author Tirsten


testing -

General Information

This script is for generic caravan management and travel

Front end: Cmud

Usage:  activates on looking at the caravan


The Script

<trigger priority="13030" id="1303">
    <pattern>^You tell the driver to give you an inventory report for your elaborate caravan.</pattern>
    <value>#var trading_places_from ""
        #var trading_places_to ""
        </value>
    <trigger type="Duration" param="5000">
        <pattern>^%sA sturdy crate is for a contract from ({@trading_places}) and destined for ({@trading_places}).$</pattern>
        <value>#echo "a"
            #additem trading_places_from %1
            #additem trading_places_to %2
            </value>
        </trigger>
    </trigger>