
Now when you call TTAR <target> and GM for Combateering and Empathing respectively, the actions queue is reset. This should hopefully help to fix some deadlocking issues that arise.
3219 lines
162 KiB
XML
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("Pilot")
|
|
enableTrigger("Pilot")
|
|
disableTrigger("Autopilot")
|
|
send("config shipsight 1", false)
|
|
send("config aethermap on", false)
|
|
|
|
local reset = dreadnought.reset.pilot()
|
|
dreadnought.aetherbeastsTotal = reset.aetherbeastsTotal
|
|
dreadnought.currentModule = matches[2]
|
|
dreadnought.pilot = reset.pilot
|
|
|
|
sendGMCP([[Char.Skills.Get {"group":"aethercraft"}]])
|
|
send("\n")</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("Pilot")
|
|
disableTrigger("Pilot")
|
|
disableTrigger("Autopilot")
|
|
send("config shipsight 0", false)
|
|
send("config aethermap off", 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("Empath")
|
|
enableTrigger("Empath")
|
|
enableTrigger("Grid Setup")
|
|
send("config shipsight 0", false)
|
|
send("config aethermap off", false)
|
|
|
|
local reset = dreadnought.reset.empath()
|
|
dreadnought.aetherbeastsTotal = reset.aetherbeastsTotal
|
|
dreadnought.currentModule = "grid"
|
|
dreadnought.actions = reset.actions
|
|
dreadnought.empath = reset.empath
|
|
|
|
sendGMCP([[Char.Skills.Get {"group":"aethercraft"}]])
|
|
send("\n")
|
|
deleteLineP()
|
|
|
|
send("grid modules")</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("Empath")
|
|
disableTrigger("Empath")
|
|
send("config shipsight 0", false)
|
|
send("config aethermap off", 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("Combateer")
|
|
enableTrigger("Combateer")
|
|
enableTrigger("Targetting - Callout")
|
|
send("config shipsight 0", false)
|
|
send("config aethermap off", false)
|
|
|
|
local reset = dreadnought.reset.combateer()
|
|
dreadnought.aetherbeastsTotal = reset.aetherbeastsTotal
|
|
dreadnought.currentModule = "turret"
|
|
dreadnought.actions = reset.actions
|
|
dreadnought.combateer = reset.combateer
|
|
|
|
enableTrigger("Turret Setup")
|
|
send("p turret", false)
|
|
|
|
sendGMCP([[Char.Skills.Get {"group":"aethercraft"}]])
|
|
send("\n")</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("Combateer")
|
|
disableTrigger("Combateer")
|
|
disableTrigger("Targetting - Auto")
|
|
disableTrigger("Targetting - Callout")
|
|
send("config shipsight 0", false)
|
|
send("config aethermap off", 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("Collector")
|
|
enableTrigger("Collector")
|
|
disableTrigger("Siphoning - Auto")
|
|
disableTrigger("Siphoning - Callout")
|
|
send("config shipsight 0", false)
|
|
send("config aethermap off", 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("Collector")
|
|
disableTrigger("Collector")
|
|
disableTrigger("Siphoning - Auto")
|
|
disableTrigger("Siphoning - Callout")
|
|
send("config shipsight 0", false)
|
|
send("config aethermap off", false)
|
|
|
|
dreadnought.currentModule = ""</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("shipt Target " .. 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("dreadnought.pilot.calloutTimer")
|
|
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("shipt Batten down the hatches! A karibidean approaches!")
|
|
send("shipt Target karibidean")
|
|
flowerbox("red", "KARIBIDEAN!!!")
|
|
dmsg("Switching to manual override!")
|
|
|
|
dreadnought.autopilot(dreadnought.balance, dreadnought.pilot.aetherbeastsPresent,
|
|
dreadnought.aetherbeastsTotal, dreadnought.pilot.currentPosition, dreadnought.pilot.flags)
|
|
|
|
--disableTrigger("Autopilot")
|
|
</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\."$</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 > 0 then
|
|
dreadnought.pilot.aetherbeastsPresent = dreadnought.pilot.aetherbeastsPresent - 1
|
|
end
|
|
|
|
if dreadnought.aetherbeastsTotal > 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("red", "YOUR SHOCKWAVES ARE ABOUT TO EXPIRE!!")
|
|
send("shipt The shockwaves are about to expire. We'll stop and collect the dust until then.", false)
|
|
killTimer(table.remove(dreadnought.pilot.shockwaveTimers, 1))
|
|
dreadnought.pilot.flags.siphonCallout = false
|
|
disableTrigger("Siphon Callout")
|
|
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("green")
|
|
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] == "chair" then
|
|
dreadnought.empath.modules.chair = matches[3]
|
|
elseif matches[2] == "orb" then
|
|
dreadnought.empath.modules.orb = matches[3]
|
|
elseif matches[2] == "grid" then
|
|
dreadnought.empath.modules.grid = matches[3]
|
|
elseif matches[2] == "cube" then
|
|
dreadnought.empath.modules.cube = matches[3]
|
|
elseif matches[2] == "turret" then
|
|
table.insert(dreadnought.empath.modules.turrets, matches[3])
|
|
elseif matches[2] == "collector" 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>^"(\D+)(\d+)"\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("Grid Setup")
|
|
dreadnought.repairShip(dreadnought.actions)
|
|
dmsg("The empathic grid is set up and ready for your control.")</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 > 0 do
|
|
local action = dreadnought.heap.head(dreadnought.actions)
|
|
|
|
action.postCommand()
|
|
|
|
if action.name == "hull" 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] ~= "")
|
|
|
|
if damage ~= "no" then
|
|
local priority = 0
|
|
|
|
if operator ~= "" then
|
|
if module == "grid" then
|
|
priority = 3
|
|
elseif module == "chair" then
|
|
priority = 5
|
|
elseif module == "turret" then
|
|
priority = 6
|
|
elseif module == "collector" then
|
|
priority = 7
|
|
elseif module == "orb" then
|
|
priority = 8
|
|
elseif module == "cube" 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, "grid repair module " .. id))
|
|
end
|
|
|
|
if dreadnought.empath.flags.checkSlivven and hasParasite then
|
|
if operator ~= "" then
|
|
send("shipt Captain, there's a slivven attacking " .. operator .. "'s " .. module, false)
|
|
else
|
|
send("shipt Captain, there's a slivven attacking an unoccupied " .. 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>^"(\D+)(\d+)"\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("shipt No slivvens detected upon the ship.", false)
|
|
elseif slivvensFound == 1 then
|
|
send("shipt Only one slivven infecting the ship.", false)
|
|
else
|
|
send("shipt A total of " .. slivvensFound .. " slivvens infecting the ship.", 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("clarity", 4, "grid clarity " .. dreadnought.empath.modules.chair))
|
|
else
|
|
send("shipt I can't, Captain! I'm not trained enough!", 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), \"Clarity.\"$</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("emergency clarity", 1, "grid clarity " .. dreadnought.empath.modules.chair))
|
|
else
|
|
send("shipt I can't, Captain! I'm not trained enough!", 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, \"Emergency clarity\!\"$</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 == "emergency clarity" or action == "clarity" 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."$</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("clarity", 4, "grid clarity " .. 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("planarbond", 1, "grid planarbond"))
|
|
dreadnought.heap.insert(dreadnought.actions,
|
|
dreadnought.action("covey", 1, "grid covey"))
|
|
|
|
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 == "covey" 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 == "planarbond" 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("grid modules", 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), "Check\."$</string>
|
|
<string>I have been infested by an aetheretic slivven\!"$</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 == "grid" then
|
|
local hullStrength = tonumber(matches[2])
|
|
dreadnought.empath.hull.current = hullStrength
|
|
|
|
if hullStrength > dreadnought.empath.hull.max then
|
|
dreadnought.empath.hull.max = hullStrength
|
|
elseif hullStrength < dreadnought.empath.hull.max then
|
|
dreadnought.heap.insert(dreadnought.actions, dreadnought.action("hull", 2, "grid repair hull"))
|
|
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("You'll be the one to create vortexes.")
|
|
end
|
|
|
|
disableTrigger("Turret Setup")</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("target", 3, "turret target creature " ..matches[2]))
|
|
dreadnought.heap.insert(dreadnought.actions,
|
|
dreadnought.action("fire at creature", 4, "turret fire"))
|
|
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("target karibidean", 5, "turret target creature karibidean"))
|
|
dreadnought.heap.insert(dreadnought.actions,
|
|
dreadnought.action("fire on karibidean", 6, "turret fire"))
|
|
|
|
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] ~= "" then
|
|
dreadnought.heap.insert(dreadnought.actions,
|
|
dreadnought.action("target", 1, "turret target ship " ..matches[3]))
|
|
dreadnought.heap.insert(dreadnought.actions,
|
|
dreadnought.action("fire", 2, "turret fire"))
|
|
else
|
|
if matches[2] == "karibidean" then
|
|
dreadnought.heap.insert(dreadnought.actions,
|
|
dreadnought.action("target", 5, "turret target creature karibidean"))
|
|
dreadnought.heap.insert(dreadnought.actions,
|
|
dreadnought.action("fire", 6, "turret fire"))
|
|
else
|
|
dreadnought.heap.insert(dreadnought.actions,
|
|
dreadnought.action("target", 3, "turret target creature " ..matches[3]))
|
|
dreadnought.heap.insert(dreadnought.actions,
|
|
dreadnought.action("fire", 4, "turret fire"))
|
|
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), "Target (the aethership )?(\w+)\."$</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 == "target" 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("vortex", 5, "turret vortex"))
|
|
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, "Vortex\."$</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 == "vortex" 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("shockwave", 3, "turret shockwave"))
|
|
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, \"Shockwave.\"$</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 == "shockwave" 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 == "fire" 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 == "target" or action.name == "fire" 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("shipt I'm exhausted, Captain! You should find me a replacement.", 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("Autosiphon")</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("Autosiphon")
|
|
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, \"Siphon.\"$</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("shipt Siphoned from the vortex, Captain. My collector is now filled with " ..matches[2].." energy.", 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("shipt There's no vortex here, Captain.", 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("shipt My collector is full, Captain.", false)
|
|
disableTrigger("Siphoning - Auto")
|
|
disableTrigger("Siphoning - Callout")</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("shipt I'm exhausted, Captain. You'll have to find a replacement for me.", 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 > 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("Combateer")
|
|
tempTimer(0.1, [[send("shipt Aye aye, Captain! Activating my turret.")]])
|
|
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, \"(\w+), turret on\."$</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("Combateer")
|
|
tempTimer(0.1, [[send("shipt Aye aye, Captain! Deactivating my turret.")]])
|
|
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, \"(\w+), turret off\."$</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 == "collector" then
|
|
send("shipt Aye aye, Captain! Activating my collector", false)
|
|
end
|
|
enableTrigger("Collector")
|
|
tempTimer(0.1, [[send("shipt Aye aye, Captain! Activating my collector")]])
|
|
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, \"(\w+), siphon on.\"$</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("Collector")
|
|
tempTimer(0.1, [[send("shipt Aye aye, Captain! Deactivating my collector!")]])
|
|
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, \"(\w+), siphon off.\"$</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("Collector")
|
|
if dreadnought.currentModule == "collector" then
|
|
send("shipt Aye aye, Captain! Activating my collector", 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, \"Siphon on.\"$</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("Collector")
|
|
if dreadnought.currentModule == "collector" then
|
|
send("shipt Aye aye, Captain! Deactivating my collector", 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, \"Siphon off.\"$</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("hunt off")</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("pilot steer " ..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("pilot steer " .. matches[2])
|
|
disableTrigger("Autopilot")
|
|
disableTrigger("Siphon Callout")</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 = ""
|
|
|
|
if #matches[2] == 2 then
|
|
direction = string.sub(matches[2], 2, -1)
|
|
else
|
|
direction = string.sub(matches[2], 3, -1)
|
|
end
|
|
|
|
send("pilot glide " .. direction)
|
|
disableTrigger("Autopilot")
|
|
disableTrigger("Siphon Callout")</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] == "on" then
|
|
enableTrigger("Autopilot")
|
|
send("config shipsight 1")
|
|
send("config aethermap 0")
|
|
dreadnought.aetherbeastsTotal = 0
|
|
|
|
dmsg("Autopilot activated.")
|
|
else
|
|
disableTrigger("Autopilot")
|
|
disableTrigger("Siphon Callout")
|
|
send("config shipsight 1")
|
|
send("config aethermap 1")
|
|
|
|
dmsg("Autopilot deactivated.")
|
|
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] == "on" then
|
|
dreadnought.pilot.flags.siphonCallout = true
|
|
enableTrigger("Siphon Callout")
|
|
dmsg("Siphon callout mode activated.")
|
|
elseif matches[2] == "off" then
|
|
dreadnought.pilot.flags.siphonCallout = false
|
|
disableTrigger("Siphon Callout")
|
|
dmsg("Siphon callout mode deactivated.")
|
|
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 = {"n", "ne", "e", "se", "s", "sw", "w", "nw"}
|
|
for index,dir in ipairs(cardinal) do
|
|
if direction == dir then
|
|
local oppositeIndex = index + 4
|
|
if oppositeIndex > 8 then
|
|
oppositeIndex = oppositeIndex - 8
|
|
end
|
|
|
|
return cardinal[oppositeIndex]
|
|
end
|
|
end
|
|
end
|
|
|
|
dreadnought.pilot.currentPosition = 1
|
|
|
|
dreadnought.pilot.paths = {
|
|
{
|
|
next = toPos2,
|
|
home = ""
|
|
},
|
|
|
|
{
|
|
next = toPos3,
|
|
home = oppositeOf(toPos2)
|
|
},
|
|
|
|
{
|
|
next = oppositeOf(toPos3),
|
|
home = toPos1
|
|
}
|
|
}
|
|
|
|
dmsg("Autopilot path set up.")</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 > 1 then
|
|
local resets = dreadnought.reset.pilot()
|
|
|
|
dreadnought.aetherbeastsTotal = resets.aetherbeastsTotal
|
|
dreadnought.pilot = resets.pilot
|
|
dmsg("All pilot variables have been reset.")
|
|
else
|
|
dmsg("This will reset ALL piloting variables. Please type 'preset confirm' to confirm.")
|
|
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] == "on" then
|
|
send("pilot silentrun start")
|
|
else
|
|
send("pilot silentrun stop")
|
|
end</script>
|
|
<command></command>
|
|
<packageName></packageName>
|
|
<regex>^psilent (on|off)$</regex>
|
|
</Alias>
|
|
<Alias isActive="yes" isFolder="no">
|
|
<name>Farhorizon</name>
|
|
<script>if matches[2] == "on" then
|
|
send("pilot farhorizon start")
|
|
else
|
|
send("pilot farhorizon stop")
|
|
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("shipt target " .. 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] == "1" then
|
|
table.insert(actionQueue, tempTimer(0.1, [[send("echo Drawn by the flux of energy, a black dragon suddenly wanders into the nearby area.")]]))
|
|
table.insert(actionQueue, tempTimer(0.5, [[send("echo You steer The Rhassaphorian Mantra to the north.")]]))
|
|
table.insert(actionQueue, tempTimer(0.6, [[send("echo You are thrust forward as The Rhassaphorian Mantra shudders violently and comes to a complete stop.")]]))
|
|
table.insert(actionQueue, tempTimer(0.8, [[send("echo A black dragon enters from the south on the aetherways.")]]))
|
|
table.insert(actionQueue, tempTimer(1.0, [[send("echo The command chair whirrs quietly, ready to be used once again.")]]))
|
|
table.insert(actionQueue, tempTimer(1.5, [[send("echo With a ripple, the Rhassaphorian Mantra frees itself from its shockwave.")]]))
|
|
table.insert(actionQueue, tempTimer(1.7, [[send("echo You steer The Rhassaphorian Mantra to the southeast.")]]))
|
|
table.insert(actionQueue, tempTimer(1.8, [[send("echo You are thrust forward as The Rhassaphorian Mantra shudders violently and comes to a complete stop.")]]))
|
|
table.insert(actionQueue, tempTimer(1.9, [[send("echo The command chair whirrs quietly, ready to be used once again.")]]))
|
|
table.insert(actionQueue, tempTimer(2.0, [[send("echo A black dragon enters from the northeast on the aetherways.")]]))
|
|
table.insert(actionQueue, tempTimer(2.5, [[send("echo With a ripple, the Rhassaphorian Mantra frees itself from its shockwave.")]]))
|
|
table.insert(actionQueue, tempTimer(3.0, [[send("echo You steer The Rhassaphorian Mantra to the northwest.")]]))
|
|
table.insert(actionQueue, tempTimer(3.2, [[send("echo You are thrust forward as The Rhassaphorian Mantra shudders violently and comes to a complete stop.")]]))
|
|
table.insert(actionQueue, tempTimer(3.5, [[send("echo The command chair whirrs quietly, ready to be used once again.")]]))
|
|
table.insert(actionQueue, tempTimer(3.7, [[send("echo A black dragon suddenly explodes!")]]))
|
|
table.insert(actionQueue, tempTimer(3.9, [[send("echo With a ripple, the Rhassaphorian Mantra frees itself from its shockwave.")]]))
|
|
table.insert(actionQueue, tempTimer(4.2, [[send("echo You steer The Rhassaphorian Mantra to the south.")]]))
|
|
elseif matches[2] == "2" then
|
|
table.insert(actionQueue, tempTimer(0.1, [[send("echo Drawn by the flux of energy, a black dragon suddenly wanders into the nearby area.")]]))
|
|
table.insert(actionQueue, tempTimer(0.5, [[send("echo You steer The Rhassaphorian Mantra to the north.")]]))
|
|
table.insert(actionQueue, tempTimer(0.6, [[send("echo You are thrust forward as The Rhassaphorian Mantra shudders violently and comes to a complete stop.")]]))
|
|
table.insert(actionQueue, tempTimer(0.8, [[send("echo A black dragon enters from the south on the aetherways.")]]))
|
|
table.insert(actionQueue, tempTimer(1.0, [[send("echo The command chair whirrs quietly, ready to be used once again.")]]))
|
|
table.insert(actionQueue, tempTimer(1.5, [[send("echo With a ripple, the Rhassaphorian Mantra frees itself from its shockwave.")]]))
|
|
table.insert(actionQueue, tempTimer(1.7, [[send("echo You steer The Rhassaphorian Mantra to the southeast.")]]))
|
|
table.insert(actionQueue, tempTimer(1.8, [[send("echo You are thrust forward as The Rhassaphorian Mantra shudders violently and comes to a complete stop.")]]))
|
|
table.insert(actionQueue, tempTimer(1.9, [[send("echo The command chair whirrs quietly, ready to be used once again.")]]))
|
|
table.insert(actionQueue, tempTimer(2.0, [[send("echo A black dragon enters from the northeast on the aetherways.")]]))
|
|
table.insert(actionQueue, tempTimer(2.5, [[send("echo A black dragon suddenly explodes!")]]))
|
|
table.insert(actionQueue, tempTimer(2.7, [[send("echo With a ripple, the Rhassaphorian Mantra frees itself from its shockwave.")]]))
|
|
elseif matches[2] == "3" then
|
|
table.insert(actionQueue, tempTimer(0.1, [[send("echo Drawn by the flux of energy, a black dragon suddenly wanders into the nearby area.")]]))
|
|
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("grid modules", false)</script>
|
|
<command></command>
|
|
<packageName></packageName>
|
|
<regex>^gm$</regex>
|
|
</Alias>
|
|
<Alias isActive="yes" isFolder="no">
|
|
<name>Grid Repair</name>
|
|
<script>dmsg("Repairing the ship.")
|
|
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("grid modules")</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("emergency clarity", 1, "grid clarity " .. 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 > 1 then
|
|
dreadnought.actions = dreadnought.heap.new()
|
|
local resets = dreadnought.reset.empath()
|
|
|
|
dreadnought.aetherbeastsTotal = resets.aetherbeastsTotal
|
|
dreadnought.currentModule = "grid"
|
|
dreadnought.empath = resets.empath
|
|
dmsg("All empath variables have been reset.")
|
|
else
|
|
dmsg("This will reset ALL empathing variables. Please type 'greset confirm' to confirm.")
|
|
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] == "call" then
|
|
disableTrigger("Targetting - Auto")
|
|
enableTrigger("Targetting - Callout")
|
|
send("shipt Enabling my turret, Captain. Call out the targets and I'll blast them from the aethers!")
|
|
elseif matches[2] == "auto" then
|
|
enableTrigger("Targetting - Auto")
|
|
disableTrigger("Targetting - Callout")
|
|
send("shipt Enabling my turret, Captain. Should I see an aetherbeast, I'll blast it to smithereens!")
|
|
else
|
|
disableTrigger("Targetting - Auto")
|
|
disableTrigger("Targetting - Callout")
|
|
send("shipt Disabling my turret, Captain.")
|
|
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 > 2 then
|
|
dreadnought.heap.insert(dreadnought.actions,
|
|
dreadnought.action("target", 1, "turret target ship " ..matches[2]))
|
|
dreadnought.heap.insert(dreadnought.actions,
|
|
dreadnought.action("fire", 2, "turret fire"))
|
|
else
|
|
if matches[2] == "karibidean" then
|
|
dreadnought.heap.insert(dreadnought.actions,
|
|
dreadnought.action("target", 5, "turret target creature karibidean"))
|
|
dreadnought.heap.insert(dreadnought.actions,
|
|
dreadnought.action("fire", 6, "turret fire"))
|
|
else
|
|
dreadnought.heap.insert(dreadnought.actions,
|
|
dreadnought.action("target", 3, "turret target creature " ..matches[2]))
|
|
dreadnought.heap.insert(dreadnought.actions,
|
|
dreadnought.action("fire", 4, "turret fire"))
|
|
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("vortex", 5, "turret vortex"))
|
|
|
|
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] == "call" then
|
|
send("config shipsight 0")
|
|
enableTrigger("Collector")
|
|
disableTrigger("Siphoning - Auto")
|
|
enableTrigger("Siphoning - Callout")
|
|
send("shipt Enabling my collector, Captain. Siphoning on your command.")
|
|
elseif matches[2] == "auto" then
|
|
send("config shipsight 1")
|
|
enableTrigger("Collector")
|
|
enableTrigger("Siphoning - Auto")
|
|
disableTrigger("Siphoning - Callout")
|
|
send("shipt Enabling my collector, Captain. Siphoning when we're over a vortex.")
|
|
else
|
|
send("config shipsight 0")
|
|
disableTrigger("Collector")
|
|
disableTrigger("Siphoning - Auto")
|
|
disableTrigger("Siphoning - Callout")
|
|
send("shipt Disabling my collector, Captain.")
|
|
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("ship look", false)</script>
|
|
<command></command>
|
|
<packageName></packageName>
|
|
<regex>^sl$</regex>
|
|
</Alias>
|
|
<Alias isActive="yes" isFolder="no">
|
|
<name>Finish Hunting</name>
|
|
<script>disableTrigger("Pilot")
|
|
disableTrigger("Autopilot")
|
|
disableAlias("Pilot")
|
|
|
|
disableTrigger("Empath")
|
|
disableAlias("Empath")
|
|
|
|
disableTrigger("Combateer")
|
|
disableTrigger("Targetting - Auto")
|
|
disableTrigger("Targetting - Callout")
|
|
disableAlias("Combateer")
|
|
|
|
disableTrigger("Collector")
|
|
disableTrigger("Siphoning - Auto")
|
|
disableTrigger("Siphoning - Callout")
|
|
disableAlias("Collector")
|
|
|
|
dreadnought.actions = dreadnought.heap.new()
|
|
|
|
dmsg("All Dreadnought reflexes have been disabled.")</script>
|
|
<command></command>
|
|
<packageName></packageName>
|
|
<regex>^hunt off$</regex>
|
|
</Alias>
|
|
<Alias isActive="yes" isFolder="no">
|
|
<name>Gags</name>
|
|
<script>if matches[2] == "on" then
|
|
dmsg("Deleting all distracting aetherhunting spam.")
|
|
enableTrigger("Gags")
|
|
else
|
|
dmsg("Enabling all distracting aetherhunting spam. Enjoy!")
|
|
disableTrigger("Gags")
|
|
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 = "3.0",
|
|
aetherbeastsTotal = 0,
|
|
currentModule = "",
|
|
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) == "table")
|
|
assert(type(y) == "table")
|
|
|
|
assert(type(x.priority) == "number")
|
|
assert(type(y.priority) == "number")
|
|
|
|
return x.priority > y.priority
|
|
end
|
|
|
|
local exch = function(h, x, y)
|
|
assert(type(h) == "table")
|
|
assert(type(x) == "number")
|
|
assert(type(y) == "number")
|
|
|
|
local temp = h.elements[x]
|
|
h.elements[x] = h.elements[y]
|
|
h.elements[y] = temp
|
|
end
|
|
|
|
local sink = function(h, parentIndex)
|
|
while (parentIndex*2) < h.size do
|
|
local childIndex = parentIndex * 2
|
|
|
|
if childIndex < 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 > 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 > 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) == "string")
|
|
assert(type(priority) == "number")
|
|
assert(type(command) == "function" or type(command) == "string" or type(command) == "table")
|
|
assert(postCommand == nil or type(postCommand) == "function")
|
|
|
|
if postCommand == nil then
|
|
postCommand = function()
|
|
dreadnought.locked = false
|
|
end
|
|
end
|
|
|
|
local cmd -- The command to execute the given action command
|
|
if type(command) == "string" then
|
|
cmd = function()
|
|
if dreadnought.balance and not dreadnought.locked then
|
|
send(command, false)
|
|
dreadnought.locked = true
|
|
end
|
|
end
|
|
elseif type(command) == "table" 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 > b.priority
|
|
end,
|
|
|
|
__le = function(a, b)
|
|
return a.priority >= 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 = "",
|
|
|
|
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 = ""
|
|
}
|
|
if balance and not flags.shocked then
|
|
if aetherbeastsTotal > 0 then
|
|
if aetherbeastsPresent == aetherbeastsTotal then
|
|
-- There's an aetherbeast! Quick, run away!
|
|
positions = dreadnought.findNextPosition(currentPosition)
|
|
send("pilot steer " .. positions.nextPosition)
|
|
end
|
|
else -- No more aetherbeasts; head back to the vortex
|
|
positions = dreadnought.findHome(currentPosition)
|
|
if positions.nextPosition ~= "" then
|
|
send("pilot steer " .. 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 ~= "" 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("shipt Siphon")
|
|
dreadnought.pilot.siphonCalloutCount = dreadnought.pilot.siphonCalloutCount + 1
|
|
|
|
tempTimer(2, function ()
|
|
if dreadnought.aetherbeastsTotal == 0 and dreadnought.pilot.siphonCalloutCount < 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 = "",
|
|
grid = "",
|
|
turrets = {},
|
|
collectors = {},
|
|
orb = "",
|
|
cube = ""
|
|
},
|
|
|
|
skills = {},
|
|
|
|
flags = {
|
|
checkSlivven = false
|
|
},
|
|
|
|
slivvensFound = 0,
|
|
inspectedModule = ""
|
|
}
|
|
|
|
function dreadnought.reset.empath()
|
|
return {
|
|
aetherbeastsTotal = 0,
|
|
currentModule = "",
|
|
actions = dreadnought.heap.new(),
|
|
|
|
empath = {
|
|
hull = {
|
|
current = 0,
|
|
max = 0
|
|
},
|
|
|
|
modules = {
|
|
chair = "",
|
|
grid = "",
|
|
turrets = {},
|
|
collectors = {},
|
|
orb = "",
|
|
cube = ""
|
|
},
|
|
|
|
skills = dreadnought.empath.skills,
|
|
|
|
flags = {
|
|
checkSlivven = false
|
|
},
|
|
|
|
slivvensFound = 0,
|
|
inspectedModule = ""
|
|
}
|
|
}
|
|
end</script>
|
|
<eventHandlerList/>
|
|
<Script isActive="yes" isFolder="no">
|
|
<name>Repair Ship</name>
|
|
<packageName></packageName>
|
|
<script>function dreadnought.repairShip(actions)
|
|
if actions.size > 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 = "",
|
|
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 > 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("siphon vortex", false)
|
|
else
|
|
send("shipt I don't think that's a good idea, Captain. There are aetherbeasts about!")
|
|
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 == "grid" 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 == "turret" 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("gmcp.Char.Skills.List", "dreadnought.skillsListener")</script>
|
|
<eventHandlerList/>
|
|
</Script>
|
|
<Script isActive="yes" isFolder="no">
|
|
<name>Balance Listener</name>
|
|
<packageName></packageName>
|
|
<script>function dreadnought.balanceListener()
|
|
if gmcp.Char.Vitals.modulebal == "1" then
|
|
dreadnought.balance = true
|
|
|
|
raiseEvent("dreadnought.onFireAction", dreadnought.currentModule)
|
|
else
|
|
dreadnought.balance = false
|
|
end
|
|
end
|
|
|
|
registerAnonymousEventHandler("gmcp.Char.Vitals", "dreadnought.balanceListener")</script>
|
|
<eventHandlerList/>
|
|
</Script>
|
|
<Script isActive="yes" isFolder="no">
|
|
<name>Fire Action</name>
|
|
<packageName></packageName>
|
|
<script>function dreadnought.fireAction(_, currentModule)
|
|
if currentModule ~= "" and not dreadnought.locked then
|
|
if currentModule == "grid" then
|
|
dreadnought.repairShip(dreadnought.actions)
|
|
elseif currentModule == "turret" then
|
|
dreadnought.fireTurret(dreadnought.actions)
|
|
end
|
|
end
|
|
end
|
|
|
|
registerAnonymousEventHandler("dreadnought.onFireAction", "dreadnought.fireAction")</script>
|
|
<eventHandlerList/>
|
|
</Script>
|
|
</ScriptGroup>
|
|
<Script isActive="yes" isFolder="no">
|
|
<name>Message</name>
|
|
<packageName></packageName>
|
|
<script>function dmsg(text)
|
|
cecho("\n<RoyalBlue>(<firebrick>Dreadnought<RoyalBlue>): <firebrick>" .. text)
|
|
end</script>
|
|
<eventHandlerList/>
|
|
</Script>
|
|
<Script isActive="yes" isFolder="no">
|
|
<name>Flowerbox</name>
|
|
<packageName></packageName>
|
|
<script>function flowerbox(color, text)
|
|
local text = "\n# " .. text .. " #"
|
|
|
|
local function printLine(line)
|
|
if line == nil then
|
|
echo("\n")
|
|
for i=1, #text-1 do
|
|
cecho("<" .. color .. ">#")
|
|
end
|
|
else
|
|
cecho("<" .. color .. ">" .. 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>
|