|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.planet_ink.coffee_mud.MOBS.StdMOB
com.planet_ink.coffee_mud.MOBS.StdShopKeeper
com.planet_ink.coffee_mud.MOBS.StdPostman
com.planet_ink.coffee_mud.MOBS.GenPostman
public class GenPostman
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.planet_ink.coffee_mud.MOBS.StdMOB |
---|
StdMOB.ApplyAffectCharState<T extends StatsAffecting>, StdMOB.ApplyAffectCharStats<T extends StatsAffecting>, StdMOB.ApplyRecAffectPhyStats<T extends StatsAffecting> |
Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.MOBS.interfaces.PostOffice |
---|
PostOffice.MailPiece |
Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.core.interfaces.ShopKeeper |
---|
ShopKeeper.ShopPrice |
Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.MOBS.interfaces.MOB |
---|
MOB.Attrib |
Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.core.interfaces.ItemPossessor |
---|
ItemPossessor.Expire, ItemPossessor.Find, ItemPossessor.Move |
Field Summary |
---|
Fields inherited from class com.planet_ink.coffee_mud.MOBS.StdPostman |
---|
feeForNewBox, holdFeePerPound, maxMudMonthsHeld, minimumPostage, postagePerPound, postalTimes |
Fields inherited from class com.planet_ink.coffee_mud.MOBS.StdShopKeeper |
---|
budget, budgetMax, budgetRemaining, budgetTickDown, devalueRate, invResetRate, invResetTickDown, itemZapperMask, pricingAdjustments, shop, whatIsSoldMask |
Fields inherited from class com.planet_ink.coffee_mud.MOBS.StdMOB |
---|
abilitys, abilityUseCache, abilityUseTrig, affectCharState, affectCharStats, affectPhyStats, affects, ageMinutes, amDead, amDestroyed, amFollowing, atRange, attributesBitmap, baseCharStats, basePhyStats, baseState, behaviors, cachedImageName, charStats, clanAffects, clans, CODES, commandQue, curState, databaseID, description, displayText, experience, expertises, factions, followers, inventory, kickFlag, lastLocation, liegeID, location, maxState, me, miscText, money, moneyVariation, mySession, peaceTime, phyStats, playerStats, possHeldItem, possStartRoom, possWieldedItem, practices, questPoint, racialAffects, rawImageName, recoverAffectP, recoverTickCter, removeFromGame, riding, scripts, soulMate, tattoos, tickAgeCounter, tickStatus, trains, username, victim, wimpHitPoint, worshipCharID, xtraValues |
Fields inherited from interface com.planet_ink.coffee_mud.core.interfaces.ShopKeeper |
---|
DEAL_ALCHEMIST, DEAL_ANYTECHNOLOGY, DEAL_ANYTHING, DEAL_ARMOR, DEAL_AUCTIONEER, DEAL_BANKER, DEAL_BOOKS, DEAL_BUTCHER, DEAL_CASTER, DEAL_CLANBANKER, DEAL_CLANDSELLER, DEAL_CLANPOSTMAN, DEAL_CONFLICTS, DEAL_CSHIPSELLER, DEAL_DESCS, DEAL_FOODSELLER, DEAL_GENERAL, DEAL_GROWER, DEAL_HIDESELLER, DEAL_INNKEEPER, DEAL_INSTRUMENTS, DEAL_INVENTORYONLY, DEAL_JEWELLER, DEAL_LANDSELLER, DEAL_LEATHER, DEAL_LUMBERER, DEAL_MAGIC, DEAL_METALSMITH, DEAL_PETS, DEAL_POSTMAN, DEAL_READABLES, DEAL_SHIPSELLER, DEAL_SLAVES, DEAL_STONEYARDER, DEAL_TRAINER, DEAL_WEAPONS |
Fields inherited from interface com.planet_ink.coffee_mud.MOBS.interfaces.MOB |
---|
AGE_MILLIS_THRESHOLD, END_SHEATH_TIME, START_SHEATH_TIME |
Fields inherited from interface com.planet_ink.coffee_mud.core.interfaces.MUDCmdProcessor |
---|
METAFLAG_AS, METAFLAG_ASMESSAGE, METAFLAG_FORCED, METAFLAG_INORDER, METAFLAG_MPFORCED, METAFLAG_ORDER, METAFLAG_POSSESSED, METAFLAG_SNOOPED |
Constructor Summary | |
---|---|
GenPostman()
|
Method Summary | |
---|---|
protected int |
getCodeNum(java.lang.String code)
|
java.lang.String |
getStat(java.lang.String code)
An alternative means of retreiving the values of those fields on this object which are modifiable at run-time by builders. |
java.lang.String[] |
getStatCodes()
Returns an array of the string names of those fields which are modifiable on this object at run-time by builders. |
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
java.lang.String |
ignoreMask()
Returns the mask used to determine if a customer is ignored by the ShopKeeper. |
boolean |
isGeneric()
Whether the fields of this item are set in code, or set by builders. |
java.lang.String |
postalChain()
Returns the postal chain, a string shared by all post offices that deal with the same postal boxes and customers, able to send mail to each other. |
java.lang.String |
prejudiceFactors()
A string describing how pricing for this ShopKeeper will differ based on customer attributes such as race. |
boolean |
sameAs(Environmental E)
Whether this object instance is functionally identical to the object passed in. |
void |
setIgnoreMask(java.lang.String factors)
Sets the mask used to determine if a customer is ignored by the ShopKeeper. |
void |
setMiscText(java.lang.String newText)
For objects which have false for their isGeneric method, this is used to set any internally coded strings to change the nature or behavior of the object. |
void |
setPostalChain(java.lang.String name)
Sets the postal chain, a string shared by all post offices that deal with the same postal boxes and customers, able to send mail to each other. |
void |
setPrejudiceFactors(java.lang.String factors)
Sets the string describing how pricing for this ShopKeeper will differ based on customer attributes such as race. |
void |
setStat(java.lang.String code,
java.lang.String val)
An alternative means of setting the values of those fields on this object which are modifiable at run-time by builders. |
java.lang.String |
text()
For objects which have false for their isGeneric method, this is used to set any internally coded strings to change the nature or behavior of the object. |
Methods inherited from class com.planet_ink.coffee_mud.MOBS.StdPostman |
---|
addSoldType, addToBox, autoGive, createBoxHere, deleteBoxHere, delFromBox, emptyBox, executeMsg, feeForNewBox, findBoxContents, findExactBoxData, findProperBranch, getAllLocalBoxPD, getBoxRowPDData, getBranchPostableTo, getChargeableWeight, getCODChargeForPiece, getHoldingCost, getOurOpenBoxes, getSenderName, getSimplePostage, holdFeePerPound, makeItem, maxMudMonthsHeld, minimumPostage, okMessage, parsePostalItemData, postagePerPound, postalBranch, postalWaitTime, setFeeForNewBox, setHoldFeePerPound, setMaxMudMonthsHeld, setMinimumPostage, setPostagePerPound, setWhatIsSoldMask, tick |
Methods inherited from class com.planet_ink.coffee_mud.MOBS.StdShopKeeper |
---|
budget, cloneFix, destroy, devalueRate, doInventoryReset, doISellThis, finalBudget, finalDevalueRate, finalIgnoreMask, finalInvResetRate, finalItemPricingAdjustments, finalPrejudiceFactors, getShop, getStartArea, getWhatIsSoldMask, getWhatIsSoldZappermask, invResetRate, isSold, itemPricingAdjustments, setBudget, setDevalueRate, setInvResetRate, setItemPricingAdjustments, setWhatIsSoldZappermask, storeKeeperString |
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.core.interfaces.ShopKeeper |
---|
doISellThis, getShop, getWhatIsSoldMask, getWhatIsSoldZappermask, isSold, setWhatIsSoldZappermask, storeKeeperString |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Economics |
---|
budget, devalueRate, finalBudget, finalDevalueRate, finalIgnoreMask, finalInvResetRate, finalItemPricingAdjustments, finalPrejudiceFactors, invResetRate, itemPricingAdjustments, setBudget, setDevalueRate, setInvResetRate, setItemPricingAdjustments |
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 |
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.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 |
Constructor Detail |
---|
public GenPostman()
Method Detail |
---|
public java.lang.String ID()
CMObject
ID
in interface CMObject
ID
in class StdPostman
public boolean isGeneric()
Environmental
isGeneric
in interface Environmental
isGeneric
in class StdMOB
Environmental.text()
public java.lang.String text()
Environmental
text
in interface Environmental
text
in class StdMOB
public java.lang.String prejudiceFactors()
Economics
prejudiceFactors
in interface Economics
prejudiceFactors
in class StdShopKeeper
public void setPrejudiceFactors(java.lang.String factors)
Economics
setPrejudiceFactors
in interface Economics
setPrejudiceFactors
in class StdShopKeeper
factors
- the string describing price prejudicingpublic java.lang.String ignoreMask()
Economics
ignoreMask
in interface Economics
ignoreMask
in class StdShopKeeper
MaskingLibrary
public void setIgnoreMask(java.lang.String factors)
Economics
setIgnoreMask
in interface Economics
setIgnoreMask
in class StdShopKeeper
factors
- the mask to useMaskingLibrary
public java.lang.String postalChain()
PostOffice
postalChain
in interface PostOffice
postalChain
in class StdPostman
PostOffice.setPostalChain(String)
public void setPostalChain(java.lang.String name)
PostOffice
setPostalChain
in interface PostOffice
setPostalChain
in class StdPostman
name
- the name of the postal chainPostOffice.postalChain()
public void setMiscText(java.lang.String newText)
Environmental
setMiscText
in interface Environmental
setMiscText
in class StdMOB
newText
- either an open internal text string, or XMLpublic java.lang.String getStat(java.lang.String code)
Modifiable
getStat
in interface Modifiable
getStat
in class StdMOB
code
- the name of the field to read.
Modifiable.getStatCodes()
public void setStat(java.lang.String code, java.lang.String val)
Modifiable
setStat
in interface Modifiable
setStat
in class StdMOB
code
- the name of the field to setval
- the value to set the field toModifiable.getStatCodes()
protected int getCodeNum(java.lang.String code)
getCodeNum
in class StdMOB
public java.lang.String[] getStatCodes()
Modifiable
getStatCodes
in interface Modifiable
getStatCodes
in class StdMOB
Modifiable.getStat(String)
,
Modifiable.setStat(String, String)
public boolean sameAs(Environmental E)
Environmental
sameAs
in interface Environmental
sameAs
in class StdMOB
E
- the object to compare this one to
Modifiable.getStatCodes()
,
Modifiable.getStat(String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |