Code:
obj
Katana
icon='weapons.dmi'
icon_state="Katana1"
got=0
Click()
if(src in oview(1))
if(!src.got)
Move(usr)
src.got=1
usr<<"You pickup the Katana."
else
usr<<"You equip the Katana."
Problem description:
When I click it, it moves into my inventory and says you picked up the katana. When I click it again nothing happens. Any Ideas?