Trading general (Cmud) (script): Difference between revisions
Jump to navigation
Jump to search
(cmud trading script) |
No edit summary |
||
Line 25: | Line 25: | ||
==The Script== |
==The Script== |
||
<pre> |
|||
<trigger priority="13030" id="1303"> |
|||
<pattern>^You tell the driver to give you an inventory report for your elaborate caravan.</pattern> |
<pattern>^You tell the driver to give you an inventory report for your elaborate caravan.</pattern> |
||
<value>#var trading_places_from "" |
|||
#var |
<value>#var trading_places_from "" |
||
#var trading_places_to "" |
|||
</value> |
</value> |
||
<trigger type="Duration" param="5000"> |
<trigger type="Duration" param="5000"> |
||
<pattern>^%sA sturdy crate is for a contract from ({@trading_places}) and destined for ({@trading_places}).$</pattern> |
<pattern>^%sA sturdy crate is for a contract from ({@trading_places}) and destined for ({@trading_places}).$</pattern> |
||
<value>#echo "a" |
<value>#echo "a" |
||
#additem trading_places_from %1 |
|||
#additem |
#additem trading_places_from %1 |
||
#additem trading_places_to %2 |
|||
</value> |
|||
</ |
</value> |
||
</trigger> |
</trigger> |
||
</trigger> |
|||
</pre> |
</pre> |
Revision as of 13:16, 14 November 2016
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>