Well, the Leap_To is messed up. It works, but down on problem I tell you more.
obj
Staff
icon = 'objects.dmi'
icon_state = "Staff"
verb
Send(mob/O in world)
set category = "Sending"
set src in oview(1)
src.Move(O)
verb
Equip()
if(usr.wequipped==0)
usr.Strength+=25
usr.magicstrength+=10
usr.wequipped = 1
else
usr << "You already have a weapon equipped!"
verb
Take()
set src in oview(1)
view()<<"[usr] takes the [src]"
Move(usr)
verb
Drop()
if(usr.wequipped==1)
usr << "You have that equipped!"
world << "[usr] tried to bug abuse by dropping there weapon while it was equipped!"
else
Move(usr.loc)
view()<<"[usr] drops their [src]"
verb
Unequip()
if(usr.wequipped==0)
usr << "You don't have that equipped!"
else
usr.wequipped = 0
usr.Strength-=25
usr.magicstrength-=10
usr << "You unequipped your staff!"
Problem description:
Well you see, the Leap_To is suppose to put it in front of a person, but it puts it inside the users inventory. Now I talked to a couple of people but they didn't know how they could fix it. Now, can someone please help me?
For the ==1/==0 part, Learn about boolean and make your life easier.
And for the last point.. I can't seem to find Leap_To, did you posted the correct snippet? Chances are you might've done something similar as to:
- GhostAnime