I made a mob VAR so you cant equip to swords or 2 axes or anything like that but when a player try's to drop a weapon if they have a hand weapon equipped they cant drop another hand weapon same with body armor and so on...If you have any suggestions please help me out.
mob
var
Hand = 0
Equip()
if (src.equipped == 1)
usr << "You already have this equipped!"
if (usr.hand == 1)
usr << "You cant equip another item!"
else
src.name = "Axe \[Equipped]"
usr << "You equir the axe."
usr.strength += src.strength
src.equipped = 1
usr.hand = 1
Drop()
if(usr.hand == 1)
usr << "Not while its being worn."
if(usr.hand == 0)
src.loc=locate(usr.x,usr.y+1,usr.z)
<----Hendrix----->
Copyright © 2024 BYOND Software.
All rights reserved.
RaeKwon