Thread: mud question,
View Single Post
  #2  
Old 03-02-2007, 05:12 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Eh, you have to define that for yourself.
In my mudlib, each item has a list of objects to call when you apply it, and for equipable items when you apply them it triggers an event onMudApply with the item object as the parameter, then the MudEquip weapon handles the clientside stuff while the MudPlayer recalculates your stats and stuff.

Edit: I suggest if whatever server you're working on doesn't use the default Graal inventory, that you name all weapons to something that can be referenced without using makevar("weapname") or (@ "weapname").
Example Weap Names: MudControl, SystemMain, GuiInventory, GuiHud, DialogControl, SystemMovement, etc.
__________________
Reply With Quote