how would I go about making a W? Thats supposed to be the weapon you have equipped. I also can't figure out 1) the weapon you have equipped doesn't show anything like (Equipped) so how would I show that? and 2) I can drop the weapon even when it's equipped how do i fix it?
Code:
verb
equip()
if(usr.weapon == 1)
if(src.eqp == 1)
usr << "The [src] is already equiped."
else
src.eqp = 1
//W.eqp = 0
usr << "You remove the W and equip the [src]."
usr.wpmin = 1
usr.wpmax = 4
else
src.eqp = 1
usr << "You equip the [src]."
usr.wpmin = 1
usr.wpmax = 4
unequip()
if(usr.weapon == 0)
usr << "Nothing is equipped."
else
src.eqp = 0
usr << "You remove the [src]."
usr.wpmin = 0
usr.wpmax = 2
Problem description:
You use suffix to make the words, and using suffix is a better way to tell if its equiped or not.
- Dark Emrald