This commit is contained in:
daebach 2017-03-08 20:32:24 +00:00 committed by GitHub
commit 037a828e8b

View file

@ -2,6 +2,21 @@
<!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>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName>Dreadnought</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>Dreadnought</name>
<script></script>
@ -987,7 +1002,7 @@ end</script>
<name>Finish</name>
<script>local action = dreadnought.heap.head(dreadnought.actions)
if action.name == &quot;emergency clarity&quot; or action.name == &quot;clarity&quot; then
if action.name == &quot;emergency clarity&quot; or action == &quot;clarity&quot; then
dreadnought.heap.extract(dreadnought.actions)
end
@ -1184,6 +1199,139 @@ end</script>
<integer>1</integer>
</regexCodePropertyList>
</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>aethercombat</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="yes" isPerlSlashGOption="yes" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>worbleLine</name>
<script>if multimatches[1][2] == &quot;chair&quot; then
slowMod = dreadnought.empath.modules.chair
heap.insert(dreadnought.empath.commands, action(&quot;clarity&quot;, 2, &quot;grid clarity &quot; ..slowMod))
elseif multimatches[1][2] == &quot;grid&quot; then
slowMod = dreadnought.empath.modules.grid
heap.insert(dreadnought.empath.commands, action(&quot;clarity&quot;, 1, &quot;grid clarity &quot; ..slowMod))
elseif multimatches[1][2] == &quot;turret&quot; then
slowMod = dreadnought.empath.modules.turret
heap.insert(dreadnought.empath.commands, action(&quot;clarity&quot;, 3, &quot;grid clarity &quot; ..slowMod))
end
dreadnought.repairShip(dreadnought.balance, dreadnought.empath.commands)</script>
<triggerType>0</triggerType>
<conditonLineDelta>1</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^&quot;(\D+)(\d+)&quot;\s+(?:\w+\s){3}\s+\d+\%\ \/\ (\w+) damage \[(\w+)\]$</string>
<string>It is slowed!</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
<integer>0</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="yes" isPerlSlashGOption="yes" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>muckleLine</name>
<script>if multimatches[1][2] == &quot;chair&quot; then
slowMod = dreadnought.empath.modules.chair
heap.insert(dreadnought.empath.commands, action(&quot;clarity&quot;, 2, &quot;grid clarity &quot; ..slowMod))
elseif multimatches[1][2] == &quot;grid&quot; then
slowMod = dreadnought.empath.modules.grid
heap.insert(dreadnought.empath.commands, action(&quot;clarity&quot;, 1, &quot;grid clarity &quot; ..slowMod))
elseif multimatches[1][2] == &quot;turret&quot; then
slowMod = dreadnought.empath.modules.turret
heap.insert(dreadnought.empath.commands, action(&quot;clarity&quot;, 3, &quot;grid clarity &quot; ..slowMod))
end
dreadnought.repairShip(dreadnought.balance, dreadnought.empath.commands)</script>
<triggerType>0</triggerType>
<conditonLineDelta>1</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^&quot;(\D+)(\d+)&quot;\s+(?:\w+\s){3}\s+\d+\%\ \/\ (\w+) damage \[(\w+)\]$</string>
<string>It is disrupted!</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
<integer>0</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>sendGridRepair</name>
<script>send(&quot;grid modules&quot;)</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^(.*) \[(\w+)\] launches a worbling disc of energy at (.*), which shudders as a sizzling energy rushes through the ship\.$</string>
<string>^(.*) \[(\w+)\] pounds (.*), hitting the (.*), which crackles and splutters\.$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="yes" isPerlSlashGOption="yes" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>regenerate</name>
<script>if multimatches[1][2] == &quot;chair&quot; then
slowMod = dreadnought.empath.modules.chair
elseif multimatches[1][2] == &quot;turret&quot; then
slowMod = dreadnought.empath.modules.turret
end
heap.insert(dreadnought.empath.commands, action(&quot;clarity&quot;, 4, &quot;grid regenerate &quot; .. slowMod))
dreadnought.repairShip(dreadnought.balance, dreadnought.empath.commands)</script>
<triggerType>0</triggerType>
<conditonLineDelta>1</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>^&quot;(\D+)(\d+)&quot;\s+(?:\w+\s){3}\s+\d+\%\ \/\ (\w+) damage \[(\w+)\]$</string>
<string>It has been blown up!</string>
</regexCodeList>
<regexCodePropertyList>
<integer>1</integer>
<integer>0</integer>
</regexCodePropertyList>
</Trigger>
</TriggerGroup>
</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>
@ -1554,7 +1702,9 @@ end</script>
if action.name == &quot;fire&quot; then
dreadnought.heap.extract(dreadnought.actions)
end</script>
end
action.postCommand()</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
@ -2162,9 +2312,16 @@ end</script>
</Trigger>
</TriggerGroup>
</TriggerGroup>
</TriggerGroup>
</TriggerPackage>
<TimerPackage/>
<AliasPackage>
<AliasGroup isActive="yes" isFolder="yes">
<name>Dreadnought</name>
<script></script>
<command></command>
<packageName>Dreadnought</packageName>
<regex></regex>
<AliasGroup isActive="yes" isFolder="yes">
<name>Dreadnought</name>
<script></script>
@ -2516,6 +2673,24 @@ end
<packageName></packageName>
<regex>^greset(?: (confirm))?$</regex>
</Alias>
<AliasGroup isActive="yes" isFolder="yes">
<name>aethercombat</name>
<script></script>
<command></command>
<packageName></packageName>
<regex></regex>
<Alias isActive="yes" isFolder="no">
<name>acombat on</name>
<script>if matches[2] == &quot;on&quot; then
dmsg(&quot;Initializing Aether Combat!&quot;)
else
dmsg(&quot;Disabling Aether Combat!&quot;)
end</script>
<command></command>
<packageName></packageName>
<regex>^acombat (on|off)$</regex>
</Alias>
</AliasGroup>
</AliasGroup>
<AliasGroup isActive="no" isFolder="yes">
<name>Combateer</name>
@ -2660,9 +2835,15 @@ end</script>
<regex>^gag (on|off)$</regex>
</Alias>
</AliasGroup>
</AliasGroup>
</AliasPackage>
<ActionPackage/>
<ScriptPackage>
<ScriptGroup isActive="yes" isFolder="yes">
<name>Dreadnought</name>
<packageName>Dreadnought</packageName>
<script></script>
<eventHandlerList/>
<ScriptGroup isActive="yes" isFolder="yes">
<name>Dreadnought</name>
<packageName></packageName>
@ -3214,6 +3395,7 @@ end</script>
</Script>
</ScriptGroup>
</ScriptGroup>
</ScriptGroup>
</ScriptPackage>
<KeyPackage/>
</MudletPackage>