The following fields can be used with %actor%. i.e. %actor.<field>%
Excluding the subfield () returns the value. Adding a subfield adjusts it.
@uField - @uvariable returns:
cha/con/dex/int - Checks the stat. HELP TRIG-STAT. Subfield adjusts.
str/stradd/wis() () is a subfield and allows a change to the variable.
alias - The list of aliases of the mob or the player name.
align() - The actor's alignment HELP ALIGN. Subfield adjusts.
affect() - Checks the actor for the affect. HELP AFFECT
armor - Checks the actor's armor class.
canbeseen - Checks if the the mob can see the actor. HELP CANBESEEN
class - The actor's class, as a string. HELP ACTOR.CLASS
drunk() - The actor's drunkenness. Subfield sets, -1 is off.
exp() - Checks the actor's XP. Subfield adjusts. HELP NOP
eq() - Returns ID of the first object equipped. HELP TRIG-EQ
fighting - The unique id of the mob fighting the actor.
follower(name) - The follower of the actor (as an id) with name supplied.
gold() - Checks the actor's gold. Subfield adjusts. HELP NOP
has_item() - Checks if the actor has an object. HELP HAS_ITEM
hasattached() - Checks if the trig is attached. HELP HASATTACHED.
heshe - Returns the correct pronoun (he/she/it).
himher - Returns the correct pronoun (him/her/it).
hisher - Returns the correct pronoun (his/her/its).
hitp() - The current hit points of the actor. Subfield adjusts.
hunger() - The actor's hunger. Subfield sets, -1 is off.
id - The unique id of the actor.
inventory() - Returns the id of the first item in inv. HELP TRIG-INV
is_killer() - Checks if actor is a KILLER. To modify HELP NOP
is_pc - Checks if the actor is a player. HELP IS_PC
is_thief() - Checks if actor is a THIEF. HELP NOP
level - The actor's current level. HELP ACTOR.LEVEL
mana() - The current mana points of the actor. Subfield adjusts.
master - The master of the actor (as an id), or an empty return.
maxhitp() - The maximum hit points of the actor. Subfield adjusts.
maxmana() - The maximum mana points of the actor. Subfield adjusts.
maxmove() - The maximum movement points of the actor. Subfield adjusts.
move() - The movement points of the actor. Subfield adjusts.
name - The actor's name (the short description for mobs).
next_in_room - The next mob/player in the room as a variable (id) nice to
use for loops, or an empty return TSTAT 23
pos() - %actor.pos% returns position. Subfield modifies. Sleeping,
resting, sitting, fighting, standing. TSTAT 1399, 20997
prac() - The actor's number of practices. Subfield adjusts.
pref() - Checks if actor has PRF flag enabled. TSTAT 1210
quest - Returns the current quest (or 0 if there's no current quest).
questdone(#) - Returns TRUE (1) if the quest vnum (#) has been completed.
questpoints() - Checks the actor's questpoints. Subfield modifies. HELP NOP
room - The room the actor is in as a room variable.
saving_para() - The actors saving throw for paralysis. Subfield adjusts.
saving_rod() - The actors saving throw for staffs/wands. Subfield adjusts.
saving_petri() - The actors saving throw for petrification. Subfield adjusts.
saving_breath() - The actors saving throw for breath weapons. Subfield adjusts.
saving_spell() - The actors saving throw for spells. Subfield adjusts.
sex - The actor's sex, as a string: MALE, FEMALE, or NEUTRAL.
skill() - The percentage of learnedness in the skill subfield.
skillset("" #) - Set the actors practiced level any skill or spell (1-100).
%actor.skillset("magic missile" 95)%.
thirst() - The actor's thirst. Subfield sets, -1 is off.
title() - The actor's title. Subfield sets. Not used for mobs.
varexists() - Returns 1 if global variable in subfield exists, 0 if not.
Used with remote vars on players. HELP VAREXIST
vnum() - The actor's vnum. Equality can now be checked with
if %self.vnum(#)% not if %self.vnum% == #
weight - The actor's weight.
Example: TSTAT 27
See also:: VARIABLES, GLOBALS