dreadnought/Dreadnought.xml
Zachary Dziura 61518e980e Finally fixed the Clarity spam bug
Hopefully for good this time!
2016-10-21 17:29:29 -04:00

3219 lines
162 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE MudletPackage>
<MudletPackage version="1.0">
<TriggerPackage>
<TriggerGroup isActive="yes" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Dreadnought</name>
<script></script>
<triggerType>0</triggerType>
<conditonLineDelta>39</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList/>
<regexCodePropertyList/>
<TriggerGroup isActive="yes" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Locking/Unlocking</name>
<script></script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList/>
<regexCodePropertyList/>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Chair Locked</name>
<script>enableAlias(&quot;Pilot&quot;)
enableTrigger(&quot;Pilot&quot;)
disableTrigger(&quot;Autopilot&quot;)
send(&quot;config shipsight 1&quot;, false)
send(&quot;config aethermap on&quot;, false)
local reset = dreadnought.reset.pilot()
dreadnought.aetherbeastsTotal = reset.aetherbeastsTotal
dreadnought.currentModule = matches[2]
dreadnought.pilot = reset.pilot
sendGMCP([[Char.Skills.Get {&quot;group&quot;:&quot;aethercraft&quot;}]])
send(&quot;\n&quot;)</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^You step up to the command (\w+), locking yourself into the module and linking your mind to the controls of the ship\. After a moment, you begin to sense your command of the module in your own brain\.$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Chair Unlocked</name>
<script>disableAlias(&quot;Pilot&quot;)
disableTrigger(&quot;Pilot&quot;)
disableTrigger(&quot;Autopilot&quot;)
send(&quot;config shipsight 0&quot;, false)
send(&quot;config aethermap off&quot;, false)
local reset = dreadnought.reset.pilot()
dreadnought.aetherbeastsTotal = reset.aetherbeastsTotal
dreadnought.currentModule = reset.currentModule
dreadnought.pilot = reset.pilot</script>
<triggerType>0</triggerType>
<conditonLineDelta>39</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>With a long, slow blink, you allow your mind to drift free from the ship, and release your lock on the command of the command chair.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Grid Locked</name>
<script>enableAlias(&quot;Empath&quot;)
enableTrigger(&quot;Empath&quot;)
enableTrigger(&quot;Grid Setup&quot;)
send(&quot;config shipsight 0&quot;, false)
send(&quot;config aethermap off&quot;, false)
local reset = dreadnought.reset.empath()
dreadnought.aetherbeastsTotal = reset.aetherbeastsTotal
dreadnought.currentModule = &quot;grid&quot;
dreadnought.actions = reset.actions
dreadnought.empath = reset.empath
sendGMCP([[Char.Skills.Get {&quot;group&quot;:&quot;aethercraft&quot;}]])
send(&quot;\n&quot;)
deleteLineP()
send(&quot;grid modules&quot;)</script>
<triggerType>0</triggerType>
<conditonLineDelta>99</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^You step up to the empathic (\w+), locking yourself into the module and linking your mind to the controls of the ship\. After a moment, you begin to sense your command of the module in your own brain\.$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Grid Unlocked</name>
<script>disableAlias(&quot;Empath&quot;)
disableTrigger(&quot;Empath&quot;)
send(&quot;config shipsight 0&quot;, false)
send(&quot;config aethermap off&quot;, false)
local reset = dreadnought.reset.empath()
dreadnought.aetherbeastsTotal = reset.aetherbeastsTotal
dreadnought.currentModule = reset.currentModule
dreadnought.actions = reset.actions
dreadnought.empath = reset.empath</script>
<triggerType>0</triggerType>
<conditonLineDelta>39</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>With a long, slow blink, you allow your mind to drift free from the ship, and release your lock on the command of the empathic grid.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Turret Locked</name>
<script>enableAlias(&quot;Combateer&quot;)
enableTrigger(&quot;Combateer&quot;)
enableTrigger(&quot;Targetting - Callout&quot;)
send(&quot;config shipsight 0&quot;, false)
send(&quot;config aethermap off&quot;, false)
local reset = dreadnought.reset.combateer()
dreadnought.aetherbeastsTotal = reset.aetherbeastsTotal
dreadnought.currentModule = &quot;turret&quot;
dreadnought.actions = reset.actions
dreadnought.combateer = reset.combateer
enableTrigger(&quot;Turret Setup&quot;)
send(&quot;p turret&quot;, false)
sendGMCP([[Char.Skills.Get {&quot;group&quot;:&quot;aethercraft&quot;}]])
send(&quot;\n&quot;)</script>
<triggerType>0</triggerType>
<conditonLineDelta>39</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>You step up to a battle turret, locking yourself into the module and linking your mind to the controls of the ship. After a moment, you begin to sense your command of the module in your own brain.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Turret Unlocked</name>
<script>disableAlias(&quot;Combateer&quot;)
disableTrigger(&quot;Combateer&quot;)
disableTrigger(&quot;Targetting - Auto&quot;)
disableTrigger(&quot;Targetting - Callout&quot;)
send(&quot;config shipsight 0&quot;, false)
send(&quot;config aethermap off&quot;, false)
local reset = dreadnought.reset.combateer()
dreadnought.aetherbeastsTotal = reset.aetherbeastsTotal
dreadnought.currentModule = reset.currentModule
dreadnought.actions = reset.actions
dreadnought.combateer = reset.combateer</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>With a long, slow blink, you allow your mind to drift free from the ship, and release your lock on the command of a battle turret.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Collector Locked</name>
<script>enableAlias(&quot;Collector&quot;)
enableTrigger(&quot;Collector&quot;)
disableTrigger(&quot;Siphoning - Auto&quot;)
disableTrigger(&quot;Siphoning - Callout&quot;)
send(&quot;config shipsight 0&quot;, false)
send(&quot;config aethermap off&quot;, false)
dreadnought.currentModule = matches[2]</script>
<triggerType>0</triggerType>
<conditonLineDelta>39</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^You step up to an energy (\w+), locking yourself into the module and linking your mind to the controls of the ship\. After a moment, you begin to sense your command of the module in your own brain\.$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Collector Unlocked</name>
<script>disableAlias(&quot;Collector&quot;)
disableTrigger(&quot;Collector&quot;)
disableTrigger(&quot;Siphoning - Auto&quot;)
disableTrigger(&quot;Siphoning - Callout&quot;)
send(&quot;config shipsight 0&quot;, false)
send(&quot;config aethermap off&quot;, false)
dreadnought.currentModule = &quot;&quot;</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>With a long, slow blink, you allow your mind to drift free from the ship, and release your lock on the command of an energy collector.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
</TriggerGroup>
<TriggerGroup isActive="no" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Pilot</name>
<script></script>
<triggerType>0</triggerType>
<conditonLineDelta>99</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList/>
<regexCodePropertyList/>
<TriggerGroup isActive="no" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Autopilot</name>
<script></script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList/>
<regexCodePropertyList/>
<Trigger isActive="no" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Siphon Callout</name>
<script>if dreadnought.aetherbeastsTotal == 0 and dreadnought.pilot.flags.siphonCallout then
dreadnought.calloutSiphon()
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>99</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>An energy vortex pulsates brightly.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Aetherbeast Summoned</name>
<script>dreadnought.pilot.aetherbeastsPresent = dreadnought.pilot.aetherbeastsPresent + 1
dreadnought.aetherbeastsTotal = dreadnought.aetherbeastsTotal + 1
dreadnought.pilot.siphonCalloutCount = 0
send(&quot;shipt Target &quot; .. matches[2])
local newPosition = dreadnought.autopilot(dreadnought.balance, dreadnought.pilot.aetherbeastsPresent,
dreadnought.aetherbeastsTotal, dreadnought.pilot.currentPosition, dreadnought.pilot.flags)
if newPosition ~= 0 then
dreadnought.pilot.currentPosition = newPosition
end
if dreadnought.pilot.flags.siphonCallout then
killTimer(&quot;dreadnought.pilot.calloutTimer&quot;)
dreadnought.pilot.flags.siphonCallout = false
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^Drawn by the flux of energy, a \w+ (\w+) suddenly wanders into the nearby area\.$</string>
<string>^Drawn by the flux of energy, a six-headed (\w+) suddenly wanders into the nearby area\.$</string>
<string>^Drawn by the flux of energy, a swarm of (\w+) suddenly wanders into the nearby area\.$</string>
<string>^Drawn by the flux of energy, a school of burning (\w+) suddenly wanders into the nearby area\.$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
<integer>1</integer>
<integer>1</integer>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Karibidean Summoned</name>
<script>dreadnought.pilot.aetherbeastsPresent = dreadnought.pilot.aetherbeastsPresent + 1
dreadnought.aetherbeastsTotal = dreadnought.aetherbeastsTotal + 1
send(&quot;shipt Batten down the hatches! A karibidean approaches!&quot;)
send(&quot;shipt Target karibidean&quot;)
flowerbox(&quot;red&quot;, &quot;KARIBIDEAN!!!&quot;)
dmsg(&quot;Switching to manual override!&quot;)
dreadnought.autopilot(dreadnought.balance, dreadnought.pilot.aetherbeastsPresent,
dreadnought.aetherbeastsTotal, dreadnought.pilot.currentPosition, dreadnought.pilot.flags)
--disableTrigger(&quot;Autopilot&quot;)
</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand>shipt Target karibidean</mCommand>
<packageName></packageName>
<mFgColor>#aa55ff</mFgColor>
<mBgColor>#ff0000</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>The energy vortex flashes and a vortex karibidean flies out of it.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Aetherbeast Enters</name>
<script>dreadnought.pilot.aetherbeastsPresent = dreadnought.pilot.aetherbeastsPresent + 1
local newPosition = dreadnought.autopilot(dreadnought.balance, dreadnought.pilot.aetherbeastsPresent,
dreadnought.aetherbeastsTotal, dreadnought.pilot.currentPosition, dreadnought.pilot.flags)
if newPosition ~= 0 then
dreadnought.pilot.currentPosition = newPosition
end
</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^(?:\w+\s){3}enters from the \w+ on the aetherways\.$</string>
<string>^A six-headed scyllus enters from the \w+ on the aetherways\.$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Entering Shockwave</name>
<script>dreadnought.pilot.flags.shocked = true</script>
<triggerType>0</triggerType>
<conditonLineDelta>39</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^You are thrust forward as(?:\s\w+(?:\'\w+)?)+ shudders violently and comes to a complete stop\.$</string>
<string>The command chair is unresponsive to your requests.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Freed From Shockwave</name>
<script>dreadnought.pilot.flags.shocked = false
local newPosition = dreadnought.autopilot(dreadnought.balance, dreadnought.pilot.aetherbeastsPresent,
dreadnought.aetherbeastsTotal, dreadnought.pilot.currentPosition, dreadnought.pilot.flags)
if newPosition ~= 0 then
dreadnought.pilot.currentPosition = newPosition
end
</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>I am clearing the command chair of all impairments\.&quot;$</string>
<string>^With a ripple,(?:\s\w+(?:\'\w+)?)+ frees itself from its shockwave\.$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Aetherbeast Dies</name>
<script>if dreadnought.pilot.aetherbeastsPresent &gt; 0 then
dreadnought.pilot.aetherbeastsPresent = dreadnought.pilot.aetherbeastsPresent - 1
end
if dreadnought.aetherbeastsTotal &gt; 0 then
dreadnought.aetherbeastsTotal = dreadnought.aetherbeastsTotal - 1
end
if dreadnought.aetherbeastsTotal == 0 then
dreadnought.pilot.flags.siphonCallout = true
end
local newPosition = dreadnought.autopilot(dreadnought.balance, dreadnought.pilot.aetherbeastsPresent,
dreadnought.aetherbeastsTotal, dreadnought.pilot.currentPosition, dreadnought.pilot.flags)
if newPosition ~= 0 then
dreadnought.pilot.currentPosition = newPosition
end
</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^(?:\w+(?:\-\w+)?\s){3}suddenly explodes\!$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Pilot Balance</name>
<script>dreadnought.balance = true
local newPosition = dreadnought.autopilot(dreadnought.balance, dreadnought.pilot.aetherbeastsPresent,
dreadnought.aetherbeastsTotal, dreadnought.pilot.currentPosition, dreadnought.pilot.flags)
if newPosition ~= 0 then
dreadnought.pilot.currentPosition = newPosition
end
</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>The command chair whirrs quietly, ready to be used once again.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
</TriggerGroup>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Ship Move</name>
<script>dreadnought.pilot.aetherbeastsPresent = 0</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^You steer(?:\s\w+(?:\'\w+)?)+ to the \w+\.$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Shockwave Timer</name>
<script>table.insert(dreadnought.pilot.shockwaveTimers, tempTimer(3420, function () -- Fire after 57 minutes
flowerbox(&quot;red&quot;, &quot;YOUR SHOCKWAVES ARE ABOUT TO EXPIRE!!&quot;)
send(&quot;shipt The shockwaves are about to expire. We'll stop and collect the dust until then.&quot;, false)
killTimer(table.remove(dreadnought.pilot.shockwaveTimers, 1))
dreadnought.pilot.flags.siphonCallout = false
disableTrigger(&quot;Siphon Callout&quot;)
end))</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>A nearby turret blankets aetherspace with bolts of crackling energy, which ripple around this space in waves of coruscating power.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Highlights</name>
<script>selectCurrentLine()
fg(&quot;green&quot;)
deselect()
resetFormat()</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^With a ripple,(?:\s\w+(?:\'\w+)?)+ frees itself from its shockwave\.$</string>
<string>The command chair whirrs quietly, ready to be used once again.</string>
<string>^(?:\w+\s){3}suddenly explodes\!$</string>
<string>A six-headed scyllus suddenly explodes!</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
<integer>3</integer>
<integer>1</integer>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
</TriggerGroup>
<TriggerGroup isActive="no" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Empath</name>
<script></script>
<triggerType>0</triggerType>
<conditonLineDelta>99</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList/>
<regexCodePropertyList/>
<Trigger isActive="no" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Grid Setup</name>
<script>if matches[2] == &quot;chair&quot; then
dreadnought.empath.modules.chair = matches[3]
elseif matches[2] == &quot;orb&quot; then
dreadnought.empath.modules.orb = matches[3]
elseif matches[2] == &quot;grid&quot; then
dreadnought.empath.modules.grid = matches[3]
elseif matches[2] == &quot;cube&quot; then
dreadnought.empath.modules.cube = matches[3]
elseif matches[2] == &quot;turret&quot; then
table.insert(dreadnought.empath.modules.turrets, matches[3])
elseif matches[2] == &quot;collector&quot; then
table.insert(dreadnought.empath.modules.collectors, matches[3])
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>1</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^&quot;(\D+)(\d+)&quot;\s+(?:\w+\s){3}\s+\d+\%\ \/\ \w+ damage</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>End Setup</name>
<script>disableTrigger(&quot;Grid Setup&quot;)
dreadnought.repairShip(dreadnought.actions)
dmsg(&quot;The empathic grid is set up and ready for your control.&quot;)</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>return isPrompt()</string>
</regexCodeList>
<regexCodePropertyList>
<integer>4</integer>
</regexCodePropertyList>
</Trigger>
</Trigger>
<TriggerGroup isActive="yes" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Repairing</name>
<script></script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList/>
<regexCodePropertyList/>
<TriggerGroup isActive="yes" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Hull</name>
<script></script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList/>
<regexCodePropertyList/>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Repaired</name>
<script>while dreadnought.actions.size &gt; 0 do
local action = dreadnought.heap.head(dreadnought.actions)
action.postCommand()
if action.name == &quot;hull&quot; then
dreadnought.heap.extract(dreadnought.actions)
else
break
end
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>Bright tendrils of energy pulsate through the ship and heal the hull to full strength.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
</TriggerGroup>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Modules</name>
<script>local module = matches[2]
local id = matches[3]
local damage = matches[4]
local operator = matches[5]
local hasParasite = (matches[6] ~= nil and matches[6] ~= &quot;&quot;)
if damage ~= &quot;no&quot; then
local priority = 0
if operator ~= &quot;&quot; then
if module == &quot;grid&quot; then
priority = 3
elseif module == &quot;chair&quot; then
priority = 5
elseif module == &quot;turret&quot; then
priority = 6
elseif module == &quot;collector&quot; then
priority = 7
elseif module == &quot;orb&quot; then
priority = 8
elseif module == &quot;cube&quot; then
priority = 9
else
priority = 10
end
else
if not hasParasite then
priority = 11
else
priority = 12
end
end
dreadnought.heap.insert(dreadnought.actions, dreadnought.action(module, priority, &quot;grid repair module &quot; .. id))
end
if dreadnought.empath.flags.checkSlivven and hasParasite then
if operator ~= &quot;&quot; then
send(&quot;shipt Captain, there's a slivven attacking &quot; .. operator .. &quot;'s &quot; .. module, false)
else
send(&quot;shipt Captain, there's a slivven attacking an unoccupied &quot; .. module, false)
end
dreadnought.empath.slivvensFound = dreadnought.empath.slivvensFound + 1
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>1</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^&quot;(\D+)(\d+)&quot;\s+(?:\w+\s?){3}\s+\d+\% \/ (\w+) damage(?: \[(\w+)\])?(?: (PARASITE)\!)?$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>End Repair</name>
<script>if dreadnought.empath.flags.checkSlivven then
local slivvensFound = dreadnought.empath.slivvensFound
if slivvensFound == 0 then
send(&quot;shipt No slivvens detected upon the ship.&quot;, false)
elseif slivvensFound == 1 then
send(&quot;shipt Only one slivven infecting the ship.&quot;, false)
else
send(&quot;shipt A total of &quot; .. slivvensFound .. &quot; slivvens infecting the ship.&quot;, false)
end
dreadnought.empath.slivvensFound = 0
dreadnought.empath.flags.checkSlivven = false
end
dreadnought.repairShip(dreadnought.actions)</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>return isPrompt()</string>
</regexCodeList>
<regexCodePropertyList>
<integer>4</integer>
</regexCodePropertyList>
</Trigger>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Repairing</name>
<script>local action = dreadnought.heap.head(dreadnought.actions)
action.postCommand()
if action.name == matches[2] then
dreadnought.heap.extract(dreadnought.actions)
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>You send a surge of strength through the empathic grid</string>
<string>As you attempt to operate the empathic grid, it sputters and gyrates without producing a noticeable result.</string>
<string>The empathic grid is not yet ready to be used again.</string>
<string>^Crackling energy surges to (?:a|an) \w+ (\w+), fully healing it\.$</string>
<string>The empathic grid is not yet ready to be used again.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>2</integer>
<integer>3</integer>
<integer>3</integer>
<integer>1</integer>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Already Repaired</name>
<script>deleteLineP()
dreadnought.heap.extract(dreadnought.actions).postCommand()
dreadnought.repairShip(dreadnought.actions)</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>That module is already in full repair.</string>
<string>The ship's hull is already at maximum strength.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
</TriggerGroup>
<TriggerGroup isActive="yes" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Clarity</name>
<script></script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList/>
<regexCodePropertyList/>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Call</name>
<script>if dreadnought.empath.skills.Purser then
dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;clarity&quot;, 4, &quot;grid clarity &quot; .. dreadnought.empath.modules.chair))
else
send(&quot;shipt I can't, Captain! I'm not trained enough!&quot;, false)
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>99</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^\(Ship\): \w+ (?:say|says), \&quot;Clarity.\&quot;$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Emergency</name>
<script>if dreadnought.empath.skills.Purser then
dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;emergency clarity&quot;, 1, &quot;grid clarity &quot; .. dreadnought.empath.modules.chair))
else
send(&quot;shipt I can't, Captain! I'm not trained enough!&quot;, false)
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^\(Ship\): \w+ says, \&quot;Emergency clarity\!\&quot;$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Finish</name>
<script>local action = dreadnought.heap.head(dreadnought.actions)
if action.name == &quot;emergency clarity&quot; or action.name == &quot;clarity&quot; then
dreadnought.heap.extract(dreadnought.actions)
end
action.postCommand()</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>I am clearing the command chair of all impairments.&quot;$</string>
<string>That module needs no clarity.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Target Destroyed</name>
<script>if dreadnought.empath.skills.Purser then
dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;clarity&quot;, 4, &quot;grid clarity &quot; .. dreadnought.empath.modules.chair))
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>suddenly explodes!$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
</TriggerGroup>
<TriggerGroup isActive="yes" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Launch Setup</name>
<script></script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList/>
<regexCodePropertyList/>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Launch</name>
<script>if dreadnought.empath.skills.FirstMate then
dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;planarbond&quot;, 1, &quot;grid planarbond&quot;))
dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;covey&quot;, 1, &quot;grid covey&quot;))
dreadnought.repairShip(dreadnought.actions)
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^[\w\'\s]+ launches into the aetherways\.$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Covey</name>
<script>local action = dreadnought.heap.head(dreadnought.actions)
if action.name == &quot;covey&quot; then
dreadnought.heap.extract(dreadnought.actions)
end
action.postCommand()</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^You point out to [\w\'\s]+ that she has a covey\.$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Planarbond</name>
<script>local action = dreadnought.heap.head(dreadnought.actions)
if action.name == &quot;planarbond&quot; then
dreadnought.heap.extract(dreadnought.actions)
end
action.postCommand()</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^You direct [\w\'\s]+ to form a deep planar bond with the crew, rooting each of them to the distant aetherwaves\.$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
</TriggerGroup>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Slivven Check</name>
<script>dreadnought.actions = dreadnought.heap.new()
dreadnought.empath.flags.checkSlivven = true
send(&quot;grid modules&quot;, false)</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^\(Ship\): \w+ (?:say|says), &quot;Check\.&quot;$</string>
<string>I have been infested by an aetheretic slivven\!&quot;$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Prompt</name>
<script>if dreadnought.currentModule == &quot;grid&quot; then
local hullStrength = tonumber(matches[2])
dreadnought.empath.hull.current = hullStrength
if hullStrength &gt; dreadnought.empath.hull.max then
dreadnought.empath.hull.max = hullStrength
elseif hullStrength &lt; dreadnought.empath.hull.max then
dreadnought.heap.insert(dreadnought.actions, dreadnought.action(&quot;hull&quot;, 2, &quot;grid repair hull&quot;))
dreadnought.repairShip(dreadnought.actions)
end
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^\[(\d+)\-hull, \d+\-power, \w+ damage, \d+\-will \*x?\*\]$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
</TriggerGroup>
<TriggerGroup isActive="no" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Combateer</name>
<script></script>
<triggerType>0</triggerType>
<conditonLineDelta>99</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList/>
<regexCodePropertyList/>
<TriggerGroup isActive="no" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Turret Setup</name>
<script></script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>10</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>The battle turret is a spherical object</string>
</regexCodeList>
<regexCodePropertyList>
<integer>2</integer>
</regexCodePropertyList>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Can Vortex</name>
<script>dreadnought.combateer.flags.canVortex = true</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>It has a spherical diamonut covered with surgically sharp blades installed.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Finish Setup</name>
<script>if dreadnought.combateer.flags.canVortex then
dmsg(&quot;You'll be the one to create vortexes.&quot;)
end
disableTrigger(&quot;Turret Setup&quot;)</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>return isPrompt()</string>
</regexCodeList>
<regexCodePropertyList>
<integer>4</integer>
</regexCodePropertyList>
</Trigger>
</TriggerGroup>
<TriggerGroup isActive="no" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Targetting - Auto</name>
<script></script>
<triggerType>0</triggerType>
<conditonLineDelta>99</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList/>
<regexCodePropertyList/>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Aetherbeast Summoned</name>
<script>dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;target&quot;, 3, &quot;turret target creature &quot; ..matches[2]))
dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;fire at creature&quot;, 4, &quot;turret fire&quot;))
dreadnought.fireTurret()</script>
<triggerType>0</triggerType>
<conditonLineDelta>99</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^Drawn by the flux of energy, a \w+ (\w+) suddenly wanders into the nearby area\.$</string>
<string>^Drawn by the flux of energy, a six-headed (\w+) suddenly wanders into the nearby area\.$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Karibidean Summoned</name>
<script>dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;target karibidean&quot;, 5, &quot;turret target creature karibidean&quot;))
dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;fire on karibidean&quot;, 6, &quot;turret fire&quot;))
dreadnought.fireTurret(dreadnought.actions)</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>The energy vortex flashes and a vortex karibidean flies out of it.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
</TriggerGroup>
<TriggerGroup isActive="no" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Targetting - Callout</name>
<script></script>
<triggerType>0</triggerType>
<conditonLineDelta>99</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList/>
<regexCodePropertyList/>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Targeting</name>
<script>if matches[2] ~= &quot;&quot; then
dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;target&quot;, 1, &quot;turret target ship &quot; ..matches[3]))
dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;fire&quot;, 2, &quot;turret fire&quot;))
else
if matches[2] == &quot;karibidean&quot; then
dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;target&quot;, 5, &quot;turret target creature karibidean&quot;))
dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;fire&quot;, 6, &quot;turret fire&quot;))
else
dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;target&quot;, 3, &quot;turret target creature &quot; ..matches[3]))
dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;fire&quot;, 4, &quot;turret fire&quot;))
end
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>99</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^\(Ship\): \w+ (?:say|says), &quot;Target (the aethership )?(\w+)\.&quot;$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
</TriggerGroup>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Target Acquired</name>
<script>local action = dreadnought.heap.head(dreadnought.actions)
if action.name == &quot;target&quot; then
dreadnought.heap.extract(dreadnought.actions)
end
action.postCommand()</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^You tune the weapon module to target (?:a|an) [\w\-\s]+\.$</string>
<string>No such creature is close enough for a battle turret to get a targeting lock.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Vortex</name>
<script>if dreadnought.combateer.flags.canVortex then
dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;vortex&quot;, 5, &quot;turret vortex&quot;))
dreadnought.fireTurret(dreadnought.actions)
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^\(Ship\): \w+ says, &quot;Vortex\.&quot;$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Vortex Fired</name>
<script>local action = dreadnought.heap.head(dreadnought.actions)
if action.name == &quot;vortex&quot; then
dreadnought.heap.extract(dreadnought.actions)
action.postCommand()
end
</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>You focus your turret on the fabric of aetherspace itself and fire, ripping open a gaping vortex.</string>
<string>A focused blast rips through the fabric of aetherspace, ripping open a gaping vortex.</string>
<string>There is already an aether vortex located here.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
<integer>3</integer>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Shockwave</name>
<script>if dreadnought.combateer.skills.Shock then
dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;shockwave&quot;, 3, &quot;turret shockwave&quot;))
dreadnought.fireTurret(dreadnought.actions)
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>99</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^\(Ship\): \w+ says, \&quot;Shockwave.\&quot;$</string>
<string>^(?:\w+\s)+lacks the power to do that\.$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Shockwave Fired</name>
<script>local action = dreadnought.heap.head(dreadnought.actions)
if action.name == &quot;shockwave&quot; then
dreadnought.heap.extract(dreadnought.actions)
action.postCommand()
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>This area is too full of energy for you to create a shockwave.</string>
<string>You blanket the aetherspace around you with bolts of crackling energy, which ripple around this space in waves of coruscating power.</string>
<string>A nearby turret blankets aetherspace with bolts of crackling energy, which ripple around this space in waves of coruscating power.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
<integer>3</integer>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Turret Fired</name>
<script>dreadnought.heap.head(dreadnought.actions).postCommand()</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>The floor shakes as you fire a blast that slams into</string>
<string>As you attempt to operate a battle turret, it sputters and gyrates without producing a noticeable result.</string>
<string>The floor shakes as you fire astray.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>2</integer>
<integer>3</integer>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Target Destroyed</name>
<script>local action = dreadnought.heap.head(dreadnought.actions)
if action.name == &quot;fire&quot; then
dreadnought.heap.extract(dreadnought.actions)
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>suddenly explodes\!$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>No Target</name>
<script>local action = dreadnought.heap.head(dreadnought.actions)
if action.name == &quot;target&quot; or action.name == &quot;fire&quot; then
dreadnought.heap.extract(dreadnought.actions)
end
action.postCommand()</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>A battle turret is not targeting anything.</string>
<string>No such creature is close enough for a battle turret to get a targeting lock.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Turret Exhaustion</name>
<script>send(&quot;shipt I'm exhausted, Captain! You should find me a replacement.&quot;, false)
dreadnought.fireTurret(dreadnought.actions)</script>
<triggerType>0</triggerType>
<conditonLineDelta>99</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>Exhaustion clouds your mind and you fail to properly link to a battle turret.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Reset Lock</name>
<script>dreadnought.locked = false</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>A battle turret is not yet ready to be used again.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
</TriggerGroup>
<TriggerGroup isActive="no" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Collector</name>
<script></script>
<triggerType>0</triggerType>
<conditonLineDelta>99</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList/>
<regexCodePropertyList/>
<TriggerGroup isActive="no" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Siphoning - Auto</name>
<script></script>
<triggerType>0</triggerType>
<conditonLineDelta>99</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList/>
<regexCodePropertyList/>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="yes" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Autosiphon</name>
<script>dreadnought.siphonVortex(dreadnought.aetherbeastsTotal)</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#000280</mFgColor>
<mBgColor>#00ff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>An energy vortex pulsates brightly.</string>
<string>An energy collector whirrs quietly, ready to be used once again.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Aetherbeast Summoned</name>
<script>dreadnought.aetherbeastsTotal = dreadnought.aetherbeastsTotal + 1
disableTrigger(&quot;Autosiphon&quot;)</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^Drawn by the flux of energy, a \w+ \w+ suddenly wanders into the nearby area\.$</string>
<string>^Drawn by the flux of energy, a six-headed \w+ suddenly wanders into the nearby area\.$</string>
<string>The energy vortex flashes and a vortex karibidean flies out of it.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
<integer>1</integer>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Aetherbeast Dies</name>
<script>dreadnought.aetherbeastsTotal = dreadnought.aetherbeastsTotal - 1
if dreadnought.aetherbeastsTotal == 0 then
enableTrigger(&quot;Autosiphon&quot;)
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>suddenly explodes!$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
</TriggerGroup>
<TriggerGroup isActive="no" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Siphoning - Callout</name>
<script></script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList/>
<regexCodePropertyList/>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Callout Siphon</name>
<script>dreadnought.siphonVortex(dreadnought.aetherbeastsTotal)</script>
<triggerType>0</triggerType>
<conditonLineDelta>39</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^\(Ship\): \w+ says, \&quot;Siphon.\&quot;$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
</TriggerGroup>
<TriggerGroup isActive="yes" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Announcements</name>
<script></script>
<triggerType>0</triggerType>
<conditonLineDelta>3</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList/>
<regexCodePropertyList/>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Siphoning Vortex</name>
<script>send(&quot;shipt Siphoned from the vortex, Captain. My collector is now filled with &quot; ..matches[2]..&quot; energy.&quot;, false)</script>
<triggerType>0</triggerType>
<conditonLineDelta>99</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^You siphon some energy from the energy vortex into an energy collector, bringing it to a total of (\d+) energy\.$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>No Vortex</name>
<script>send(&quot;shipt There's no vortex here, Captain.&quot;, false)</script>
<triggerType>0</triggerType>
<conditonLineDelta>3</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>There is no energy vortex to siphon energy from.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Full Collector</name>
<script>send(&quot;shipt My collector is full, Captain.&quot;, false)
disableTrigger(&quot;Siphoning - Auto&quot;)
disableTrigger(&quot;Siphoning - Callout&quot;)</script>
<triggerType>0</triggerType>
<conditonLineDelta>18</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>An energy collector is filled to capacity.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Exhaustion</name>
<script>send(&quot;shipt I'm exhausted, Captain. You'll have to find a replacement for me.&quot;, false)
dreadnought.siphonVortex(dreadnought.aetherbeastsTotal)</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>Exhaustion clouds your mind and you fail to properly link to an energy collector.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
</TriggerGroup>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Aetherbeast Enters</name>
<script>dreadnought.aetherbeastsTotal = dreadnought.aetherbeastsTotal + 1</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^Drawn by the flux of energy, (?:a|an) \w+(?:\-\w+)? \w+ suddenly wanders into the nearby area\.$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Aetherbeast Dies</name>
<script>if dreadnought.aetherbeastsTotal &gt; 0 then
dreadnought.aetherbeastsTotal = dreadnought.aetherbeastsTotal - 1
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^(?:\w+(?:\-\w+)?\s){3}suddenly explodes\!$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
</TriggerGroup>
<TriggerGroup isActive="yes" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Activate/Deactivate calls</name>
<script></script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList/>
<regexCodePropertyList/>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Turret On</name>
<script>if matches[2] == gmcp.Char.Name.name then
enableTrigger(&quot;Combateer&quot;)
tempTimer(0.1, [[send(&quot;shipt Aye aye, Captain! Activating my turret.&quot;)]])
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>99</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^\(Ship\): \w+ says, \&quot;(\w+), turret on\.&quot;$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Turret Off</name>
<script>if matches[2] == gmcp.Char.Name.name then
disableTrigger(&quot;Combateer&quot;)
tempTimer(0.1, [[send(&quot;shipt Aye aye, Captain! Deactivating my turret.&quot;)]])
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^\(Ship\): \w+ says, \&quot;(\w+), turret off\.&quot;$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Collector On Targetted</name>
<script>if matches[3] == gmcp.Char.Name.name then
if dreadnought.currentModule == &quot;collector&quot; then
send(&quot;shipt Aye aye, Captain! Activating my collector&quot;, false)
end
enableTrigger(&quot;Collector&quot;)
tempTimer(0.1, [[send(&quot;shipt Aye aye, Captain! Activating my collector&quot;)]])
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>99</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^\(Ship\): (\w+) says, \&quot;(\w+), siphon on.\&quot;$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Collector Off Targetted</name>
<script>if matches[3] == gmcp.Char.Name.name then
disableTrigger(&quot;Collector&quot;)
tempTimer(0.1, [[send(&quot;shipt Aye aye, Captain! Deactivating my collector!&quot;)]])
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^\(Ship\): (\w+) says, \&quot;(\w+), siphon off.\&quot;$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Collector On</name>
<script>enableTrigger(&quot;Collector&quot;)
if dreadnought.currentModule == &quot;collector&quot; then
send(&quot;shipt Aye aye, Captain! Activating my collector&quot;, false)
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^\(Ship\): (\w+) says, \&quot;Siphon on.\&quot;$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Collector Off</name>
<script>disableTrigger(&quot;Collector&quot;)
if dreadnought.currentModule == &quot;collector&quot; then
send(&quot;shipt Aye aye, Captain! Deactivating my collector&quot;, false)
end</script>
<triggerType>0</triggerType>
<conditonLineDelta>39</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^\(Ship\): (\w+) says, \&quot;Siphon off.\&quot;$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
</TriggerGroup>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Ship Implodes</name>
<script>expandAlias(&quot;hunt off&quot;)</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>implodes and your body is instantly torn apart by the unstable reality of the Aetherways\.$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="no" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Gnome traders</name>
<script>send(&quot;pilot steer &quot; ..matches[2])</script>
<triggerType>0</triggerType>
<conditonLineDelta>39</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>glides off towards the (\w+)\.$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<TriggerGroup isActive="no" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Gags</name>
<script></script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList/>
<regexCodePropertyList/>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Turrets</name>
<script>deleteLineP()</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^The floor shakes as \w+ fires a blast that slams into</string>
<string>^The floor shakes as \w+ fires astray\.$</string>
<string>^The floor shakes as you fire a blast that slams into</string>
<string>A battle turret whirrs quietly, ready to be used once again.</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
<integer>1</integer>
<integer>1</integer>
<integer>3</integer>
</regexCodePropertyList>
</Trigger>
</TriggerGroup>
</TriggerGroup>
</TriggerPackage>
<TimerPackage/>
<AliasPackage>
<AliasGroup isActive="yes" isFolder="yes">
<name>Dreadnought</name>
<script></script>
<command></command>
<packageName></packageName>
<regex></regex>
<AliasGroup isActive="no" isFolder="yes">
<name>Pilot</name>
<script></script>
<command></command>
<packageName></packageName>
<regex></regex>
<AliasGroup isActive="yes" isFolder="yes">
<name>Movement</name>
<script></script>
<command></command>
<packageName></packageName>
<regex></regex>
<Alias isActive="yes" isFolder="no">
<name>Steer</name>
<script>send(&quot;pilot steer &quot; .. matches[2])
disableTrigger(&quot;Autopilot&quot;)
disableTrigger(&quot;Siphon Callout&quot;)</script>
<command></command>
<packageName></packageName>
<regex>^(n|ne|e|se|s|sw|w|nw)$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Glide</name>
<script>local direction = &quot;&quot;
if #matches[2] == 2 then
direction = string.sub(matches[2], 2, -1)
else
direction = string.sub(matches[2], 3, -1)
end
send(&quot;pilot glide &quot; .. direction)
disableTrigger(&quot;Autopilot&quot;)
disableTrigger(&quot;Siphon Callout&quot;)</script>
<command></command>
<packageName></packageName>
<regex>^(nn|nene|ee|sese|ss|swsw|ww|nwnw)$</regex>
</Alias>
</AliasGroup>
<Alias isActive="yes" isFolder="no">
<name>Toggle Autopilot</name>
<script>if matches[2] == &quot;on&quot; then
enableTrigger(&quot;Autopilot&quot;)
send(&quot;config shipsight 1&quot;)
send(&quot;config aethermap 0&quot;)
dreadnought.aetherbeastsTotal = 0
dmsg(&quot;Autopilot activated.&quot;)
else
disableTrigger(&quot;Autopilot&quot;)
disableTrigger(&quot;Siphon Callout&quot;)
send(&quot;config shipsight 1&quot;)
send(&quot;config aethermap 1&quot;)
dmsg(&quot;Autopilot deactivated.&quot;)
end</script>
<command></command>
<packageName></packageName>
<regex>^pauto (on|off)$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Toggle Siphon Callout</name>
<script>if matches[2] == &quot;on&quot; then
dreadnought.pilot.flags.siphonCallout = true
enableTrigger(&quot;Siphon Callout&quot;)
dmsg(&quot;Siphon callout mode activated.&quot;)
elseif matches[2] == &quot;off&quot; then
dreadnought.pilot.flags.siphonCallout = false
disableTrigger(&quot;Siphon Callout&quot;)
dmsg(&quot;Siphon callout mode deactivated.&quot;)
end
</script>
<command></command>
<packageName></packageName>
<regex>^pcall (on|off)$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Pathing</name>
<script>--[[ Please don't tinker with this unless you know what you're doing!!! ]]--
local toPos2 = matches[2]
local toPos3 = matches[3]
local toPos1 = matches[4]
local oppositeOf = function (direction)
local cardinal = {&quot;n&quot;, &quot;ne&quot;, &quot;e&quot;, &quot;se&quot;, &quot;s&quot;, &quot;sw&quot;, &quot;w&quot;, &quot;nw&quot;}
for index,dir in ipairs(cardinal) do
if direction == dir then
local oppositeIndex = index + 4
if oppositeIndex &gt; 8 then
oppositeIndex = oppositeIndex - 8
end
return cardinal[oppositeIndex]
end
end
end
dreadnought.pilot.currentPosition = 1
dreadnought.pilot.paths = {
{
next = toPos2,
home = &quot;&quot;
},
{
next = toPos3,
home = oppositeOf(toPos2)
},
{
next = oppositeOf(toPos3),
home = toPos1
}
}
dmsg(&quot;Autopilot path set up.&quot;)</script>
<command></command>
<packageName></packageName>
<regex>^ppath (n|ne|e|se|s|sw|w|nw) (n|ne|e|se|s|sw|w|nw) (n|ne|e|se|s|sw|w|nw)$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Reset</name>
<script>if #matches &gt; 1 then
local resets = dreadnought.reset.pilot()
dreadnought.aetherbeastsTotal = resets.aetherbeastsTotal
dreadnought.pilot = resets.pilot
dmsg(&quot;All pilot variables have been reset.&quot;)
else
dmsg(&quot;This will reset ALL piloting variables. Please type 'preset confirm' to confirm.&quot;)
end</script>
<command></command>
<packageName></packageName>
<regex>^preset(?: (confirm))?$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Launch</name>
<script></script>
<command>pilot launch</command>
<packageName></packageName>
<regex>^pl$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Dock</name>
<script></script>
<command>pilot dock</command>
<packageName></packageName>
<regex>^pd$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Shockwave</name>
<script></script>
<command>shipt Shockwave</command>
<packageName></packageName>
<regex>^pshock$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Vortex</name>
<script></script>
<command>shipt Vortex</command>
<packageName></packageName>
<regex>^pvort$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Scoop</name>
<script></script>
<command>pilot scoop</command>
<packageName></packageName>
<regex>^ps$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Transverse</name>
<script></script>
<command>pilot transverse</command>
<packageName></packageName>
<regex>^ptrans$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Anchor</name>
<script></script>
<command>pilot anchor</command>
<packageName></packageName>
<regex>^panch$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Forcefield</name>
<script></script>
<command>pilot forcefield</command>
<packageName></packageName>
<regex>^pforce$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Look</name>
<script></script>
<command>ship look</command>
<packageName></packageName>
<regex>^l$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Run Silent</name>
<script>if matches[2] == &quot;on&quot; then
send(&quot;pilot silentrun start&quot;)
else
send(&quot;pilot silentrun stop&quot;)
end</script>
<command></command>
<packageName></packageName>
<regex>^psilent (on|off)$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Farhorizon</name>
<script>if matches[2] == &quot;on&quot; then
send(&quot;pilot farhorizon start&quot;)
else
send(&quot;pilot farhorizon stop&quot;)
end</script>
<command></command>
<packageName></packageName>
<regex>^pfar (on|off)$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Clarity</name>
<script></script>
<command>shipt clarity</command>
<packageName></packageName>
<regex>^pc$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Emergency Clarity</name>
<script></script>
<command>shipt EMERGENCY CLARITY</command>
<packageName></packageName>
<regex>^pce$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Target Callout</name>
<script>send(&quot;shipt target &quot; .. matches[2])</script>
<command></command>
<packageName></packageName>
<regex>^ptar (\w+)$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Autopilot Testing</name>
<script>local actionQueue = {}
if matches[2] == &quot;1&quot; then
table.insert(actionQueue, tempTimer(0.1, [[send(&quot;echo Drawn by the flux of energy, a black dragon suddenly wanders into the nearby area.&quot;)]]))
table.insert(actionQueue, tempTimer(0.5, [[send(&quot;echo You steer The Rhassaphorian Mantra to the north.&quot;)]]))
table.insert(actionQueue, tempTimer(0.6, [[send(&quot;echo You are thrust forward as The Rhassaphorian Mantra shudders violently and comes to a complete stop.&quot;)]]))
table.insert(actionQueue, tempTimer(0.8, [[send(&quot;echo A black dragon enters from the south on the aetherways.&quot;)]]))
table.insert(actionQueue, tempTimer(1.0, [[send(&quot;echo The command chair whirrs quietly, ready to be used once again.&quot;)]]))
table.insert(actionQueue, tempTimer(1.5, [[send(&quot;echo With a ripple, the Rhassaphorian Mantra frees itself from its shockwave.&quot;)]]))
table.insert(actionQueue, tempTimer(1.7, [[send(&quot;echo You steer The Rhassaphorian Mantra to the southeast.&quot;)]]))
table.insert(actionQueue, tempTimer(1.8, [[send(&quot;echo You are thrust forward as The Rhassaphorian Mantra shudders violently and comes to a complete stop.&quot;)]]))
table.insert(actionQueue, tempTimer(1.9, [[send(&quot;echo The command chair whirrs quietly, ready to be used once again.&quot;)]]))
table.insert(actionQueue, tempTimer(2.0, [[send(&quot;echo A black dragon enters from the northeast on the aetherways.&quot;)]]))
table.insert(actionQueue, tempTimer(2.5, [[send(&quot;echo With a ripple, the Rhassaphorian Mantra frees itself from its shockwave.&quot;)]]))
table.insert(actionQueue, tempTimer(3.0, [[send(&quot;echo You steer The Rhassaphorian Mantra to the northwest.&quot;)]]))
table.insert(actionQueue, tempTimer(3.2, [[send(&quot;echo You are thrust forward as The Rhassaphorian Mantra shudders violently and comes to a complete stop.&quot;)]]))
table.insert(actionQueue, tempTimer(3.5, [[send(&quot;echo The command chair whirrs quietly, ready to be used once again.&quot;)]]))
table.insert(actionQueue, tempTimer(3.7, [[send(&quot;echo A black dragon suddenly explodes!&quot;)]]))
table.insert(actionQueue, tempTimer(3.9, [[send(&quot;echo With a ripple, the Rhassaphorian Mantra frees itself from its shockwave.&quot;)]]))
table.insert(actionQueue, tempTimer(4.2, [[send(&quot;echo You steer The Rhassaphorian Mantra to the south.&quot;)]]))
elseif matches[2] == &quot;2&quot; then
table.insert(actionQueue, tempTimer(0.1, [[send(&quot;echo Drawn by the flux of energy, a black dragon suddenly wanders into the nearby area.&quot;)]]))
table.insert(actionQueue, tempTimer(0.5, [[send(&quot;echo You steer The Rhassaphorian Mantra to the north.&quot;)]]))
table.insert(actionQueue, tempTimer(0.6, [[send(&quot;echo You are thrust forward as The Rhassaphorian Mantra shudders violently and comes to a complete stop.&quot;)]]))
table.insert(actionQueue, tempTimer(0.8, [[send(&quot;echo A black dragon enters from the south on the aetherways.&quot;)]]))
table.insert(actionQueue, tempTimer(1.0, [[send(&quot;echo The command chair whirrs quietly, ready to be used once again.&quot;)]]))
table.insert(actionQueue, tempTimer(1.5, [[send(&quot;echo With a ripple, the Rhassaphorian Mantra frees itself from its shockwave.&quot;)]]))
table.insert(actionQueue, tempTimer(1.7, [[send(&quot;echo You steer The Rhassaphorian Mantra to the southeast.&quot;)]]))
table.insert(actionQueue, tempTimer(1.8, [[send(&quot;echo You are thrust forward as The Rhassaphorian Mantra shudders violently and comes to a complete stop.&quot;)]]))
table.insert(actionQueue, tempTimer(1.9, [[send(&quot;echo The command chair whirrs quietly, ready to be used once again.&quot;)]]))
table.insert(actionQueue, tempTimer(2.0, [[send(&quot;echo A black dragon enters from the northeast on the aetherways.&quot;)]]))
table.insert(actionQueue, tempTimer(2.5, [[send(&quot;echo A black dragon suddenly explodes!&quot;)]]))
table.insert(actionQueue, tempTimer(2.7, [[send(&quot;echo With a ripple, the Rhassaphorian Mantra frees itself from its shockwave.&quot;)]]))
elseif matches[2] == &quot;3&quot; then
table.insert(actionQueue, tempTimer(0.1, [[send(&quot;echo Drawn by the flux of energy, a black dragon suddenly wanders into the nearby area.&quot;)]]))
end</script>
<command></command>
<packageName></packageName>
<regex>^ptest path (1|2|3)$</regex>
</Alias>
</AliasGroup>
<AliasGroup isActive="no" isFolder="yes">
<name>Empath</name>
<script></script>
<command></command>
<packageName></packageName>
<regex></regex>
<Alias isActive="yes" isFolder="no">
<name>Grid Modules</name>
<script>dreadnought.actions = dreadnought.heap.new()
send(&quot;grid modules&quot;, false)</script>
<command></command>
<packageName></packageName>
<regex>^gm$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Grid Repair</name>
<script>dmsg(&quot;Repairing the ship.&quot;)
dreadnought.locked = false
dreadnought.repairShip(dreadnought.actions)</script>
<command></command>
<packageName></packageName>
<regex>^gr$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Slivven Check</name>
<script>dreadnought.empath.flags.checkSlivven = true
send(&quot;grid modules&quot;)</script>
<command></command>
<packageName></packageName>
<regex>^gsliv$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Clarity</name>
<script>dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;emergency clarity&quot;, 1, &quot;grid clarity &quot; .. dreadnought.empath.modules.chair))
dreadnought.repairShip(dreadnought.actions)</script>
<command></command>
<packageName></packageName>
<regex>^gc$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Reset</name>
<script>if #matches &gt; 1 then
dreadnought.actions = dreadnought.heap.new()
local resets = dreadnought.reset.empath()
dreadnought.aetherbeastsTotal = resets.aetherbeastsTotal
dreadnought.currentModule = &quot;grid&quot;
dreadnought.empath = resets.empath
dmsg(&quot;All empath variables have been reset.&quot;)
else
dmsg(&quot;This will reset ALL empathing variables. Please type 'greset confirm' to confirm.&quot;)
end
</script>
<command></command>
<packageName></packageName>
<regex>^greset(?: (confirm))?$</regex>
</Alias>
</AliasGroup>
<AliasGroup isActive="no" isFolder="yes">
<name>Combateer</name>
<script></script>
<command></command>
<packageName></packageName>
<regex></regex>
<Alias isActive="yes" isFolder="no">
<name>Targetting Mode</name>
<script>if matches[2] == &quot;call&quot; then
disableTrigger(&quot;Targetting - Auto&quot;)
enableTrigger(&quot;Targetting - Callout&quot;)
send(&quot;shipt Enabling my turret, Captain. Call out the targets and I'll blast them from the aethers!&quot;)
elseif matches[2] == &quot;auto&quot; then
enableTrigger(&quot;Targetting - Auto&quot;)
disableTrigger(&quot;Targetting - Callout&quot;)
send(&quot;shipt Enabling my turret, Captain. Should I see an aetherbeast, I'll blast it to smithereens!&quot;)
else
disableTrigger(&quot;Targetting - Auto&quot;)
disableTrigger(&quot;Targetting - Callout&quot;)
send(&quot;shipt Disabling my turret, Captain.&quot;)
end</script>
<command></command>
<packageName></packageName>
<regex>^tmode (call|auto|off)$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Set Target</name>
<script>dreadnought.actions = dreadnought.heap.new()
if #matches &gt; 2 then
dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;target&quot;, 1, &quot;turret target ship &quot; ..matches[2]))
dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;fire&quot;, 2, &quot;turret fire&quot;))
else
if matches[2] == &quot;karibidean&quot; then
dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;target&quot;, 5, &quot;turret target creature karibidean&quot;))
dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;fire&quot;, 6, &quot;turret fire&quot;))
else
dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;target&quot;, 3, &quot;turret target creature &quot; ..matches[2]))
dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;fire&quot;, 4, &quot;turret fire&quot;))
end
end
dreadnought.fireTurret(dreadnought.actions)</script>
<command></command>
<packageName></packageName>
<regex>^ttar (\w+)(?: (ship))?$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Vortex</name>
<script>dreadnought.heap.insert(dreadnought.actions,
dreadnought.action(&quot;vortex&quot;, 5, &quot;turret vortex&quot;))
dreadnought.fireTurret(dreadnought.actions)</script>
<command></command>
<packageName></packageName>
<regex>^tvort$</regex>
</Alias>
</AliasGroup>
<AliasGroup isActive="no" isFolder="yes">
<name>Collector</name>
<script></script>
<command></command>
<packageName></packageName>
<regex></regex>
<Alias isActive="yes" isFolder="no">
<name>Siphoning Mode</name>
<script>if matches[2] == &quot;call&quot; then
send(&quot;config shipsight 0&quot;)
enableTrigger(&quot;Collector&quot;)
disableTrigger(&quot;Siphoning - Auto&quot;)
enableTrigger(&quot;Siphoning - Callout&quot;)
send(&quot;shipt Enabling my collector, Captain. Siphoning on your command.&quot;)
elseif matches[2] == &quot;auto&quot; then
send(&quot;config shipsight 1&quot;)
enableTrigger(&quot;Collector&quot;)
enableTrigger(&quot;Siphoning - Auto&quot;)
disableTrigger(&quot;Siphoning - Callout&quot;)
send(&quot;shipt Enabling my collector, Captain. Siphoning when we're over a vortex.&quot;)
else
send(&quot;config shipsight 0&quot;)
disableTrigger(&quot;Collector&quot;)
disableTrigger(&quot;Siphoning - Auto&quot;)
disableTrigger(&quot;Siphoning - Callout&quot;)
send(&quot;shipt Disabling my collector, Captain.&quot;)
end</script>
<command></command>
<packageName></packageName>
<regex>^smode (call|auto|off)$</regex>
</Alias>
</AliasGroup>
<Alias isActive="yes" isFolder="no">
<name>Ship Look</name>
<script>send(&quot;ship look&quot;, false)</script>
<command></command>
<packageName></packageName>
<regex>^sl$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Finish Hunting</name>
<script>disableTrigger(&quot;Pilot&quot;)
disableTrigger(&quot;Autopilot&quot;)
disableAlias(&quot;Pilot&quot;)
disableTrigger(&quot;Empath&quot;)
disableAlias(&quot;Empath&quot;)
disableTrigger(&quot;Combateer&quot;)
disableTrigger(&quot;Targetting - Auto&quot;)
disableTrigger(&quot;Targetting - Callout&quot;)
disableAlias(&quot;Combateer&quot;)
disableTrigger(&quot;Collector&quot;)
disableTrigger(&quot;Siphoning - Auto&quot;)
disableTrigger(&quot;Siphoning - Callout&quot;)
disableAlias(&quot;Collector&quot;)
dreadnought.actions = dreadnought.heap.new()
dmsg(&quot;All Dreadnought reflexes have been disabled.&quot;)</script>
<command></command>
<packageName></packageName>
<regex>^hunt off$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Gags</name>
<script>if matches[2] == &quot;on&quot; then
dmsg(&quot;Deleting all distracting aetherhunting spam.&quot;)
enableTrigger(&quot;Gags&quot;)
else
dmsg(&quot;Enabling all distracting aetherhunting spam. Enjoy!&quot;)
disableTrigger(&quot;Gags&quot;)
end</script>
<command></command>
<packageName></packageName>
<regex>^gag (on|off)$</regex>
</Alias>
</AliasGroup>
</AliasPackage>
<ActionPackage/>
<ScriptPackage>
<ScriptGroup isActive="yes" isFolder="yes">
<name>Dreadnought</name>
<packageName></packageName>
<script>dreadnought = dreadnought or {
version = &quot;3.0&quot;,
aetherbeastsTotal = 0,
currentModule = &quot;&quot;,
balance = true,
locked = false,
skills = {},
reset = {},
setup = {}
}</script>
<eventHandlerList/>
<ScriptGroup isActive="yes" isFolder="yes">
<name>Data Structures</name>
<packageName></packageName>
<script></script>
<eventHandlerList/>
<Script isActive="yes" isFolder="no">
<name>Heap</name>
<packageName></packageName>
<script>local lowerPriority = function(x, y)
assert(type(x) == &quot;table&quot;)
assert(type(y) == &quot;table&quot;)
assert(type(x.priority) == &quot;number&quot;)
assert(type(y.priority) == &quot;number&quot;)
return x.priority &gt; y.priority
end
local exch = function(h, x, y)
assert(type(h) == &quot;table&quot;)
assert(type(x) == &quot;number&quot;)
assert(type(y) == &quot;number&quot;)
local temp = h.elements[x]
h.elements[x] = h.elements[y]
h.elements[y] = temp
end
local sink = function(h, parentIndex)
while (parentIndex*2) &lt; h.size do
local childIndex = parentIndex * 2
if childIndex &lt; h.size and lowerPriority(h.elements[childIndex],
h.elements[childIndex+1]) then
childIndex = childIndex + 1
end
if lowerPriority(h.elements[parentIndex], h.elements[childIndex]) then
exch(h, parentIndex, childIndex)
parentIndex = childIndex
else
break
end
end
end
local swim = function(h, childIndex)
while childIndex &gt; 1 and lowerPriority(h.elements[math.floor(childIndex / 2)], h.elements[childIndex]) do
local parentIndex = math.floor(childIndex / 2)
exch(h, childIndex, parentIndex)
childIndex = parentIndex
end
end
dreadnought.heap = {
new = function()
return {
size = 0,
elements = {}
}
end,
insert = function(h, element)
table.insert(h.elements, element)
h.size = h.size + 1
swim(h, h.size)
end,
extract = function(h)
exch(h, 1, h.size)
if h.size &gt; 0 then
h.size = h.size - 1
end
local ret = table.remove(h.elements)
sink(h, 1)
return ret
end,
head = function(h)
local element = h.elements[1]
return element
end
}</script>
<eventHandlerList/>
</Script>
<Script isActive="yes" isFolder="no">
<name>Action</name>
<packageName></packageName>
<script>function dreadnought.action(name, priority, command, postCommand)
assert(type(name) == &quot;string&quot;)
assert(type(priority) == &quot;number&quot;)
assert(type(command) == &quot;function&quot; or type(command) == &quot;string&quot; or type(command) == &quot;table&quot;)
assert(postCommand == nil or type(postCommand) == &quot;function&quot;)
if postCommand == nil then
postCommand = function()
dreadnought.locked = false
end
end
local cmd -- The command to execute the given action command
if type(command) == &quot;string&quot; then
cmd = function()
if dreadnought.balance and not dreadnought.locked then
send(command, false)
dreadnought.locked = true
end
end
elseif type(command) == &quot;table&quot; then
cmd = function()
if dreadnought.balance and not dreadnought.locked then
for _,v in ipairs(command) do
send(v, false)
end
dreadnought.locked = true
end
end
else
cmd = function()
if dreadnought.balance and not dreadnought.locked then
command()
dreadnought.locked = true
end
end
end
local action = {
name = name,
priority = priority,
command = cmd,
postCommand = postCommand
}
local mt = {
__lt = function(a, b)
return a.priority &gt; b.priority
end,
__le = function(a, b)
return a.priority &gt;= b.priority
end
}
setmetatable(action, mt)
return action
end</script>
<eventHandlerList/>
</Script>
</ScriptGroup>
<ScriptGroup isActive="yes" isFolder="yes">
<name>Package</name>
<packageName></packageName>
<script>dreadnought.actions = dreadnought.actions or dreadnought.heap.new()</script>
<eventHandlerList/>
<ScriptGroup isActive="yes" isFolder="yes">
<name>Pilot</name>
<packageName></packageName>
<script>dreadnought.pilot = dreadnought.pilot or {
shockwaveTimers = {},
siphonCalloutCount = 0,
aetherbeastsPresent = 0,
currentPosition = 1,
flags = {
shocked = false,
siphonCallout = false
},
paths = {}
}
function dreadnought.reset.pilot()
return {
aetherbeastsTotal = 0,
currentModule = &quot;&quot;,
pilot = {
calloutTimer = 0,
aetherbeastsPresent = 0,
currentPosition = 1,
flags = {
shocked = false,
siphonCallout = false
},
paths = {}
}
}
end</script>
<eventHandlerList/>
<Script isActive="yes" isFolder="no">
<name>Autopilot</name>
<packageName></packageName>
<script>function dreadnought.autopilot(balance, aetherbeastsPresent, aetherbeastsTotal, currentPosition, flags)
local positions = {
currentPosition = 0,
nextPosition = &quot;&quot;
}
if balance and not flags.shocked then
if aetherbeastsTotal &gt; 0 then
if aetherbeastsPresent == aetherbeastsTotal then
-- There's an aetherbeast! Quick, run away!
positions = dreadnought.findNextPosition(currentPosition)
send(&quot;pilot steer &quot; .. positions.nextPosition)
end
else -- No more aetherbeasts; head back to the vortex
positions = dreadnought.findHome(currentPosition)
if positions.nextPosition ~= &quot;&quot; then
send(&quot;pilot steer &quot; .. positions.nextPosition)
end
end
end
return positions.currentPosition
end
</script>
<eventHandlerList/>
</Script>
<Script isActive="yes" isFolder="no">
<name>Find Next Position</name>
<packageName></packageName>
<script>function dreadnought.findNextPosition(currentPosition)
local positions = {
currentPosition = 0,
nextPosition = dreadnought.pilot.paths[currentPosition].next
}
if currentPosition == 1 or currentPosition == 2 then
positions.currentPosition = currentPosition + 1
else
positions.currentPosition = 2
end
return positions
end</script>
<eventHandlerList/>
</Script>
<Script isActive="yes" isFolder="no">
<name>Find Home</name>
<packageName></packageName>
<script>function dreadnought.findHome(currentPosition)
local positions = {
currentPosition = 0,
nextPosition = dreadnought.pilot.paths[currentPosition].home
}
if positions.nextPosition ~= &quot;&quot; then
positions.currentPosition = 1
end
return positions
end
</script>
<eventHandlerList/>
</Script>
<Script isActive="yes" isFolder="no">
<name>Callout Siphon</name>
<packageName></packageName>
<script>function dreadnought.calloutSiphon()
send(&quot;shipt Siphon&quot;)
dreadnought.pilot.siphonCalloutCount = dreadnought.pilot.siphonCalloutCount + 1
tempTimer(2, function ()
if dreadnought.aetherbeastsTotal == 0 and dreadnought.pilot.siphonCalloutCount &lt; 4 then
dreadnought.calloutSiphon()
end
end)
end</script>
<eventHandlerList/>
</Script>
</ScriptGroup>
<ScriptGroup isActive="yes" isFolder="yes">
<name>Empath</name>
<packageName></packageName>
<script>dreadnought.empath = dreadnought.empath or {
hull = {
current = 0,
max = 0
},
modules = {
chair = &quot;&quot;,
grid = &quot;&quot;,
turrets = {},
collectors = {},
orb = &quot;&quot;,
cube = &quot;&quot;
},
skills = {},
flags = {
checkSlivven = false
},
slivvensFound = 0,
inspectedModule = &quot;&quot;
}
function dreadnought.reset.empath()
return {
aetherbeastsTotal = 0,
currentModule = &quot;&quot;,
actions = dreadnought.heap.new(),
empath = {
hull = {
current = 0,
max = 0
},
modules = {
chair = &quot;&quot;,
grid = &quot;&quot;,
turrets = {},
collectors = {},
orb = &quot;&quot;,
cube = &quot;&quot;
},
skills = dreadnought.empath.skills,
flags = {
checkSlivven = false
},
slivvensFound = 0,
inspectedModule = &quot;&quot;
}
}
end</script>
<eventHandlerList/>
<Script isActive="yes" isFolder="no">
<name>Repair Ship</name>
<packageName></packageName>
<script>function dreadnought.repairShip(actions)
if actions.size &gt; 0 then
dreadnought.heap.head(actions).command()
end
end</script>
<eventHandlerList/>
</Script>
</ScriptGroup>
<ScriptGroup isActive="yes" isFolder="yes">
<name>Combateer</name>
<packageName></packageName>
<script>dreadnought.combateer = dreadnought.combateer or {
skills = {},
flags = {
canVortex = false
}
}
function dreadnought.reset.combateer()
return {
aetherbeastsTotal = 0,
currentModule = &quot;&quot;,
actions = dreadnought.heap.new(),
combateer = {
skills = dreadnought.combateer.skills,
flags = {
canVortex = false
}
}
}
end</script>
<eventHandlerList/>
<Script isActive="yes" isFolder="no">
<name>Fire Turret</name>
<packageName></packageName>
<script>function dreadnought.fireTurret(actions)
if actions.size &gt; 0 then
dreadnought.heap.head(actions).command()
end
end
</script>
<eventHandlerList/>
</Script>
</ScriptGroup>
<ScriptGroup isActive="yes" isFolder="yes">
<name>Collector</name>
<packageName></packageName>
<script></script>
<eventHandlerList/>
<Script isActive="yes" isFolder="no">
<name>Siphon Vortex</name>
<packageName></packageName>
<script>function dreadnought.siphonVortex(aetherbeastsTotal)
if aetherbeastsTotal == 0 then
send(&quot;siphon vortex&quot;, false)
else
send(&quot;shipt I don't think that's a good idea, Captain. There are aetherbeasts about!&quot;)
end
end</script>
<eventHandlerList/>
</Script>
</ScriptGroup>
<ScriptGroup isActive="yes" isFolder="yes">
<name>Listeners</name>
<packageName></packageName>
<script></script>
<eventHandlerList/>
<Script isActive="yes" isFolder="no">
<name>Skills Listener</name>
<packageName></packageName>
<script>local empathSkills = {
Empathy = true,
Armada = true,
Interlink = true,
Modules = true,
Trade = true,
Analyze = true,
Distribution = true,
Steward = true,
Astralsight = true,
Purser = true,
Scan = true,
FirstMate = true,
Resonance = true
}
local combateerSkills = {
Battle = true,
Targeting = true,
Bombard = true,
Rupture = true,
Bosun = true,
TurretSiphon = true,
SecondMate = true,
Shock = true,
Clarionblast = true
}
function dreadnought.skillsListener()
if dreadnought.currentModule == &quot;grid&quot; then
for i,skill in ipairs(gmcp.Char.Skills.List.list) do
if empathSkills[skill] then
dreadnought.empath.skills[skill] = true
end
end
elseif dreadnought.currentModule == &quot;turret&quot; then
for i,skill in ipairs(gmcp.Char.Skills.List.list) do
if combateerSkills[skill] then
dreadnought.combateer.skills[skill] = true
end
end
end
end
registerAnonymousEventHandler(&quot;gmcp.Char.Skills.List&quot;, &quot;dreadnought.skillsListener&quot;)</script>
<eventHandlerList/>
</Script>
<Script isActive="yes" isFolder="no">
<name>Balance Listener</name>
<packageName></packageName>
<script>function dreadnought.balanceListener()
if gmcp.Char.Vitals.modulebal == &quot;1&quot; then
dreadnought.balance = true
raiseEvent(&quot;dreadnought.onFireAction&quot;, dreadnought.currentModule)
else
dreadnought.balance = false
end
end
registerAnonymousEventHandler(&quot;gmcp.Char.Vitals&quot;, &quot;dreadnought.balanceListener&quot;)</script>
<eventHandlerList/>
</Script>
<Script isActive="yes" isFolder="no">
<name>Fire Action</name>
<packageName></packageName>
<script>function dreadnought.fireAction(_, currentModule)
if currentModule ~= &quot;&quot; and not dreadnought.locked then
if currentModule == &quot;grid&quot; then
dreadnought.repairShip(dreadnought.actions)
elseif currentModule == &quot;turret&quot; then
dreadnought.fireTurret(dreadnought.actions)
end
end
end
registerAnonymousEventHandler(&quot;dreadnought.onFireAction&quot;, &quot;dreadnought.fireAction&quot;)</script>
<eventHandlerList/>
</Script>
</ScriptGroup>
<Script isActive="yes" isFolder="no">
<name>Message</name>
<packageName></packageName>
<script>function dmsg(text)
cecho(&quot;\n&lt;RoyalBlue&gt;(&lt;firebrick&gt;Dreadnought&lt;RoyalBlue&gt;): &lt;firebrick&gt;&quot; .. text)
end</script>
<eventHandlerList/>
</Script>
<Script isActive="yes" isFolder="no">
<name>Flowerbox</name>
<packageName></packageName>
<script>function flowerbox(color, text)
local text = &quot;\n# &quot; .. text .. &quot; #&quot;
local function printLine(line)
if line == nil then
echo(&quot;\n&quot;)
for i=1, #text-1 do
cecho(&quot;&lt;&quot; .. color .. &quot;&gt;#&quot;)
end
else
cecho(&quot;&lt;&quot; .. color .. &quot;&gt;&quot; .. line)
end
end
printLine()
printLine(text)
printLine()
end</script>
<eventHandlerList/>
</Script>
<Script isActive="yes" isFolder="no">
<name>DeleteLineP</name>
<packageName></packageName>
<script>function deleteLineP()
deleteLine()
tempLineTrigger(1, 1, [[
if isPrompt() then
deleteLine()
end
]])
end</script>
<eventHandlerList/>
</Script>
</ScriptGroup>
</ScriptGroup>
</ScriptPackage>
<KeyPackage/>
</MudletPackage>