|
|||||||||
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.StdLibrarian
com.planet_ink.coffee_mud.MOBS.GenLibrarian
public class GenLibrarian
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.planet_ink.coffee_mud.MOBS.StdLibrarian |
---|
StdLibrarian.CheckedOutRecord |
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.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.StdLibrarian |
---|
contributorMask, curShop, dailyOverdueCharge, dailyOverdueChargePct, lastShopTime, maxBorrowedItems, maxOverdueDays, minOverdueDays, overdueCharge, overdueChargePct, shopApply |
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.MOBS.interfaces.Librarian |
---|
DEFAULT_MAX_BORROWED, DEFAULT_MAX_OVERDUE_DAYS, DEFAULT_MIN_OVERDUE_CHARGE, DEFAULT_MIN_OVERDUE_DAILY, DEFAULT_MIN_OVERDUE_DAYS, DEFAULT_PCT_OVERDUE_CHARGE, DEFAULT_PCT_OVERDUE_DAILY |
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 | |
---|---|
GenLibrarian()
|
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 |
libraryChain()
Gets the name of the library chain to which this librarian belongs. |
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 |
setLibraryChain(java.lang.String name)
Sets the name of the library chain to which this librarian belongs. |
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 |
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.StdShopKeeper |
---|
addSoldType, budget, devalueRate, doISellThis, finalBudget, finalDevalueRate, finalIgnoreMask, finalInvResetRate, finalItemPricingAdjustments, finalPrejudiceFactors, getStartArea, getWhatIsSoldMask, getWhatIsSoldZappermask, invResetRate, isSold, itemPricingAdjustments, setBudget, setDevalueRate, setInvResetRate, setItemPricingAdjustments, setWhatIsSoldMask, 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 |
---|
addSoldType, doISellThis, getWhatIsSoldMask, getWhatIsSoldZappermask, isSold, setWhatIsSoldMask, 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, 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 GenLibrarian()
Method Detail |
---|
public java.lang.String ID()
CMObject
ID
in interface CMObject
ID
in class StdLibrarian
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 libraryChain()
Librarian
libraryChain
in interface Librarian
libraryChain
in class StdLibrarian
Librarian.setLibraryChain(String)
public void setLibraryChain(java.lang.String name)
Librarian
setLibraryChain
in interface Librarian
setLibraryChain
in class StdLibrarian
name
- the library chain nameLibrarian.libraryChain()
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 |