View/Edit #12:_modify_esteem _modify__esteem

Switch to edit mode.

Name(s): _modify_esteem _modify__esteem
1:  "FLOAT new_esteem = :_modify_esteem(FLOAT esteem_change)"
2:  ""
3:  "Changes the esteem by the given increment, whether positive or negative."
4:  caller_perms():isa($guardian) || raise(E_PERM, "Nuh-uh.")
5:  typeof(args[1]) == $FLOAT || raise(E_ARGS, "Incorrect argument type.")
6:  "Just for Lao...."
7:  "this._esteem = this._esteem + args[1];"
8:  this:_set__esteem(this:_get__esteem() + args[1])
9:  if (this:_get_esteem() < $esteem_utils.boot_level)
10:   "boot_player(this);"
11:   "This is too draconian, even for us. --Cecil"
12:   args[1] < 0.0 && boot_player(this)
13: endif
14: "Last modified by whiz (#3135) on Thu May 16 21:21:17 2002 MDT."
15: "This verb previously owned by manta (#7165), and chowned to $slacker upon dewizarding (Sat Aug 17 14:50:04 2002 MDT)."
16: "Last modified by Dax (#789) on Tue May  3 13:56:59 2005 MDT."

Verb arguments: this none this
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: Slacker (#55)

You are not logged in.

[home | help | who | search | setup | code]