obj/shirt
icon = 'Clothes.dmi'
icon_state = "shirt"
verb
Get()
set src in oview(1)
src.Move(usr)
usr << "You have picked up a shirt."
Wear()
if(usr.shirt == 0)
usr.overlays += 'Clothes.dmi'
usr.shirt = 1
usr.Def += 2
usr.Str += 2
usr << "You wear a shirt."
else
usr.shirt = 0
usr.overlays -= 'Clothes.dmi'
usr.Def -= 2
usr.Str -= 2
usr << "You take of the shirt."
Problem description: I tried making a simple shirt that you can equipt onto you. Why isn't it working?