Affectable
, Behavable
, java.lang.Cloneable
, CMObject
, java.lang.Comparable<CMObject>
, Contingent
, DBIdentifiable
, Decayable
, Environmental
, Expireable
, Food
, Item
, MiscMagic
, Modifiable
, MsgListener
, Physical
, PhysicalAgent
, Readable
, Rider
, SpellHolder
, StatsAffecting
, Tickable
, Wearable
GenPill
, GenSuperPill
, StdPill
public interface Pill extends Food, MiscMagic, SpellHolder
Wearable.CODES
idConverter
DEFAULT_WORN_CODES, DEFAULT_WORN_DEPENDENCYGRID, DEFAULT_WORN_DESCS, DEFAULT_WORN_ORDER, DEFAULT_WORN_USUAL_NAMES, DEFAULT_WORN_WEIGHT_POINTS, DEFAULT_WORN_WEIGHTS, FILTER_ANY, FILTER_MOBINVONLY, FILTER_ROOMONLY, FILTER_UNWORNONLY, FILTER_WORNONLY, HIGHEST_WORN_CODE, IN_INVENTORY, WORN_ABOUT_BODY, WORN_ARMS, WORN_BACK, WORN_EARS, WORN_EYES, WORN_FEET, WORN_FLOATING_NEARBY, WORN_HANDS, WORN_HEAD, WORN_HELD, WORN_LEFT_FINGER, WORN_LEFT_WRIST, WORN_LEGS, WORN_MOUTH, WORN_NECK, WORN_RIGHT_FINGER, WORN_RIGHT_WRIST, WORN_TORSO, WORN_WAIST, WORN_WIELD
Modifier and Type | Method | Description |
---|---|---|
void |
eatIfAble(MOB mob) |
Causes the pill to bestow its magic upon the given mob
|
addBehavior, addScript, behaviors, delAllBehaviors, delAllScripts, delBehavior, delScript, eachBehavior, eachScript, fetchBehavior, fetchBehavior, fetchScript, numBehaviors, numScripts, scripts
copyOf, ID, initializeClass, newInstance
canSaveDatabaseID, databaseID, setDatabaseID
decayTime, setDecayTime
bite, nourishment, setBite, setNourishment
baseGoldValue, container, material, numberOfItems, owner, rawSecretIdentity, recursiveWeight, removeFromOwnerContainer, secretIdentity, setBaseValue, setContainer, setMaterial, setOwner, setSecretIdentity, setUsesRemaining, stopTicking, subjectToWearAndTear, ultimateContainer, usesRemaining, value
isReadable, readableText, setReadable, setReadableText
getSpellList, getSpells, setSpellList
amBeingWornProperly, amWearingAt, canWear, compareProperLocations, fitsOn, rawLogicalAnd, rawProperLocationBitmap, rawWornCode, setRawLogicalAnd, setRawProperLocationBitmap, setRawWornCode, unWear, wearAt, wearEvenIfImpossible, wearIfPossible, wearIfPossible, whereCantWear
void eatIfAble(MOB mob)
mob
- the mob that has eaten the pill