New settings, fixes, tooltips and more
(#27)
* Added New setting `IgnoreMyNearCorpses` for those servers where you keep your gear on death.
* Added `SafeZones` see Settings panel We will NOT try to loot if in a `SafeZone`.
* Added Tooltips to the settings
* Added a button to the GUI to toggle Debug spam
* Another pass on directed mode.
* Another pass on loot rule checks (hopefully this fixes the occasional looting of `NoDrop` by the wrong class, looking good so far in testing)
* Performance pass on Actors messaging to cut down on how often messages are sent trimming duplicate sending.
Directed Mode Adjustments
* Added 3rd argument when launching for the scripts location (default `YourScriptName/lib/lootnscoot`) you can also just pass `lootnscoot` to have your script call LNS from its native install if it exists.
* `/lua run ScriptPath directed DirectorName ScriptPath` where:
* `ScriptPath` is `lootnscoot` for the standalone as arguments 1 and 3 or your bundled path. If bundled and not specified in the 3rd argument then it defaults to `DirectorName/lib/lootnscoot`
* `DirectorName` is the name of your script you are calling this from (name of folder in the lua dir)
* If loading the default lootnscoot you should always add the 3rd field `lootnscoot`.
* example from RGMercs Lua: In this example we also allow the user to choose which to load if they have LNS installed and the bundled version.
```
local Files = require('mq.Utils') -- has file exists function
local hasLootnScoot = Files.File.Exists(string.format("%s/lootnscoot/init.lua", mq.luaDir)) -- check if they have lootnscoot installed
local bundleScriptPath = string.format("rgmercs/lib/lootnscoot") -- set the bundled path
local LootScript = "lootnscoot" -- default lootnscoot script name ie `/lua/lootnscoot` foldername
local scriptName = (Config:GetSetting('UseBundled') and hasLootnScoot) and bundleScriptPath or LootScript
mq.cmdf("/lua run %s directed rgmercs %s", scriptName, scriptName) -- call the script, by passing the 3rd argument we can use this in Actors mailbox addressing to refine the correct mailbox.
-- If you leave the 3rd one blank we will default to `DirectorName/lib/lootnscoot` if loading the default lootnscoot you should always add the 3rd field.
```
* This should make it easier to maintain LNS in a script that is bundling it, by allowing you to not have to bundle it
* Saves on maintaining a copy every time LNS is updated.
* Added some more settings to be passed over actors to the `DirectingScript` so you can toggle them from both GUI's if you wanted.