Actor
actor
is a global variable that represents the
character performing the current action. In
the case of an average verb routine, actor
is set to the
player object. In the case of
character scripts, though, actor
is set to the
character in question. Checking for the actor
global allows code that works
for several different characters.