ID:176655
 
can any1 help me i have a problem i dont no how to make chars equip certain types of weapons, armors, and spells.
obj
weapon
verb
Equip()
usr << "You equip the weapon!"
In response to Garthor
I could add to that by saying

obj
weapon
verb
Equip()
usr << "You equip the weapon!"
suffix = "Equipped"

Just so it says

Ultra Super Machete of BYOND (Equipped)

on the stats/contents/inventory whatever window.
In response to Hazman
i no that but i want like mages only equiping staff and warriors can equip sword and axes.
In response to BlazingDragoon
Then use an if() statement to check what class they are.