death.h

musicmud-2.1.6/include/death.h · 429 B

From the archive musicmud2.1.6.tar.gz

Download the archive   « Back to the archive contents

#ifndef DEATH_H
#define DEATH_H

//! cause the mobile or player /what/ to die. /charge/ is the hospital fee they would have to pay if not insured, /why/ is the message to send to the logfile, and /uncovered/ is a flag set to 1 to indicate that this event is never covered by insurance (e.g. suicide).  returns the corpse if one was created.
MudObject *do_die(MudObject *what, int cost, const char *who, int uncovered=0);

#endif

Site Stats

Snippets: 1791
Codebases: 571