<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://gswiki-archive.gs-game.uk/index.php?action=history&amp;feed=atom&amp;title=Lich%3AScript_Eherbs</id>
	<title>Lich:Script Eherbs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://gswiki-archive.gs-game.uk/index.php?action=history&amp;feed=atom&amp;title=Lich%3AScript_Eherbs"/>
	<link rel="alternate" type="text/html" href="https://gswiki-archive.gs-game.uk/index.php?title=Lich:Script_Eherbs&amp;action=history"/>
	<updated>2026-11-11T21:42:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://gswiki-archive.gs-game.uk/index.php?title=Lich:Script_Eherbs&amp;diff=9799&amp;oldid=prev</id>
		<title>imported&gt;HORIBU1: /* Changelog */ updated to v2.1.9</title>
		<link rel="alternate" type="text/html" href="https://gswiki-archive.gs-game.uk/index.php?title=Lich:Script_Eherbs&amp;diff=9799&amp;oldid=prev"/>
		<updated>2025-11-27T02:14:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Changelog: &lt;/span&gt; updated to v2.1.9&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{3rd-party}}&lt;br /&gt;
==What Does Ebounty Do?==&lt;br /&gt;
&lt;br /&gt;
Eherbs will heal you with herbs or stock your herb sack. It supports [[Survivalist&amp;#039;s Kit]] and various unlocks sold at [[Duskruin]]&lt;br /&gt;
&lt;br /&gt;
==How Do I Get It?==&lt;br /&gt;
&lt;br /&gt;
Eherbs can be downloaded via &amp;lt;CODE&amp;gt;;repo download eherbs&amp;lt;/CODE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As a script in active development and with the constant state of changes in the game, it is recommended to set eloot and all Elanthia-Online scripts to auto-update via &amp;lt;CODE&amp;gt;;repo set-updatable eherbs&amp;lt;/CODE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==How Do I Make it GO!?==&lt;br /&gt;
Eherbs will check your herbsack, which needs to be configured first via &amp;lt;CODE&amp;gt;;vars set herbsack=&amp;lt;container&amp;gt;&amp;lt;/CODE&amp;gt;. Then run the setup via &amp;lt;CODE&amp;gt;;eherbs setup&amp;lt;/CODE&amp;gt; and set your configuration options. &lt;br /&gt;
You can also enter configuration via the command line&amp;#039;&lt;br /&gt;
&lt;br /&gt;
==Ingame Help Output==&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 To use the herbs in your herbsack (see below for setting your herbsack):&lt;br /&gt;
   ;eherbs&lt;br /&gt;
&lt;br /&gt;
 To heal only hitpoints but no other wounds (squares rejoice!):&lt;br /&gt;
   ;eherbs blood&lt;br /&gt;
&lt;br /&gt;
 To check a container and report a table of herb types with counts:&lt;br /&gt;
   ;eherbs check &amp;lt;in|on|under|behind&amp;gt; &amp;lt;container&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 To replace any missing herbs:&lt;br /&gt;
   ;eherbs fill&lt;br /&gt;
&lt;br /&gt;
 To stock herbs for a big hunt (purchase multiple doses of herbs):&lt;br /&gt;
   ;eherbs stock&lt;br /&gt;
&lt;br /&gt;
 To set the amount of herbs to stock based on percent of capacity:&lt;br /&gt;
   Primarily intended for survival kits but will work for ordinary containers also.&lt;br /&gt;
   ;eherbs set stock &amp;lt;percent&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 Optionally you can specify if you only want herbs or potions:&lt;br /&gt;
   ;eherbs stock [herbs|potions]&lt;br /&gt;
&lt;br /&gt;
 Or you can specify if you want the stock count combined between potions and herbs. (survival kits only)&lt;br /&gt;
   ;eherbs stock combined&lt;br /&gt;
&lt;br /&gt;
 Additionally, you can specify if you only want a particular herb stocked:&lt;br /&gt;
   ;eherbs stock major head wound &amp;lt;- to stock stem only&lt;br /&gt;
&lt;br /&gt;
 To look up what herbs heal what (to help with the preceding command):&lt;br /&gt;
   ;eherbs list&lt;br /&gt;
&lt;br /&gt;
 To use the herbs on a bench or something:&lt;br /&gt;
   ;eherbs on bench&lt;br /&gt;
     or&lt;br /&gt;
   ;eherbs behind altar&lt;br /&gt;
&lt;br /&gt;
 To use the herbs on a bench without picking up the edible herbs:&lt;br /&gt;
   ;eherbs on bench --no-get&lt;br /&gt;
&lt;br /&gt;
 To heal your Adventurer&amp;#039;s Guild escort (not well tested):&lt;br /&gt;
   ;eherbs escort&lt;br /&gt;
&lt;br /&gt;
 Options (add these to the end of the command; these override default options):&lt;br /&gt;
   --buy=&amp;lt;on/off&amp;gt;         Go to the herbalist to buy herbs if needed&lt;br /&gt;
   --deposit=&amp;lt;on/off&amp;gt;     Deposit silver if needed at end of healing&lt;br /&gt;
   --mending=&amp;lt;on/off&amp;gt;     Use sigil of mending before using herbs&lt;br /&gt;
   --skipscars=&amp;lt;on/off&amp;gt;   Skip rank 1 scar healing&lt;br /&gt;
   --yaba=&amp;lt;on/off&amp;gt;        Use yabathilium fruit first&lt;br /&gt;
   --potions=&amp;lt;on/off&amp;gt;     Try to use potions first&lt;br /&gt;
&lt;br /&gt;
 Change default options (so you don&amp;#039;t have to specify the option every time):&lt;br /&gt;
   ;eherbs set buy &amp;lt;on/off&amp;gt;           same as above&lt;br /&gt;
   ;eherbs set deposit &amp;lt;on/off&amp;gt;       same as above&lt;br /&gt;
   ;eherbs set mending &amp;lt;on/off&amp;gt;       same as above&lt;br /&gt;
   ;eherbs set skipscars &amp;lt;on/off&amp;gt;     same as above&lt;br /&gt;
   ;eherbs set yaba &amp;lt;on/off&amp;gt;          same as above&lt;br /&gt;
   ;eherbs set potions &amp;lt;on/off&amp;gt;       same as above&lt;br /&gt;
   ;eherbs set herbsack &amp;lt;container&amp;gt;   sets which container you use if one isn&amp;#039;t&lt;br /&gt;
                                        specified on the command line&lt;br /&gt;
&lt;br /&gt;
 To access UI:&lt;br /&gt;
   ;eherbs setup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ingame Screenshot==&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;4&amp;quot;&amp;gt;&lt;br /&gt;
File:eherbs-1.PNG|General&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Changelog==&lt;br /&gt;
&amp;lt;span class=&amp;quot;mw-customtoggle-mychangelog&amp;quot; style=&amp;quot;color:#0000ff&amp;quot;&amp;gt;Click to expand&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; id=&amp;quot;mw-customcollapsible-mychangelog&amp;quot;&amp;gt;&lt;br /&gt;
  2.1.9  (2025-11-26)&lt;br /&gt;
    - improve the various look in container regex matches with existing ID in comparison when used in original command&lt;br /&gt;
  2.1.8  (2025-11-03)&lt;br /&gt;
    - fix for buy_herb to rebuy correct amount when not enough money instead of just qty 1&lt;br /&gt;
  2.1.7  (2025-08-05)&lt;br /&gt;
    - fix for Hinterwilds herbs mapdb location including &amp;quot;the&amp;quot;&lt;br /&gt;
  2.1.6  (2025-08-05)&lt;br /&gt;
    - add debug messaging to dead character healing&lt;br /&gt;
  2.1.5  (2025-05-13)&lt;br /&gt;
    - fix for Cysaegir not matching probably for stocking&lt;br /&gt;
  2.1.4  (2025-04-22)&lt;br /&gt;
    - add additional put regex for survival kit when fully stocked&lt;br /&gt;
  2.1.3  (2025-03-25)&lt;br /&gt;
    - remove waitcastrt? from wait_rt method&lt;br /&gt;
    - add waitcastrt? to cast_spells method&lt;br /&gt;
    - add Do Not Buy herbs for Solhaven backroom bundles so can be recognized for usage by eherbs&lt;br /&gt;
    - bugfix in check_herbs_in_container method for nil measures&lt;br /&gt;
    - bugfix in get_current_stock to also count herbs in a survival kit that are currently solid/liquid doses&lt;br /&gt;
    - redetect survival kit if changed stock, distiller or herb_sack changed in currenct session&lt;br /&gt;
  2.1.2  (2025-02-22)&lt;br /&gt;
    - add additional unpoison herbs&lt;br /&gt;
    - add logic to eat/drink poison &amp;amp; disease curing herbs&lt;br /&gt;
    - bugfix for cached pricing of herbalist in distant town but starting in different area&lt;br /&gt;
    - remove deprecated calls to maxhealth &amp;amp; checkhealth&lt;br /&gt;
    - update logic of survival kits to include non-bundled liquid/solid doses&lt;br /&gt;
  2.1.1  (2025-02-20)&lt;br /&gt;
    - change ;eherbs load to also redetermine survival kit&lt;br /&gt;
  2.1.0  (2025-01-19)&lt;br /&gt;
    - add --spellcast and --ranged options to healdown to be able to do those again&lt;br /&gt;
  2.0.18 (2025-01-06)&lt;br /&gt;
    - fix for min_stock_doses to persist thru current session running&lt;br /&gt;
  2.0.17 (2025-01-06)&lt;br /&gt;
    - fix for survival_kit to persist thru current session running&lt;br /&gt;
    - fix for not being able to analyze kit during distill function&lt;br /&gt;
  2.0.16 (2024-12-06)&lt;br /&gt;
    - add additional debug messaging&lt;br /&gt;
  2.0.15 (2024-10-10)&lt;br /&gt;
    - skip herbs that can&amp;#039;t be bundled when bundling herbs&lt;br /&gt;
  2.0.14 (2024-09-25)&lt;br /&gt;
    - bugfix for depositing in Pinefar, need to wait for banker&lt;br /&gt;
  2.0.13 (2024-08-30)&lt;br /&gt;
    - bugfix for excessive ANALYZE for survival kits logic&lt;br /&gt;
    - bugfix for wait_rt method&lt;br /&gt;
  2.0.12 (2024-08-27)&lt;br /&gt;
    - adjust doses for Ta&amp;#039;Vaalor&lt;br /&gt;
    - update note buying process for in-hand recognition&lt;br /&gt;
    - bugfix in stock_requested_herbs when not using a note&lt;br /&gt;
  2.0.11 (2024-08-26)&lt;br /&gt;
    - Add missing Ta&amp;#039;Vaalor tinctures&lt;br /&gt;
  2.0.10 (2024-08-15)&lt;br /&gt;
    - bugfix failed finding blood herbs if use_yaba is on with no yaba found&lt;br /&gt;
  2.0.9 (2024-07-20)&lt;br /&gt;
    - change note variable to just use the noun instead of full name&lt;br /&gt;
    - use quiet command for _injury 2&lt;br /&gt;
    - consolidate inventory check methods&lt;br /&gt;
    - general code consolidation&lt;br /&gt;
    - change log added to wiki&lt;br /&gt;
  2.0.8 (2024-07-12)&lt;br /&gt;
    - pause script ego2 if running&lt;br /&gt;
  2.0.7 (2024-07-12)&lt;br /&gt;
    - drinkable variable not being set when buying&lt;br /&gt;
  2.0.6 (2024-07-10)&lt;br /&gt;
    - changed drinkable boolean in favor of checking regex during herb usage or boolean&lt;br /&gt;
  2.0.5 (2024-01-17)&lt;br /&gt;
    - fix for wrong variable reference&lt;br /&gt;
  2.0.4 (2024-01-03)&lt;br /&gt;
    - bugfix for Zul Logoth location check&lt;br /&gt;
  2.0.3 (2024-01-01)&lt;br /&gt;
    - bugfix for use_potions variable&lt;br /&gt;
  2.0.2 (2023-12-15)&lt;br /&gt;
    - send injury command to refresh XML before attempting to heal self incase missing injury from XML&lt;br /&gt;
  2.0.1 (2023-11-10)&lt;br /&gt;
    - bugfix to use id instead of name for distiller&lt;br /&gt;
    - added setting output for debugging ;eherbs settings&lt;br /&gt;
  2.0.0 (2023-09-21)&lt;br /&gt;
    - added heal down for bleeding deaders ;eherbs &amp;lt;character&amp;gt;&lt;br /&gt;
    - added note support when stocking herb kits&lt;br /&gt;
    - will exit script if herbsack is full and trying to stock&lt;br /&gt;
    - typo in available herbs&lt;br /&gt;
    - correct FWI herb names&lt;br /&gt;
    - corrected the logic to prioritize correctly based on UI selection&lt;br /&gt;
    - bugfix for Lich Room# 0 go2 pathing&lt;br /&gt;
    - bugfix for eating herbs with knife in left hand, special messaging.&lt;br /&gt;
  1.5.18 (2023-09-21)&lt;br /&gt;
    - Bugfix for matching change in wealth output.&lt;br /&gt;
  1.5.17 (2023-06-11)&lt;br /&gt;
    - change to 650 implementation&lt;br /&gt;
  1.5.16 (2023-06-01)&lt;br /&gt;
    - bugfix added word boundary to regex for finding similarly named containers&lt;br /&gt;
  1.5.15 (2023-05-31)&lt;br /&gt;
    - bugfix for stocking with similarly named containers&lt;br /&gt;
    - added support for using the basket under the bench in RR&lt;br /&gt;
    - bugfix for UI not greying out sigil of mending, 650, 1035 unless known&lt;br /&gt;
    - bugfix for UI saving when x-ing out. Only saves with close button&lt;br /&gt;
  1.5.14 (2023-04-27)&lt;br /&gt;
    - added support for survival kit distiller&lt;br /&gt;
    - added support for using the basket under the bench in RR&lt;br /&gt;
    - bugfix for UI not greying out sigil of mending, 650, 1035 unless known&lt;br /&gt;
    - bugfix for UI saving when x-ing out. Only saves with close button&lt;br /&gt;
  1.5.13 (2023-03-17)&lt;br /&gt;
    - bugfix for sigil of mending&lt;br /&gt;
    - bugfix for leaving people at the bank&lt;br /&gt;
    - bugfix for opening/closing containers&lt;br /&gt;
    - added option stock survival kit as combined total of herbs and potions&lt;br /&gt;
  1.5.12 (2023-03-15): Tysong: remove $infomon_cutthroat reference for cutthroat? reference&lt;br /&gt;
  1.5.11 (2023-03-07): Deysh: Update to drinkable regex&lt;br /&gt;
  1.5.10 (2023-03-05): Deysh: bugfix in UI that didn&amp;#039;t grey out 650 or 1035 if not known&lt;br /&gt;
  1.5.9 (2023-03-05): Deysh: urchin guide was not returning to same herbalist after silver withdraw&lt;br /&gt;
  1.5.8 (2023-03-03): Deysh: old UI file was used in last submission&lt;br /&gt;
  1.5.7 (2023-02-26): Deysh: fixed the &amp;#039;in,on,under,behind&amp;#039; options, added some additional inventory handling, added check for casting spells; added toggle for &lt;br /&gt;
                      depositing silver&lt;br /&gt;
  1.5.6 (2023-02-25): Deysh: Update herb identification to use noun instead of name; bugfix for stock entry in UI; added a wait until healed for cutthroat&lt;br /&gt;
  1.5.5 (2023-02-22): Deysh: Update fragrant woth flower in FWI dosage from 2 to 3; misc typo fix&lt;br /&gt;
  1.5.4 (2023-02-20): Xanlin: typo fix, old compat fixes&lt;br /&gt;
  1.5.3 (2023-02-20): Deysh: fix to CLI bug, UI not keeping settings, checks on 650&lt;br /&gt;
  1.5.2 (2023-02-20): Deysh: bug fixes for exec_string monitor of measuring; stop coin deposit unless buying&lt;br /&gt;
  1.5.1 (2023-02-19): Deysh: bug fixes for skip_scars and Utility.set_preferences; Clean up of stocking routine&lt;br /&gt;
  1.5.0 (2023-02-17): Deysh: Added support for survival kits.&lt;br /&gt;
  1.4.7 (2023-01-23): Xanlin: winterberry order fix&lt;br /&gt;
  1.4.6 (2022-12-16): Xanlin: revert 1.4.4, restores override for cli options&lt;br /&gt;
  1.4.5 (2022-12-11): Deysh: Added UI&lt;br /&gt;
  1.4.4 (2022-11-29): Tysong: Fix to exit after setting change from CLI&lt;br /&gt;
  1.4.3 (2022-09-22): Xanlin: Fix override behavior&lt;br /&gt;
  1.4.2 (2022-09-18): Xanlin: River&amp;#039;s Rest winterberry brew&lt;br /&gt;
  1.4.1 (2022-09-17): Xanlin: update instance variable when preferences set. Changed internal name for skip-scars to skip_scars and use-mending to use_mending.&lt;br /&gt;
  1.4.0 (2022-09-12): Xanlin: added ;eherbs check, fixed under and behind containers,&lt;br /&gt;
    converted to module, replaced version check with shims, refactored procs to methods.&lt;br /&gt;
  1.3.0 (2022-07-16):&lt;br /&gt;
    Updated River&amp;#039;s Rest herbs, removed minor head wound from available herbs&lt;br /&gt;
      in River&amp;#039;s Rest.&lt;br /&gt;
    Refactored stock function to count appropriately and track stocking measures&lt;br /&gt;
    Added feature to stock specifc herb type (;eherbs stock major head wound)&lt;br /&gt;
    Added feature to get blood only (;eherbs blood) and ignore wounds&lt;br /&gt;
    Improved (;eherbs list) to accept herb type (;eherbs list major head wound)&lt;br /&gt;
      this feature also accepts partials (;eherbs list minor)&lt;br /&gt;
  1.2.0 (2022-05-23):&lt;br /&gt;
    Fix for gambling kit open/close/get/put regex.&lt;br /&gt;
  1.1.3 (2022-05-19):&lt;br /&gt;
    Fix for gambling kit open/close/get/put regex.&lt;br /&gt;
  1.1.2 (2022-04-06):&lt;br /&gt;
    Fix for a/an ordering from menus&lt;br /&gt;
  1.1.1 (2022-04-04):&lt;br /&gt;
    Add LICH_VERSION check&lt;br /&gt;
  1.1.0 (2022-04-03):&lt;br /&gt;
    Rewrote fill and stock functions to detect those regions that only&lt;br /&gt;
    sell tinctures, tarts and various assorted non-bundling type herbs&lt;br /&gt;
    Corrected multiple errors in initial data tables for locations / herbs&lt;br /&gt;
  1.0.0 (2022-02-27):&lt;br /&gt;
    Global RENAME to ;eherbs&lt;br /&gt;
    Rewrote stock function to work at any herbalist&lt;br /&gt;
    Rewrote stock function to account for any &amp;#039;type&amp;#039; of herb, so for example&lt;br /&gt;
    acantha leaf, acantha tea, Bloody Krolvin ale all count towards&lt;br /&gt;
    total doses of &amp;#039;blood&amp;#039; herb.&lt;br /&gt;
&lt;br /&gt;
  Previously as ;useherbs&lt;br /&gt;
  0.14 (2022-01-25):&lt;br /&gt;
    fix for handedness and herbs (mistaken stick for sticky and so on)&lt;br /&gt;
  0.13 (2021-12-17):&lt;br /&gt;
    updated for KF herbs&lt;br /&gt;
  0.12 (2020-10-10):&lt;br /&gt;
    response message for buying herbs now has commas&lt;br /&gt;
  0.11 (2020-10-07):&lt;br /&gt;
    changed fill function to go to closest herbalist instead of a single hardcoded one, update for commas&lt;br /&gt;
  0.10 (2017-09-30):&lt;br /&gt;
    add feature to fill your herbsack with herbs (;useherbs stock herbs)&lt;br /&gt;
  0.9 (2017-03-04):&lt;br /&gt;
    remove 506 from the script, since it doesn&amp;#039;t affect eating herbs anymore&lt;br /&gt;
  0.8 (2017-01-14):&lt;br /&gt;
    withdraw @silvers first when using the &amp;quot;stock potions&amp;quot; command&lt;br /&gt;
  0.7 (2015-04-26):&lt;br /&gt;
    fix for working with hidden containers, like the basket in Ta&amp;#039;Vaalor&lt;br /&gt;
  0.6 (2015-03-28):&lt;br /&gt;
    remember to look on/under/behind a container instead of &amp;quot;in&amp;quot; if a second look is required&lt;br /&gt;
    fix bug with finding a herbsack given on the command line&lt;br /&gt;
  0.5 (2015-02-23):&lt;br /&gt;
    better method of finding container from herbsack setting&lt;br /&gt;
  0.4 (2014-12-12):&lt;br /&gt;
    make &amp;quot;stock potions&amp;quot; track potion use instead of measuring every time&lt;br /&gt;
  0.3 (2014-11-14):&lt;br /&gt;
    set herbsack with ;useherbs set herbsack &amp;lt;container&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Third-Party Software}}&lt;/div&gt;</summary>
		<author><name>imported&gt;HORIBU1</name></author>
	</entry>
</feed>