/
lib/banish/
lib/d/
lib/doc/
lib/doc/domains/
lib/doc/efun/
lib/doc/examples/
lib/doc/examples/armour/
lib/doc/examples/contain/
lib/doc/examples/food/
lib/doc/examples/magic/
lib/doc/examples/monster/
lib/doc/examples/room/
lib/doc/examples/weapons/
lib/function/
lib/include/
lib/include/fn_specs/
lib/include/skills/
lib/info/
lib/inherit/base/
lib/log/
lib/manuals/312/
lib/news/
lib/obj/party/
lib/objects/components/
lib/open/
lib/open/library/
lib/open/party/
lib/players/
lib/players/zilanthius/
lib/room/
lib/room/city/arena/
lib/room/city/creator/
lib/room/city/garden/monst/
lib/room/city/obj/
lib/room/city/shop/
lib/room/death/
lib/room/registry/
lib/secure/
lib/secure/UDP_CMD_DIR/
lib/skills/
lib/skills/fighter/
lib/skills/thief/
lib/usr/
lib/usr/creators/
lib/usr/players/
^#^
nature sphere^#^
SUBTOPIC-cleric^#^
 _________________________________________________________
()________________________________________________________)
 |         Prayers from the Nature Sphere                |
 |                                                       |
 | Animal Friendship            Plant Growth             |
 | Call Lightning               Plant Door               |
 | Barkskin                     Fire Storm               |                       
 | Goodberry                    Earthquake               |
 | EBL (Ever Burning Log)                                |
 | STS (Sticks to Snakes)                                |
 | Create Food                                           |
 | Create Water                                          |
 |_______________________________________________________|
()________________________________________________________)
^#^
necromancy sphere^#^
SUBTOPIC-cleric^#^
 _________________________________________________________
()________________________________________________________)
 |         Prayers from the Necromancy Sphere            |
 |                                                       |
 | Animate Skeleton             Slay Living              |
 | Animate Zombie               Death Curse              |
 | Slow Poison                                           |                   
 | Neutralize Poison                                     |
 | Poison                                                |
 | Raise Dead                                            |
 | Resurrect                                             |
 | Restore                                               |
 |_______________________________________________________|
()________________________________________________________)
^#^
neutralize poison^#^
SUBTOPIC-cleric^#^
 ________________________________________________________________
()_______________________________________________________________)
 | Prayer: Neutralize Poison    Sphere: Necromancy               |
 | Level:  8                      Cost: 8                        |
 | Component: none.              Usage: neutralize poison who    |
 | Description:                                                  |
 |                                                               |               
 | This prayer will allow the cleric to neutralize the effects   |
 | of poison on the prayer's target.                             |
 |                                                               |
 |                                                               |
 |                                                               |
 |_______________________________________________________________|
()_______________________________________________________________)
^#^
necromancy^#^
SUBTOPIC-mage^#^
     ______________________________  ______________________________
  __/                              \/                              \__
 | /|      Necromancy Spells       |:     Necromancy Spells        |:||
 ||:|                              |:                              |:||
 ||:|   Animate Skeleton           |:  Wraith Form                 |:||
 ||:|   Animate Zombie             |:                              |:||
 ||:|   BBB(Beltyn's Burning Blood)|:                              |:||
 ||:|   Chill Touch                |:                              |:||
 ||:|   Vampiric Touch             |:                              |:||
 ||:|   Death Spell                |:                              |:||
 ||:|   Minor Malison              |:                              |:||
 ||:|   SBF (Sin's Black Flames)   |:                              |:||
 ||:|_____________________________ |: _____________________________|:||
 ||/______________________________\|:/______________________________\||
 |_______________________________      _______________________________|
                                 '----`
^#^
next_inventory^#^
SUBTOPIC-efun^#^
EFUN next_inventory()

SYNOPSIS
     object next_inventory(object ob);

DESCRIPTION
     Return the next object in the same inventory as `ob'.

     Warning: If the object `ob'  is  moved  by  "move_object()",
     then  "next_inventory()"  will return an object from the new
     inventory.

EXAMPLE

void show_inventory() {
  object ob;

  for(ob = first_inventory(this_object()); ob; ob = next_inventory(ob)) {
    if(ob->query_name()) write(ob->query_name() +"\n");
  }
}

SEE ALSO
     first_inventory(), all_inventory().

^#^
notify_fail^#^
SUBTOPIC-efun^#^
EFUN notify_fail()

SYNOPSIS
     int notify_fail(string str);

DESCRIPTION
     Store `str' as the error message to be returned  instead  of
     the  default message `What?'.  The message will be displayed
     if a 0 is returned from an action  setup  via  add_action().
     This is the preferred way to display error messages since it
     allows other objects a chance to respond to  the  same  verb
     (command).   Do not use write() to display the error message
     since this will require you to return a 1 (unless  you  want
     to  see the result of the write() in addition to the 'What?'
     message).  However, if you do return  a  1,  then  no  other
     objects will get a chance to respond to the user command.

     If "notify_fail()" is called more than once, only  the  last
     call will have an effect.

     The idea behind this function is to allow better error  mes-
     sages than `What?'.

RETURN VALUE
     notify_fail() always returns 0.

EXAMPLE

void init() {
  add_action("detect","detect");
}

status detect(string str) {
  if(!str || !sscanf(str,"magic %s", str)) {
    notify_fail("detect magic <item>?\n");
    return 0;
  }
  ...etc
}

SEE ALSO

Sun Release 4.1           Last change:                          1

^#^
negate^#^
SUBTOPIC-amylaar^#^
SYNOPSIS
	int negate(int)
	float negate(float)

DESCRIPTION
	Unary minus. Returns the negative argument.