View/Edit #12:@sethome

Switch to edit mode.

Name(s): @sethome
1:  set_task_perms(this)
2:  here = this.location
3:  if (!$object_utils:has_callable_verb(here, "accept_for_abode"))
4:    player:notify("This is a pretty odd place.  You should make your home in an actual room.")
5:  elseif (here:accept_for_abode(this))
6:    this:set_home(here)
7:    player:notify(tostr(here.name, " is your new home."))
8:  else
9:    player:notify(tostr("This place doesn't want to be your home.  Contact ", here.owner.name, " to be added to the residents list of this place, or choose another place as your home."))
10: endif
11: "Last modified by Dax (#789) on Wed Apr 14 08:18:21 1999 MDT."

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

You are not logged in.

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