Home

[Package Index | Mudlib Index | Effect Index]

File /std/effects/ingested/drunk.c

This is the effect skelton docs. This effect has a classification of "body.drunk".

Describe the arguments in here.

This effect has a shadow associated with it.

See also:
help::effects .c

Includes

This class includes the following files /include/position.h, /include/playtesters.h, /include/move_failures.h, /include/player.h, /include/effect.h, /std/effects/ingested/path.h, /include/living.h and /include/drinks.h

Method index

Public Functions

These are functions that everyone can access.

.

    come_around
    void come_around(object person)
    
      counter
      int counter(object person,
                  int bonus)
      
        drunk_behaviour
        void drunk_behaviour(object person,
                             int *)
        
          extra_look
          string extra_look(object player)
          
            query_drunk_level
            int query_drunk_level(object player)
            

            This method figures out how drunk the target player is. THe return result is in the range: 0 Not drunk 1, 2: slightly tipsy 3: happily inebriated 4: totally sozzled 5: blind drunk 6 or higher: amazingly drunk
            • Parameters:
              player - the player to find the drunkness of
            • Returns:
              the drunkess level
Valid HTML 4.01 Transitional
Valid CSS!
Read More