Table of Contents

Class: Corpse mudlib/living.py

Corpse of a living.

Base Classes   
core.Container
Methods   
decayCorpse
determineLongDescription
getPluralShortDescription
getShortDescription
setupCorpse
  decayCorpse 
decayCorpse ( self )

Handles decaying the corpse one stage.

When the corpse is fully decayed, it disappears because it has rotted away.

  determineLongDescription 
determineLongDescription ( self )

Figures out the long description based on its decay state.

returns:

(string) the current long description

  getPluralShortDescription 
getPluralShortDescription ( self )

Returns the plural short description for this ... dead corpsey thing.

returns:

(string)

  getShortDescription 
getShortDescription ( self )

Figures out the short description based on its decay state.

returns:

(string) the current short description

  setupCorpse 
setupCorpse ( self,  living )

Creates a corpse from a mudlib.living.Living derivative.

Also sets up the corpse with decaying callouts. All pretty gruesome if you ask me.

arguments:

living
(mudlib.living.Living) the living from which to create the corpse

Table of Contents

This document was automatically generated on Thu Jan 24 08:57:43 2002 by HappyDoc version 2.0