AbilityContainer, Affectable, Behavable, CMObject, Combatant, Contingent, DBIdentifiable, Economics, Environmental, Expireable, FactionMember, Followable<MOB>, ItemCollection, ItemPossessor, Modifiable, MsgListener, MUDCmdProcessor, Physical, PhysicalAgent, Rider, ShopKeeper, StatsAffecting, Tattooable, Tickable, Librarian, MOB, java.lang.Cloneable, java.lang.Comparable<CMObject>public class GenLibrarian extends StdLibrarian
ItemPossessor.Expire, ItemPossessor.Find, ItemPossessor.MoveLibrarian.CheckedOutRecordMOB.AttribShopKeeper.ShopPrice, ShopKeeper.ViewTypeStdMOB.ApplyAffectCharState<T extends StatsAffecting>, StdMOB.ApplyAffectCharStats<T extends StatsAffecting>, StdMOB.ApplyRecAffectPhyStats<T extends StatsAffecting>idConverterDEFAULT_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_DAILYAGE_MILLIS_THRESHOLD, END_SHEATH_TIME, START_SHEATH_TIMEMETAFLAG_AS, METAFLAG_ASMESSAGE, METAFLAG_FORCED, METAFLAG_INORDER, METAFLAG_MPFORCED, METAFLAG_ORDER, METAFLAG_POSSESSED, METAFLAG_QUIETLY, METAFLAG_REVERSED, METAFLAG_SNOOPEDDEAL_ALCHEMIST, DEAL_ANYTECHNOLOGY, DEAL_ANYTHING, DEAL_ARMOR, DEAL_AUCTIONEER, DEAL_BANKER, DEAL_BOOKS, DEAL_BUTCHER, DEAL_CASTER, DEAL_CLANBANKER, DEAL_CLANDSELLER, DEAL_CLANPOSTMAN, DEAL_CLOTHSPINNER, 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_WEAPONScontributorMask, curShop, dailyOverdueCharge, dailyOverdueChargePct, lastShopTime, maxBorrowedItems, maxOverdueDays, minOverdueDays, overdueCharge, overdueChargePct, shopApply_name, 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, speedAdj, tattoos, tickAgeCounter, tickStatus, trains, triggerer, validChkCounter, victim, wimpHitPoint, xtraValuesbudget, budgetMax, budgetRemaining, budgetTickDown, currency, devalueRate, invResetRate, invResetTickDown, itemZapperMask, pricingAdjustments, shop, viewTypes, whatIsSoldMaskSTATUS_AFFECT, STATUS_ALIVE, STATUS_BEHAVIOR, STATUS_CLASS, STATUS_DEAD, STATUS_END, STATUS_FIGHT, STATUS_MISC, STATUS_MISC2, STATUS_MISC3, STATUS_MISC4, STATUS_MISC5, STATUS_MISC6, STATUS_MISC7, STATUS_NOT, STATUS_OTHER, STATUS_RACE, STATUS_REBIRTH, STATUS_SCRIPT, STATUS_START, STATUS_WEATHER, TICKID_AREA, TICKID_BALLISTICK, TICKID_CLAN, TICKID_CLANITEM, TICKID_DEADBODY_DECAY, TICKID_ELECTRONICS, TICKID_EMAIL, TICKID_EVENT, TICKID_EXIT_BEHAVIOR, TICKID_EXIT_REOPEN, TICKID_ITEM_BEHAVIOR, TICKID_ITEM_BOUNCEBACK, TICKID_LIGHT_FLICKERS, TICKID_LIVEAUCTION, TICKID_LONGERMASK, TICKID_MISCELLANEOUS, TICKID_MOB, TICKID_PROPERTY_SPECIAL, TICKID_QUEST, TICKID_READYTOSTOP, TICKID_ROOM_BEHAVIOR, TICKID_ROOM_ITEM_REJUV, TICKID_SHORTERMASK, TICKID_SOLITARYMASK, TICKID_SPECIALCOMBAT, TICKID_SPECIALMANEUVER, TICKID_SPELL_AFFECT, TICKID_SUPPORT, TICKID_TIMEAUCTION, TICKID_TRAP_DESTRUCTION, TICKID_TRAP_RESET| Constructor | Description |
|---|---|
GenLibrarian() |
| Modifier and Type | Method | Description |
|---|---|---|
protected int |
getCodeNum(java.lang.String code) |
|
java.lang.String |
getRawIgnoreMask() |
Returns the mask used to determine if a customer is ignored by the ShopKeeper.
|
java.lang.String |
getRawPrejudiceFactors() |
A string describing how pricing for this ShopKeeper will differ based on customer attributes
such as race.
|
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.
|
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.
|
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.
|
copyOf, initializeClass, newInstanceamDestroyed, isSavable, setSavablegetFinalBudget, getFinalCurrency, getFinalDevalueRate, getFinalIgnoreMask, getFinalInvResetRate, getFinalItemPricingAdjustments, getFinalPrejudiceFactors, getRawBbudget, getRawCurrency, getRawDevalueRate, getRawInvResetRate, getRawItemPricingAdjustments, setBudget, setCurrency, setDevalueRate, setInvResetRate, setItemPricingAdjustmentsdescription, displayText, image, L, maxRange, minRange, miscTextFormat, Name, rawImage, setDescription, setDisplayText, setImage, setNameexpirationDate, setExpirationDategetSaveStatIndex, isStatclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddSoldType, doISellThis, getWhatIsSoldMask, getWhatIsSoldZappermask, isSold, setWhatIsSoldMask, setWhatIsSoldZappermask, storeKeeperString, viewFlagsaffectCharState, affectCharStats, affectPhyStatsautoGive, cloneFix, contributorMask, destroy, doInventoryReset, executeMsg, getAllMyRecords, getBaseLibrary, getCheckedOutRecords, getDailyOverdueCharge, getDailyOverdueChargePct, getItemRecords, getLibraryRecordKey, getLibraryShopKey, getMaxBorrowed, getMaxOverdueDays, getMinOverdueDays, getMyClock, getOverdueCharge, getOverdueChargePct, getRecord, getRecordChangeIndexes, getShop, getTotalOverdueCharges, okMessage, processCheckedOutRecord, setContributorMask, setDailyOverdueCharge, setDailyOverdueChargePct, setMaxBorrowed, setMaxOverdueDays, setMinOverdueDays, setOverdueCharge, setOverdueChargePct, tick, updateCheckedOutRecordsabilities, actions, addAbility, addBehavior, addEffect, addExpertise, addFaction, addFollower, addItem, addItem, addNonUninvokableEffect, addPriorityEffect, addScript, addTattoo, addTattoo, addTattoo, adjustFaction, affectCharState, affectCharStats, affectPhyStats, allAbilities, amActive, amDead, amDestroyed, amFollowing, amUltimatelyFollowing, baseCharStats, basePhyStats, baseState, baseWeight, behaviors, bringToLife, bringToLife, calculateActionCost, canSaveDatabaseID, charStats, checkCommandCancel, clanEffects, clans, clearCommandQueue, commandQueSize, compareTo, confirmLocation, copyFactions, copyOf, counItemsWornAt, curState, databaseID, delAbility, delAllAbilities, delAllBehaviors, delAllEffects, delAllExpertises, delAllItems, delAllScripts, delBehavior, delEffect, delExpertise, delFollower, delItem, delScript, delTattoo, delTattoo, dequeCommand, description, description, displayText, displayText, dispossess, doCommand, doCommand, eachBehavior, eachEffect, eachItem, eachScript, effects, enqueCommand, enqueCommands, expertises, expirationDate, factions, fetchAbility, fetchAbility, fetchBehavior, fetchBehavior, fetchEffect, fetchEffect, fetchExpertise, fetchFaction, fetchFactionData, fetchFactionRanges, fetchFirstWornItem, fetchFollower, fetchFollower, fetchFollowerOrder, fetchFromInventory, fetchHeldItem, fetchItem, fetchRandomAbility, fetchScript, fetchWieldedItem, fetchWornItems, findAbility, findItem, findItem, findItems, findItems, findTattoo, findTattooStartsWith, fixChannelColors, flagVariableEq, followers, freeWearPositions, genericName, getAbilityUsageCache, getAgeMinutes, getAttributesBitmap, getClanRole, getCombatant, getContextName, getDirectionToTarget, getExperience, getExpNeededDelevel, getExpNeededLevel, getExpNextLevel, getExpPrevLevel, getFactionListing, getGroupMembers, getGroupMembersAndRideables, getItem, getLiegeID, getMoney, getMoneyVariation, getNaturalWeapon, getPeaceTime, getPractices, getQuestPoint, getRandomItem, getRideBuddies, getSaveStatIndex, getStartRoom, getTickStatus, getTopCommand, getTrains, getVictim, getWearPositions, getWimpHitPoint, hasFaction, hasOnlyGoldInInventory, healthText, image, initializeClass, isAttributeSet, isContent, isEitherOfUsDead, isFollowedBy, isInCombat, isMarriedToLiege, isMine, isMonster, isPermissableToFight, isPlayer, isPossessing, isRacialAbility, isSavable, isStat, items, killMeDead, L, lastTickedDateTime, location, makePeace, maxCarry, maxFollowers, maxItems, maxRange, maxState, mayIFight, mayPhysicallyAttack, minRange, miscTextFormat, moveItemTo, moveItemTo, name, name, Name, newInstance, numAbilities, numAllAbilities, numAllEffects, numBehaviors, numEffects, numFollowers, numItems, numScripts, personalEffects, phyStats, playerStats, prequeCommand, prequeCommands, racialEffects, rangeToTarget, rawImage, recoverCharStats, recoverMaxState, recoverPhyStats, removeFaction, removeFromGame, resetToMaxState, riding, scripts, session, setActions, setAgeMinutes, setAttribute, setAttributesBitmap, setBaseCharStats, setBasePhyStats, setBaseState, setClan, setCombatant, setDatabaseID, setDescription, setDestroyed, setDisplayText, setExperience, setExpirationDate, setFollowing, setImage, setLiegeID, setLocation, setMoney, setMoneyVariation, setName, setPlayerStats, setPractices, setQuestPoint, setRangeToTarget, setRiding, setSavable, setSession, setSoulMate, setStartRoom, setTrains, setTriggerer, setVictim, setWimpHitPoint, soulMate, tattoos, tell, tell, titledName, titledName, totalFollowers, triggerer, willFollowOrdersOfaddSoldType, doBudgetReset, doISellThis, getFinalBudget, getFinalCurrency, getFinalDevalueRate, getFinalIgnoreMask, getFinalInvResetRate, getFinalItemPricingAdjustments, getFinalPrejudiceFactors, getRawBbudget, getRawCurrency, getRawDevalueRate, getRawInvResetRate, getRawItemPricingAdjustments, getStartArea, getWhatIsSoldMask, getWhatIsSoldZappermask, isSold, setBudget, setCurrency, setDevalueRate, setInvResetRate, setItemPricingAdjustments, setWhatIsSoldMask, setWhatIsSoldZappermask, stdokMessage, storeKeeperString, viewFlagsgetTickStatus, namepublic java.lang.String ID()
CMObjectID in interface CMObjectID in class StdLibrarianpublic boolean isGeneric()
EnvironmentalisGeneric in interface EnvironmentalisGeneric in class StdMOBEnvironmental.text()public java.lang.String text()
Environmentaltext in interface Environmentaltext in class StdMOBpublic java.lang.String getRawPrejudiceFactors()
EconomicsgetRawPrejudiceFactors in interface EconomicsgetRawPrejudiceFactors in class StdShopKeeperpublic void setPrejudiceFactors(java.lang.String factors)
EconomicssetPrejudiceFactors in interface EconomicssetPrejudiceFactors in class StdShopKeeperfactors - the string describing price prejudicingpublic java.lang.String getRawIgnoreMask()
EconomicsgetRawIgnoreMask in interface EconomicsgetRawIgnoreMask in class StdShopKeeperMaskingLibrarypublic void setIgnoreMask(java.lang.String factors)
EconomicssetIgnoreMask in interface EconomicssetIgnoreMask in class StdShopKeeperfactors - the mask to useMaskingLibrarypublic java.lang.String libraryChain()
LibrarianlibraryChain in interface LibrarianlibraryChain in class StdLibrarianLibrarian.setLibraryChain(String)public void setLibraryChain(java.lang.String name)
LibrariansetLibraryChain in interface LibrariansetLibraryChain in class StdLibrarianname - the library chain nameLibrarian.libraryChain()public void setMiscText(java.lang.String newText)
EnvironmentalsetMiscText in interface EnvironmentalsetMiscText in class StdMOBnewText - either an open internal text string, or XMLpublic java.lang.String getStat(java.lang.String code)
ModifiablegetStat in interface ModifiablegetStat in class StdMOBcode - the name of the field to read.Modifiable.getStatCodes()public void setStat(java.lang.String code,
java.lang.String val)
ModifiablesetStat in interface ModifiablesetStat in class StdMOBcode - 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 StdMOBpublic java.lang.String[] getStatCodes()
ModifiablegetStatCodes in interface ModifiablegetStatCodes in class StdMOBModifiable.getStat(String),
Modifiable.setStat(String, String)public boolean sameAs(Environmental E)
EnvironmentalsameAs in interface EnvironmentalsameAs in class StdMOBE - the object to compare this one toModifiable.getStatCodes(),
Modifiable.getStat(String)