
03-02-2007, 05:12 AM
|
|
Incubator
|
 |
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
|
|
|
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. |
|
|
|