Cmud generic favors from crossing (script)

From Elanthipedia
Revision as of 20:10, 14 November 2016 by ASDF123 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Cmud generic favors from crossing (script)
Category utility,favors
Front-end cmud
Author Tirsten


General Information

This script is for getting favors from crossing

Front end: Cmud

Usage:  needs dynamic customization for which god to pray to, and automated exit (requires manual echo donegettingfavors after 2 favors are acquired


The Script

<class name="favors" id="2104">
  <trigger priority="21050" id="2105">
    <pattern>^getfavorfromcrossingwestgate$</pattern>
    <value>go gate</value>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>nw</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>w</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>sw</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>sw</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>s</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>w</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>sw</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>go path</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>sw</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>s</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>sw</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>sw</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>se</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>u</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>u</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>nw</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>go trail</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>go arch</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>go stone</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>echo getfavor Damaris</value>
    </trigger>
    <trigger>
      <pattern>^donegettingfavors$</pattern>
      <value>e</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>go arch</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>go trail</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>se</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>d</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>d</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>nw</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>ne</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>ne</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>n</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>ne</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>go path</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>ne</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>e</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>n</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>ne</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>ne</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>e</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>se</value>
    </trigger>
    <trigger>
      <pattern>^~[*~]$</pattern>
      <value>go gate</value>
    </trigger>
  </trigger>
  <trigger priority="21260" id="2126">
    <pattern>^getfavor (%x)$</pattern>
    <value>pray</value>
    <trigger>
      <pattern>^You kneel down and begin to pray</pattern>
      <value>pray</value>
    </trigger>
    <trigger>
      <pattern>^You close your eyes and pray.</pattern>
      <value>pray</value>
    </trigger>
    <trigger>
      <pattern>^As you continue to pray</pattern>
      <value>'damaris</value>
    </trigger>
    <trigger>
      <pattern>^The voice speaks to you again saying</pattern>
      <value>stand</value>
    </trigger>
    <trigger>
      <pattern>^The faint voice within tells you</pattern>
      <value>get orb</value>
    </trigger>
    <trigger>
      <pattern>^You get</pattern>
      <value>go arch</value>
    </trigger>
  </trigger>
  <trigger priority="21330" id="2133">
    <pattern>^You are standing in a square room of smooth, stone walls.  A table sits against one wall, directly opposite an ancient window.  The air is stifling due to the lack of circulation, and a plant upon the table looks as though it is slowly choking to death in the heat.</pattern>
    <value>open window</value>
  </trigger>
  <trigger priority="21350" id="2135">
    <pattern>^Judging the thickness of the paint which has sealed the window shut, you shimmy the frame of the glass to loosen it.  After a few strong shakes, you notice a thin crack running along the painted edge.</pattern>
    <trigger>
      <pattern>^Roundtime: (%d) seconds</pattern>
      <value>#alarm +%int(%1) {open window}</value>
    </trigger>
  </trigger>
  <trigger priority="21370" id="2137">
    <pattern>^Shaking the frame of the glass once more, you manage to loosen it even further.</pattern>
    <trigger>
      <pattern>^Roundtime: (%d) seconds</pattern>
      <value>#alarm +%int(%1) {open window}</value>
    </trigger>
  </trigger>
  <trigger priority="21390" id="2139">
    <pattern>^A cool, swift breeze moves into the room, chasing the stifling heat from your skin.</pattern>
    <trigger>
      <pattern>^Roundtime: (%d) seconds</pattern>
      <value>#alarm +%int(%1) {go window}</value>
    </trigger>
  </trigger>
  <trigger priority="21410" id="2141">
    <pattern>^Two fiery braziers stand astride a steep stone stairway which leads to a massive iron door above the main chamber in which you stand.  The soft light which undulates upon the walls reveals this place to be a room of worship, though its deity remains a mystery.    You also see a granite altar with several candles and a water jug on it, and a granite font.</pattern>
    <value>get jug</value>
    <trigger>
      <pattern>^You reverently take the jug from the altar.</pattern>
      <value>pour jug on font</value>
    </trigger>
    <trigger>
      <pattern>^You carefully carry the earthen jug to the font and pour the water out.</pattern>
      <value>go stair</value>
    </trigger>
    <trigger>
      <pattern>^You reach the top of the stairway</pattern>
      <value>go door</value>
    </trigger>
  </trigger>
  <trigger name="asdfasdfasdf" priority="21450" id="2145">
    <pattern>^Two fiery braziers stand astride a steep stone stairway which leads to a massive iron door above the main chamber in which you stand.  The soft light which undulates upon the walls reveals this place to be a room of worship, though its deity remains a mystery.    You also see a granite altar with several candles on it, a granite font and a small sponge.</pattern>
    <value>get sponge</value>
    <trigger>
      <pattern>^You pick up the sponge.</pattern>
      <value>clean altar with sponge</value>
    </trigger>
    <trigger>
      <pattern>^You place the sponge upon the altar and begin to wipe its surface clean</pattern>
      <value>go stair</value>
    </trigger>
    <trigger>
      <pattern>^You reach the top of the stairway</pattern>
      <value>go door</value>
    </trigger>
  </trigger>
  <trigger name="asdfasdf2" priority="21410" id="2149">
    <pattern>^Two fiery braziers stand astride a steep stone stairway which leads to a massive iron door above the main chamber in which you stand.  The soft light which undulates upon the walls reveals this place to be a room of worship, though its deity remains a mystery.    You also see some tinders, several candles, a granite font and a granite altar.</pattern>
    <value>get tind</value>
    <trigger>
      <pattern>^You reach into the brass bucket and extract one of the tinders.</pattern>
      <value>light candle</value>
    </trigger>
    <trigger>
      <pattern>^You carefully place your tinder over the brazier to set it on fire</pattern>
      <value>go stair</value>
    </trigger>
    <trigger>
      <pattern>^You reach the top of the stairway</pattern>
      <value>go door</value>
    </trigger>
  </trigger>
  <trigger priority="21530" id="2153">
    <pattern>^A peaceful grotto bathed in an ethereal light is swathed in hedges of oleander and nutflower.  The path upon which you stand winds around a simple white altar hewn of shimmering marble, and disappears in a copse of juniper trees.    You also see a vase on top of the altar.</pattern>
    <value>get ole</value>
    <trigger>
      <pattern>^You carefully pick some </pattern>
      <value>go path</value>
    </trigger>
  </trigger>
  <trigger priority="22710" id="2271">
    <pattern>^A soft voice echoes in your mind, saying, "Seek ye the altar known as - Li Stil rae Kwego</pattern>
    <value>put orb in my knap</value>
  </trigger>
</class>