com.planet_ink.coffee_mud.Libraries.interfaces
Interface CMMiscUtils

All Superinterfaces:
java.lang.Cloneable, CMLibrary, CMObject, java.lang.Comparable<CMObject>
All Known Implementing Classes:
CoffeeUtensils

public interface CMMiscUtils
extends CMLibrary


Field Summary
static int LOOTFLAG_LOSS
           
static int LOOTFLAG_RUIN
           
static int LOOTFLAG_UNWORN
           
static int LOOTFLAG_WORN
           
 
Method Summary
 boolean armorCheck(MOB mob, int allowedArmorLevel)
           
 boolean armorCheck(MOB mob, Item I, int allowedArmorLevel)
           
 java.lang.String builtPrompt(MOB mob)
           
 void confirmWearability(MOB mob)
           
 void extinguish(MOB source, Physical target, boolean mundane)
           
 Trap fetchMyTrap(Physical myThang)
           
 java.util.List<DeadBody> getDeadBodies(Environmental container)
           
 java.lang.String getFormattedDate(Environmental E)
           
 MOB getMobPossessingAnother(MOB mob)
           
 Item isRuinedLoot(DVector policies, Item I)
           
 Trap makeADeprecatedTrap(Physical unlockThis)
           
 double memoryUse(Environmental E, int number)
           
 java.lang.String niceCommaList(java.util.List<?> V, boolean andTOrF)
           
 void outfit(MOB mob, java.util.List<Item> items)
           
 DVector parseLootPolicyFor(MOB mob)
           
 int processVariableEquipment(MOB mob)
           
 boolean reachableItem(MOB mob, Environmental E)
           
 void recursiveDropMOB(MOB mob, Room room, Item thisContainer, boolean bodyFlag)
           
 void reloadCharClasses(CharClass oldC)
           
 boolean resurrect(MOB tellMob, Room corpseRoom, DeadBody body, int XPLevel)
           
 void roomAffectFully(CMMsg msg, Room room, int dirCode)
           
 void setTrapped(Physical myThang, boolean isTrapped)
           
 void setTrapped(Physical myThang, Trap theTrap, boolean isTrapped)
           
 void swapRaces(Race newR, Race oldR)
           
 
Methods inherited from interface com.planet_ink.coffee_mud.Libraries.interfaces.CMLibrary
activate, getSupportThread, propertiesLoaded, shutdown
 
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject
copyOf, ID, initializeClass, newInstance
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

LOOTFLAG_RUIN

static final int LOOTFLAG_RUIN
See Also:
Constant Field Values

LOOTFLAG_LOSS

static final int LOOTFLAG_LOSS
See Also:
Constant Field Values

LOOTFLAG_WORN

static final int LOOTFLAG_WORN
See Also:
Constant Field Values

LOOTFLAG_UNWORN

static final int LOOTFLAG_UNWORN
See Also:
Constant Field Values
Method Detail

builtPrompt

java.lang.String builtPrompt(MOB mob)

getFormattedDate

java.lang.String getFormattedDate(Environmental E)

memoryUse

double memoryUse(Environmental E,
                 int number)

niceCommaList

java.lang.String niceCommaList(java.util.List<?> V,
                               boolean andTOrF)

outfit

void outfit(MOB mob,
            java.util.List<Item> items)

reachableItem

boolean reachableItem(MOB mob,
                      Environmental E)

extinguish

void extinguish(MOB source,
                Physical target,
                boolean mundane)

armorCheck

boolean armorCheck(MOB mob,
                   int allowedArmorLevel)

armorCheck

boolean armorCheck(MOB mob,
                   Item I,
                   int allowedArmorLevel)

recursiveDropMOB

void recursiveDropMOB(MOB mob,
                      Room room,
                      Item thisContainer,
                      boolean bodyFlag)

confirmWearability

void confirmWearability(MOB mob)

processVariableEquipment

int processVariableEquipment(MOB mob)

makeADeprecatedTrap

Trap makeADeprecatedTrap(Physical unlockThis)

setTrapped

void setTrapped(Physical myThang,
                boolean isTrapped)

setTrapped

void setTrapped(Physical myThang,
                Trap theTrap,
                boolean isTrapped)

fetchMyTrap

Trap fetchMyTrap(Physical myThang)

getMobPossessingAnother

MOB getMobPossessingAnother(MOB mob)

roomAffectFully

void roomAffectFully(CMMsg msg,
                     Room room,
                     int dirCode)

getDeadBodies

java.util.List<DeadBody> getDeadBodies(Environmental container)

resurrect

boolean resurrect(MOB tellMob,
                  Room corpseRoom,
                  DeadBody body,
                  int XPLevel)

isRuinedLoot

Item isRuinedLoot(DVector policies,
                  Item I)

parseLootPolicyFor

DVector parseLootPolicyFor(MOB mob)

swapRaces

void swapRaces(Race newR,
               Race oldR)

reloadCharClasses

void reloadCharClasses(CharClass oldC)