Wednesday, May 25, 2011

My Inventory plugin called Gear! Beta release.


Hyperlink Inventory Mushclient Plugin

After you install it into Mushclient just type Gear or gear.

Your inventory will be printed in a dynamic hyperlink menu system.
------------------------------------
Gear's Clicked Action For Each Icon
------------------------------------
? = Id (item id)
X = drop (item id)
$ = sell (item id)
% = compare(item id)
! = Cast the enchant Illuminate on (item id)
* = Cast the enchant Resonate(item id)
# = Cast the enchant Solidify (item id)
~ = Only shows on Containers and does this command: look in (item id)
Item Name = When you click on a item the action is based off the type of item clicked. for instance a drink container would let you drink from it when clicked and food would be ate when clicked on.
Item flags = No click action.
Item Type = No click action.
[D] = Only shows on weapons and does this command: dual (item id)
[F] = Only shows on food and does this command: fill (item id) fountain
[G] = Only shows on bags and gets all items from them.
[P] = Only shows on bags and puts all items into them.
[R] = Only shows on scrolls and will recite them, note if you click a scrolls name it will also recite it.
N = Read/Create note for clicked (item)
+ = Create/Edit note for clicked (item)
- = Delete the note for clicked (item)
C = Copies the (item) id to the clipboard. This will let you quickly issue other game commands by typing the command then space and ctrl + V to paste the items id. Then issue command.
------------------------------------------------------------------------
Actions based off the type of item. (Happens when you click on the name)
-------------------------------------------------------------------------
Weapons = Wields them
Armor = Equips it
Food = Eats it
Drink Container = Drinks from it
Scroll = Recites it
Potion = Quaffs it
Furniture = drop (item id);sleep (item id)
THIS DROPS THE ITEM ON THE GROUND AND SLEEPS IN IT. YOU MUST PICK IT BACK UP. CAUTION.
Light = Wears it
Portal = removes anything held in the portal hand and equips it then enters it.
Pill = Eats it

Other commands
gear options = This will bring up a options menu where you can disable some icons from showing up.




Here is the code. Copy it to notepad and save it as Gear.xml. Then place it in the worlds>plugins folder in the root of the mushclient program folder. Then in mushclient press ctrl + shift + p to bring up the plugin screen and load it.

Here is the xml on pastebin.
http://pastebin.com/6nsWhRh0

**If you add to it please share it with me.

Things I want it to do and am still working on.
1. Making the item name clickable and color coded like they are in the normal inventory command.
2. Finish making the icon clicked actions programmable via the gear options command. So you can make the ? icon cast lore or object id instead for instance.

Just have not had time. Plus really wanted to share this.

-Moshu (William Arends)

No comments:

Post a Comment