Crossfire Server, Trunk
potion.c File Reference
#include "global.h"
#include <string.h>
#include "ob_methods.h"
#include "ob_types.h"
#include "sounds.h"
#include "sproto.h"
+ Include dependency graph for potion.c:

Go to the source code of this file.

Functions

void init_type_potion (void)
 
static method_ret potion_type_apply (object *potion, object *applier, int aflags)
 

Detailed Description

The implementation of the Potion class of objects.

Definition in file potion.c.

Function Documentation

◆ init_type_potion()

void init_type_potion ( void  )

Initializer for the potion object type.

Definition at line 33 of file potion.c.

References POTION, potion_type_apply(), and register_apply().

Referenced by register_all_ob_types().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ potion_type_apply()

static method_ret potion_type_apply ( object potion,
object applier,
int  aflags 
)
static