mob
var
Armor_Equipped = 0
weapon_equipped = 0
obj
Equipables
Armors
Red_Armor
Get()
set src in oview(1)
// Attempt to Move() the item to the player. If it succeeds, you receive a message.
if(Move(usr))
usr << "You pick up [src]."
Drop()
if(Move(usr.loc))
usr << "You drop [src]."
Equip()
if(usr.Armor_Equipped == 0)
set src in usr
usr.overlays += src
usr.Arm += 2
usr.Armor_Equipped = 1
view() << "[usr] wears some armor."
src.suffix = "(Equipped)"
else
usr << "You are already wearing something."
UnEquip()
if(usr.Armor_Equipped == 1)
usr.overlays -= src
usr.Arm -= 2
view() << "[usr] takes off some armor."
usr.Armor_Equipped = 0
src.suffix = ""
else
usr << "You aren't wearing this."
obj
verb
Get()
Drop()
Equip()
UnEquip()
obj
Equipables
Armors
Red_Armor
icon = 'Armors.dmi'
icon_state = "Red Armor"
OK I am using this bad code, for my its good but all are working - the item src when you Equip a object the item src equips under the player src why?? I want the src of the item is above the src of my player not UNDER... HOW I CAN DO THAT???? I NEED SOME ONE HELP PLEASE