|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.planet_ink.coffee_mud.Items.Basic.StdItem
com.planet_ink.coffee_mud.Items.Armor.StdThinArmor
com.planet_ink.coffee_mud.Items.Armor.GenThinArmor
com.planet_ink.coffee_mud.Items.Armor.GenEarring
public class GenEarring
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Armor |
|---|
Armor.SizeDeviation |
| Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Wearable |
|---|
Wearable.CODES |
| Field Summary |
|---|
| Fields inherited from class com.planet_ink.coffee_mud.Items.Armor.GenThinArmor |
|---|
readableText |
| Fields inherited from class com.planet_ink.coffee_mud.Items.Basic.StdItem |
|---|
affectPhyStats, affects, baseGoldValue, basePhyStats, behaviors, cachedImageName, CODES, databaseID, description, destroyed, displayText, dispossessionTime, material, me, miscText, myContainer, myUses, myWornCode, name, owner, phyStats, properWornBitmap, rawImageName, riding, scripts, secretIdentity, tickCtr, tickStatus, wornLogicalAnd, xtraValues |
| Fields inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Armor |
|---|
LAYERMASK_DESCS, LAYERMASK_MULTIWEAR, LAYERMASK_SEETHROUGH |
| Fields inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Wearable |
|---|
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 |
| Constructor Summary | |
|---|---|
GenEarring()
|
|
| Method Summary | |
|---|---|
boolean |
canWear(MOB mob,
long where)
Returns whether it is practical for the given mob to wear this Item on the given worn location as given by the wornCode. |
protected boolean |
hasFreePiercing(MOB mob,
long wornCode)
|
protected boolean |
hasFreePiercingFor(MOB mob,
long wornCodes)
|
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
protected int |
numWorn(MOB mob,
long wornCode)
|
void |
recoverPhyStats()
This method copies the basePhyStats() object into the phyStats() object, then makes repeated calls to all surrounding objects with affectPhyStats(Environmental,PhyStats) method. |
long |
whereCantWear(MOB mob)
Returns a bitmap of all the locations where the given mob is practically unable to wear an item. |
| Methods inherited from class com.planet_ink.coffee_mud.Items.Armor.GenThinArmor |
|---|
getCodeNum, getStat, getStatCodes, isGeneric, readableText, sameAs, setMiscText, setReadableText, setStat, text |
| Methods inherited from class com.planet_ink.coffee_mud.Items.Armor.StdThinArmor |
|---|
getClothingLayer, getLayerAttributes, getSizingDeviation, secretIdentity, setClothingLayer, setLayerAttributes, setUsesRemaining, subjectToWearAndTear |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Item |
|---|
baseGoldValue, container, material, numberOfItems, owner, rawSecretIdentity, recursiveWeight, removeFromOwnerContainer, setBaseValue, setContainer, setMaterial, setOwner, setSecretIdentity, stopTicking, ultimateContainer, usesRemaining, value |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Rider |
|---|
riding, setRiding |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Physical |
|---|
description, displayText, name |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Environmental |
|---|
description, displayText, expirationDate, image, L, maxRange, minRange, miscTextFormat, Name, rawImage, setDescription, setDisplayText, setExpirationDate, setImage, setName |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Tickable |
|---|
getTickStatus, name, tick |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.StatsAffecting |
|---|
affectCharState, affectCharStats, affectPhyStats |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.MsgListener |
|---|
executeMsg, okMessage |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Contingent |
|---|
amDestroyed, destroy, isSavable, setSavable |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject |
|---|
copyOf, initializeClass, newInstance |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Modifiable |
|---|
getSaveStatIndex, isStat |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Affectable |
|---|
addEffect, addNonUninvokableEffect, basePhyStats, delAllEffects, delEffect, eachEffect, effects, fetchEffect, fetchEffect, numEffects, phyStats, setBasePhyStats |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Behavable |
|---|
addBehavior, addScript, behaviors, delAllBehaviors, delAllScripts, delBehavior, delScript, eachBehavior, eachScript, fetchBehavior, fetchBehavior, fetchScript, numBehaviors, numScripts, scripts |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.DBIdentifiable |
|---|
canSaveDatabaseID, databaseID, setDatabaseID |
| Methods inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Wearable |
|---|
amBeingWornProperly, amWearingAt, compareProperLocations, fitsOn, rawLogicalAnd, rawProperLocationBitmap, rawWornCode, setRawLogicalAnd, setRawProperLocationBitmap, setRawWornCode, unWear, wearAt, wearEvenIfImpossible, wearIfPossible, wearIfPossible |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Readable |
|---|
isReadable, setReadable |
| Constructor Detail |
|---|
public GenEarring()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectID in class GenThinArmor
protected int numWorn(MOB mob,
long wornCode)
protected boolean hasFreePiercing(MOB mob,
long wornCode)
protected boolean hasFreePiercingFor(MOB mob,
long wornCodes)
public boolean canWear(MOB mob,
long where)
Wearable
canWear in interface WearablecanWear in class StdThinArmormob - the player or mob being evaluatedwhere - the worn location to check and see if this Item can be worn there.
Itempublic long whereCantWear(MOB mob)
Wearable
whereCantWear in interface WearablewhereCantWear in class StdItemmob - the player or mob to evaluate for unwearable locations
Itempublic void recoverPhyStats()
Affectable
recoverPhyStats in interface AffectablerecoverPhyStats in class StdItemAffectable.basePhyStats(),
Affectable.phyStats(),
Affectable.addEffect(Ability),
Behavable.addBehavior(Behavior),
PhyStats
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||