eat_corpse.c

dw_fluffos_v1/lib/std/effects/npc/eat_corpse.c · 849 B

From the archive dw_fluffos_v1.tar.gz

Download the archive   « Back to the archive contents

/**
 * This effect tears small edible parts from the corpse (bits with no sub 
 * bits) and eats them immediately.  It should be used instead of the
 * savage_corpse effect if the NPC is too small to rip apart a corpse
 * completely.
 * @author Lemming
 * @started 3/8/2000
 * @classification npc.eat.savage
 * @see /std/effects/npc/savage_corpse.c
 * @see /std/effects/npc/eat_edible.c
 */

#include <effect.h>

#include "path.h"

/** @ignore */
void beginning( object player, string dest, int id ) {
} /* beginning() */

/** @ignore */
int merge_effect( object player, int time1, int time2, int id ) {
   return time1;
} /* merge_effect() */
 
/** @ignore */
string query_classification() { return "npc.eat.corpse"; }

/** @ignore */
string query_shadow_ob() { return SHADOWS + "eat_corpse"; }

/** @ignore */
int query_indefinate() { return 1; }

Site Stats

Snippets: 1791
Codebases: 571