From f11aa76ca69bb8f8f75461d1c58582ff89a1ba4f Mon Sep 17 00:00:00 2001 From: Zach Dziura Date: Wed, 17 Feb 2016 01:10:07 -0500 Subject: [PATCH] Numerous Empathing and Siphoning enhancements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Siphoners will now call out a maximum of 5 times that they’re exhausted, rather than spamming the hell out of the ship. Also, as long as the empath is able to cast Clarity, whenever the ship is shockwaved, the empath will now clarity the chair so they can make their escape. Plus, several documentation fixes and additions, such as clarifying the README a bit and adding in the Collector documentation. --- .../Dreadnought.xml => Dreadnought.xml | 221 ++++++++++++++---- Dreadnought/config.lua | 1 - README.md | 10 +- docs/Collector.md | 9 + 4 files changed, 190 insertions(+), 51 deletions(-) rename Dreadnought/Dreadnought.xml => Dreadnought.xml (96%) delete mode 100644 Dreadnought/config.lua diff --git a/Dreadnought/Dreadnought.xml b/Dreadnought.xml similarity index 96% rename from Dreadnought/Dreadnought.xml rename to Dreadnought.xml index 6da81c2..1d8599b 100644 --- a/Dreadnought/Dreadnought.xml +++ b/Dreadnought.xml @@ -303,7 +303,7 @@ send("config aethermap off") #000000 - + Autopilot 0 @@ -318,7 +318,7 @@ send("config aethermap off") #000000 - + Siphon Callout 0 0 @@ -1168,6 +1170,29 @@ end 1 + + Entering Shockwave + + 0 + 0 + 0 + + + #ff0000 + #ffff00 + + #000000 + #000000 + + ^You are thrust forward as(?:\s\w+(?:\'\w+)?)+ shudders violently and comes to a complete stop\.$ + + + 1 + + Grid Balance @@ -1206,7 +1231,7 @@ dreadnought.repairShip(dreadnought.balance, dreadnought.empath.commands)#000000 - + Turret Setup 0 @@ -1778,7 +1803,10 @@ end Siphoning Vortex - + 0 99 0 @@ -1841,7 +1869,11 @@ disableTrigger("Siphoning - Callout") Exhaustion +dreadnought.collector.exhaustionCount = dreadnought.collector.exhaustionCount + 1 + +if dreadnought.collector.exhaustionCount < 5 then + dreadnought.siphonVortex(dreadnought.aetherbeastsTotal) +end 0 0 0 @@ -2025,51 +2057,15 @@ tempTimer(0.1, [[send("shipt Aye aye, Captain! Deactivating my collector&qu #000000 #000000 - implodes and your body is instantly torn apart by the unstable reality of the Aetherways\.$ + implodes and your body is instantly torn apart by the unstable reality of the Aetherways. - 1 + 0 - - - Dreadnought - - - - - - Shockwaves - - - - - - Shockwaves Expired - - shipt Attention! The shockwaves have expired! - - - - - Five Minute Announcement - - shipt Attention! The shockwaves will expire in five minutes! - - - - - Fifteen Minute Announcement - - shipt Attention! The shockwaves will expire in fifteen minutes! - - - - - - + Dreadnought @@ -2077,7 +2073,7 @@ tempTimer(0.1, [[send("shipt Aye aye, Captain! Deactivating my collector&qu - + Pilot @@ -2850,7 +2846,9 @@ end Collector - + + + + + + Data Structures + + + + + + + diff --git a/Dreadnought/config.lua b/Dreadnought/config.lua deleted file mode 100644 index b4143c5..0000000 --- a/Dreadnought/config.lua +++ /dev/null @@ -1 +0,0 @@ -mpackage = "Dreadnought" \ No newline at end of file diff --git a/README.md b/README.md index 8b0c8db..729d05f 100644 --- a/README.md +++ b/README.md @@ -6,15 +6,17 @@ An automated aetherhunting system for Lusternia, written in Lua for the Mudlet c Installation ---------- -1. Download the latest release and extract it somewhere in your computer. -2. Within the project's root directory, create a ZIP archive of the included `Dreadnought` directory. -3. Open Mudlet and import the newly created ZIP archive using the built-in package manager. +1. Click on the `releases` button above and download the latest `Source Code (zip)` file for the latest Dreadnought release. +2. Extract the zip file somewhere on your computer (such as your Downloads folder). +3. Open Mudlet. On the Menu Bar, click on `Package Manager`. +4. Click on `Install`, navigate to the folder where you extracted the zip file, and select the `Dreadnought.xml` file. +5. Click `OK` to close the Package Manager window. Updating -------- 1. Open up Mudlet's Package Manager. -2. Select the `Dreadnought` package and click Uninstall. +2. Select the `Dreadnought` package and click `Uninstall`. 3. See the above Installation instructions. Documentation diff --git a/docs/Collector.md b/docs/Collector.md index e69de29..e60fec1 100644 --- a/docs/Collector.md +++ b/docs/Collector.md @@ -0,0 +1,9 @@ +Collector +========= + +The collector has the easiest set of commands to use: there's only one! The collector can be toggled between two modes: `Auto`, which will automatically siphon from a vortex should one appear in view; and `Call` which will siphon once for every time someone announced `"Siphon"` on the ship aether. + +Commands +-------- + +- `smode ` - Toggles the siphoning mode, or turns siphoning off completely. \ No newline at end of file