Sort Herbs (script)
Jump to navigation
Jump to search
Sort Herbs (script) | |
---|---|
Category | utility |
Front-end | Genie |
Author | Isharon |
Description
This script sorts your herb pouch, alphabetizing your herbs by noun (e.g., "flower" or "potion").
Script
action goto exit when ^I don't know what you are referring to|^While it's closed setvar tincture 0 setvar tea 0 setvar stem 0 setvar solution 0 setvar sap 0 setvar salve 0 setvar root 0 setvar pulp 0 setvar powder 0 setvar potion 0 setvar pollen 0 setvar paste 0 setvar moss 0 setvar mash 0 setvar leaf 0 setvar grass 0 setvar flower 0 setvar elixir 0 setvar coffee 0 setvar berries 0 setvar balm 0 ACTION setvar tincture 1 WHEN ^You rummage through.+herb pouch.+and see .+ tincture ACTION setvar tea 1 WHEN ^You rummage through.+herb pouch.+and see .+ tea ACTION setvar stem 1 WHEN ^You rummage through.+herb pouch.+and see .+ stem ACTION setvar solution 1 WHEN ^You rummage through.+herb pouch.+and see .+ solution ACTION setvar sap 1 WHEN ^You rummage through.+herb pouch.+and see .+ sap ACTION setvar salve 1 WHEN ^You rummage through.+herb pouch.+and see .+ salve ACTION setvar root 1 WHEN ^You rummage through.+herb pouch.+and see .+ root ACTION setvar pulp 1 WHEN ^You rummage through.+herb pouch.+and see .+ pulp ACTION setvar powder 1 WHEN ^You rummage through.+herb pouch.+and see .+ powder ACTION setvar potion 1 WHEN ^You rummage through.+herb pouch.+and see .+ potion ACTION setvar pollen 1 WHEN ^You rummage through.+herb pouch.+and see .+ pollen ACTION setvar paste 1 WHEN ^You rummage through.+herb pouch.+and see .+ paste ACTION setvar moss 1 WHEN ^You rummage through.+herb pouch.+and see .+ moss ACTION setvar mash 1 WHEN ^You rummage through.+herb pouch.+and see .+ mash ACTION setvar leaf 1 WHEN ^You rummage through.+herb pouch.+and see .+ leaf ACTION setvar grass 1 WHEN ^You rummage through.+herb pouch.+and see .+ grass ACTION setvar flower 1 WHEN ^You rummage through.+herb pouch.+and see .+ flower ACTION setvar elixir 1 WHEN ^You rummage through.+herb pouch.+and see .+ elixir ACTION setvar coffee 1 WHEN ^You rummage through.+herb pouch.+and see .+ coffee ACTION setvar berries 1 WHEN ^You rummage through.+herb pouch.+and see .+ berries ACTION setvar balm 1 WHEN ^You rummage through.+herb pouch.+and see .+ balm put rummage in my herb pouch waitforre ^You rummage through.+herb pouch|^I don't know what you are referring to if %tincture = 1 then gosub sort tincture if %tea = 1 then gosub sort tea if %stem = 1 then gosub sort stem if %solution = 1 then gosub sort solution if %sap = 1 then gosub sort sap if %salve = 1 then gosub sort salve if %root = 1 then gosub sort root if %pulp = 1 then gosub sort pulp if %powder = 1 then gosub sort powder if %potion = 1 then gosub sort potion if %pollen = 1 then gosub sort pollen if %paste = 1 then gosub sort paste if %moss = 1 then gosub sort moss if %mash = 1 then gosub sort mash if %leaf = 1 then gosub sort leaf if %grass = 1 then gosub sort grass if %flower = 1 then gosub sort flower if %elixir = 1 then gosub sort elixir if %coffee = 1 then gosub sort coffee if %berries = 1 then gosub sort berries if %balm = 1 then gosub sort balm goto exit sort: put sort $0 in my herb pouch waitforre ^All items|^You may only sort|^What were you return exit: put #parse SCRIPT DONE exit