Hunger(3)                                                            Hunger(3)



NNAAMMEE
       Hunger -

SSYYNNOOPPSSIISS
       Inherits OObbjjeecctt.


   PPuubblliicc MMeetthhooddss
       string qquueerryy__nnaammee ()
       object iidd (string str)
       int qquueerryy__uussee__bboonnuusseess ()
       int qquueerryy__ssttrr__bboonnuuss ()
       int qquueerryy__ddeexx__bboonnuuss ()
       int qquueerryy__ccoonn__bboonnuuss ()
       void oonn__ssuussppeenndd ()
       void oonn__hhuunnggeerr ()

DDEETTAAIILLEEDD DDEESSCCRRIIPPTTIIOONN
       This object is created and put into a hungry creature's inventory
       whenever they start getting hungry. It creates stats negatives for them
       the hungrier they become. When the living is no longer hungry, it may
       destruct this object.

       Note that this object uses functions identical to BBoonnuuss; however, it
       does not need the editability of the BBoonnuuss object, so it isn't
       inheriting it.

       The name of this object on the mud is 'hunger_ob'. You can use this
       name in 'pprreesseenntt(())' to check for it.

       Definition at line 16 of file hunger.c.

MMEEMMBBEERR FFUUNNCCTTIIOONN DDOOCCUUMMEENNTTAATTIIOONN
   oobbjjeecctt iidd ((ssttrriinngg ssttrr))
       RReettuurrnnss::
           this_object() if _s_t_r is 'hunger_ob', false (0) otherwise.

       Definition at line 30 of file hunger.c.

   vvooiidd oonn__hhuunnggeerr (())
       Check if the player has died of hunger yet.

       Definition at line 88 of file hunger.c.

   vvooiidd oonn__ssuussppeenndd (())
       When the player quits, just get rid of this object.

       Definition at line 83 of file hunger.c.

   iinntt qquueerryy__ccoonn__bboonnuuss (())
       RReettuurrnnss::
           The number of points of constitution to add (a negative number,
           since this is a 'curse').

       Definition at line 69 of file hunger.c.

   iinntt qquueerryy__ddeexx__bboonnuuss (())
       RReettuurrnnss::
           The number of points of dexterity to add (a negative number, since
           this is a 'curse').

       Definition at line 55 of file hunger.c.

   ssttrriinngg qquueerryy__nnaammee (())
       RReettuurrnnss::
           This object's name, 'hunger_ob'

       Definition at line 25 of file hunger.c.

   iinntt qquueerryy__ssttrr__bboonnuuss (())
       RReettuurrnnss::
           The number of points of strength to add (a negative number, since
           this is a 'curse').

       Definition at line 41 of file hunger.c.

   iinntt qquueerryy__uussee__bboonnuusseess (())
       RReettuurrnnss::
           True, indicating that this object has stat bonus information.

       Definition at line 36 of file hunger.c.


AAUUTTHHOORR
       Generated automatically by Doxygen for Walraven from the source code.



Walraven                          8 Jan 2004                         Hunger(3)
