Drive()
set (src) in usr.Mechs
if(usr.loc == locate(/area/Mech))
usr.underlays += src
usr.icon_state = "null"
usr << "You get inside the T-Tank"
else
sleep(30)
usr.GroundTraining3() // Send player to next stage in Ground Training
This is the obj/Mech's verb. However, when I compile it says usr.Mechs: unsupported src setting. So what type of procedure should I be using to find this variable? Is it possible for me to search the user's Mech list for it? Or should I even be using this method at all?
Args:
List: One of view(), oview(), world, world.contents, usr, usr.contents, or usr.loc
With the first format, if src is in List for a particular player, then that player will have access to the proc. The player must explicitly specify the name of the source on the command line.
The second format behaves the same, except the source is not read from the command line. If more than one possible source exists, one will be chosen at random.
When usr or world is specified for the first format, it will be expanded to usr.contents and world.contents respectively.
The default setting depends on the type of src:
mob: src = usr
obj: src in usr // short for usr.contents
turf: src = view(0)
area: src = view(0)
There are a few ways to simulate this behavior... But I would advise just setting it to anyone who was in range to use the verb, and then testing to see if the player owns the mech. It's the easiest solution.