java.lang.Cloneable, CMObject, java.lang.Comparable<CMObject>, Contingent, Economics, Environmental, Expireable, Modifiable, MsgListener, ShopKeeper, StatsAffecting, TickableBookLoaning, GenLibrarian, StdLibrarianpublic interface Librarian extends ShopKeeper
| Modifier and Type | Interface | Description |
|---|---|---|
static class |
Librarian.CheckedOutRecord |
A class to hold information about a checked-out book
|
ShopKeeper.ShopPrice, ShopKeeper.ViewType| Modifier and Type | Field | Description |
|---|---|---|
static int |
DEFAULT_MAX_BORROWED |
The default maximum number of items that one person can have
checked out at any given time.
|
static int |
DEFAULT_MAX_OVERDUE_DAYS |
The default maximum number of mud-days that an item can be
checked out.
|
static double |
DEFAULT_MIN_OVERDUE_CHARGE |
The daily minimum base currency charge due the moment
a withdrawn item becomes overdue.
|
static double |
DEFAULT_MIN_OVERDUE_DAILY |
The default daily base currency charge due every day
a withdrawn item remains overdue.
|
static int |
DEFAULT_MIN_OVERDUE_DAYS |
The default number of mud-days that an item can be checked
out before being overdue.
|
static double |
DEFAULT_PCT_OVERDUE_CHARGE |
The default percent from 0 to 1, of the value of a
withdrawn item, in base currency charge, due the moment
a withdrawn item becomes overdue.
|
static double |
DEFAULT_PCT_OVERDUE_DAILY |
The default percent from 0 to 1, of the value of a
withdrawn item, in base currency charge, due every
day that a withdrawn item remains overdue.
|
idConverterDEAL_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_WEAPONSSTATUS_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| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
contributorMask() |
Returns the mask used to determine if a contributor is ignored by the Librarian
for contribution.
|
CoffeeShop |
getBaseLibrary() |
Returns the underlying basic book stock of the library, as opposed to the
current shop, which reflects only what is there at the moment.
|
double |
getDailyOverdueCharge() |
Gets the daily base currency charge due every day
a withdrawn item remains overdue.
|
double |
getDailyOverdueChargePct() |
Gets the percent from 0 to 1, of the value of a
withdrawn item, in base currency charge, due every
day that a withdrawn item remains overdue.
|
int |
getMaxBorrowed() |
Gets the maximum number of items that one person can have
checked out at any given time.
|
int |
getMaxOverdueDays() |
Gets the maximum number of mud-days that an item can be
checked out.
|
int |
getMinOverdueDays() |
Gets the number of mud-days that an item can be checked
out before being overdue.
|
double |
getOverdueCharge() |
Gets the minimum base currency charge due the moment
a withdrawn item becomes overdue.
|
double |
getOverdueChargePct() |
Gets the percent from 0 to 1, of the value of a
withdrawn item, in base currency charge, due the moment
a withdrawn item becomes overdue.
|
java.lang.String |
libraryChain() |
Gets the name of the library chain to which this librarian belongs.
|
void |
setContributorMask(java.lang.String mask) |
Sets the mask used to determine if a contributor is ignored by the Librarian
for contribution.
|
void |
setDailyOverdueCharge(double charge) |
Sets the daily base currency charge due every day
a withdrawn item remains overdue.
|
void |
setDailyOverdueChargePct(double pct) |
Sets the percent from 0 to 1, of the value of a
withdrawn item, in base currency charge, due every
day that a withdrawn item remains overdue.
|
void |
setLibraryChain(java.lang.String name) |
Sets the name of the library chain to which this librarian belongs.
|
void |
setMaxBorrowed(int items) |
Sets the maximum number of items that one person can have
checked out at any given time.
|
void |
setMaxOverdueDays(int days) |
Sets the maximum number of mud-days that an item can be
checked out.
|
void |
setMinOverdueDays(int days) |
Sets the number of mud-days that an item can be checked
out before being overdue.
|
void |
setOverdueCharge(double charge) |
Sets the minimum base currency charge due the moment
a withdrawn item becomes overdue.
|
void |
setOverdueChargePct(double pct) |
Sets the percent from 0 to 1, of the value of a
withdrawn item, in base currency charge, due the moment
a withdrawn item becomes overdue.
|
copyOf, ID, initializeClass, newInstanceamDestroyed, destroy, isSavable, setSavablegetFinalBudget, getFinalCurrency, getFinalDevalueRate, getFinalIgnoreMask, getFinalInvResetRate, getFinalItemPricingAdjustments, getFinalPrejudiceFactors, getRawBbudget, getRawCurrency, getRawDevalueRate, getRawIgnoreMask, getRawInvResetRate, getRawItemPricingAdjustments, getRawPrejudiceFactors, setBudget, setCurrency, setDevalueRate, setIgnoreMask, setInvResetRate, setItemPricingAdjustments, setPrejudiceFactorsdescription, displayText, image, isGeneric, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setImage, setMiscText, setName, textexpirationDate, setExpirationDategetSaveStatIndex, getStat, getStatCodes, isStat, setStatexecuteMsg, okMessageaddSoldType, doISellThis, getShop, getWhatIsSoldMask, getWhatIsSoldZappermask, isSold, setWhatIsSoldMask, setWhatIsSoldZappermask, storeKeeperString, viewFlagsaffectCharState, affectCharStats, affectPhyStatsgetTickStatus, name, tickstatic final double DEFAULT_MIN_OVERDUE_CHARGE
static final double DEFAULT_PCT_OVERDUE_CHARGE
static final double DEFAULT_MIN_OVERDUE_DAILY
static final double DEFAULT_PCT_OVERDUE_DAILY
static final int DEFAULT_MIN_OVERDUE_DAYS
static final int DEFAULT_MAX_OVERDUE_DAYS
static final int DEFAULT_MAX_BORROWED
double getOverdueCharge()
setOverdueCharge(double)void setOverdueCharge(double charge)
charge - the base chargesetOverdueCharge(double)double getDailyOverdueCharge()
setDailyOverdueCharge(double)void setDailyOverdueCharge(double charge)
charge - the daily charge from 0-1setDailyOverdueCharge(double)double getOverdueChargePct()
setOverdueChargePct(double)void setOverdueChargePct(double pct)
pct - the base charge as pct of item value from 0-1setOverdueChargePct(double)double getDailyOverdueChargePct()
setDailyOverdueChargePct(double)void setDailyOverdueChargePct(double pct)
pct - the base charge as pct of item value from 0-1setDailyOverdueChargePct(double)int getMinOverdueDays()
setMinOverdueDays(int),
getMaxOverdueDays(),
setMaxOverdueDays(int)void setMinOverdueDays(int days)
days - mud-days before its overduegetMinOverdueDays(),
getMaxOverdueDays(),
setMaxOverdueDays(int)int getMaxOverdueDays()
setMaxOverdueDays(int),
getMinOverdueDays(),
setMinOverdueDays(int)void setMaxOverdueDays(int days)
days - mud-days to be overduegetMaxOverdueDays(),
getMinOverdueDays(),
setMinOverdueDays(int)int getMaxBorrowed()
setMaxBorrowed(int)void setMaxBorrowed(int items)
items - number of itemsgetMaxBorrowed()java.lang.String libraryChain()
setLibraryChain(String)void setLibraryChain(java.lang.String name)
name - the library chain namelibraryChain()java.lang.String contributorMask()
MaskingLibrary,
setContributorMask(String)void setContributorMask(java.lang.String mask)
mask - the mask to useMaskingLibrary,
contributorMask()CoffeeShop getBaseLibrary()