29 lines
706 B
Plaintext
29 lines
706 B
Plaintext
|
|
ALIGNMENT_OK(1) ALIGNMENT_OK(1)
|
|
|
|
NAME
|
|
alignment_ok() - returns true if a player is inside
|
|
alignment restrictions
|
|
|
|
SYNOPSIS
|
|
int alignment_ok(object ob)
|
|
|
|
DESCRIPTION
|
|
If the object passed as the argument is within alignment
|
|
restrictions for the player's class, then the function
|
|
returns true. Otherwise it returns false.
|
|
|
|
EXAMPLES
|
|
o alignment_ok(this_player()) returns false if I am an
|
|
evil cleric, or true if I am a good monk, or always
|
|
true as a fighter
|
|
|
|
LOCATION
|
|
/secure/sefun/alignment.c
|
|
|
|
Author
|
|
Descartes of Borg
|
|
|
|
1
|
|
|