java.lang.Cloneable, CMObject, java.lang.Comparable<CMObject>, Contingent, Environmental, Expireable, Modifiable, MsgListener, StatsAffecting, TickableArea, Auctioneer, AutoGenArea, Banker, Librarian, PostOffice, ShopKeeper, SubAreaBlackMarketeering, BookLoaning, GenAuctioneer, GenBanker, GenLibrarian, GenPostman, GenShopkeeper, Merchant, Moon, Planet, SlaveMarketeering, StdArea, StdAuctioneer, StdAutoGenInstance, StdBanker, StdBoardableShip, StdGridArea, StdLibrarian, StdPlanet, StdPostman, StdShopKeeper, StdSpaceShip, StdThinArea, StdThinGridArea, StdThinInstance, StdThinPlanet, StdTimeZone, SubThinInstancepublic interface Economics extends Environmental
idConverterSTATUS_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 |
|---|---|---|
Pair<java.lang.Long,TimeClock.TimePeriod> |
getFinalBudget() |
Returns a description of the buying budget of the shopkeeper.
|
java.lang.String |
getFinalCurrency() |
Gets the derived currency for this object, which will be referenced by
shopkeepers, bankers, and other mobs.
|
double[] |
getFinalDevalueRate() |
Returns a double array describing the percentage in the drop of the price at
which this ShopKeeper will buy back items based on the number already
in his inventory.
|
java.lang.String |
getFinalIgnoreMask() |
Returns the mask used to determine if a customer is ignored by the ShopKeeper.
|
int |
getFinalInvResetRate() |
Returns the number of ticks between totally resetting this ShopKeepers
inventory back to what it was.
|
java.lang.String[] |
getFinalItemPricingAdjustments() |
A string set describing how pricing for this ShopKeeper will differ based on item masks
The format for each string is a floating point number followers by a space and a zapper mask
|
java.lang.String |
getFinalPrejudiceFactors() |
A string describing how pricing for this ShopKeeper will differ based on customer attributes
such as race.
|
java.lang.String |
getRawBbudget() |
Returns a description of the buying budget of the shopkeeper.
|
java.lang.String |
getRawCurrency() |
Gets the default currency for this object, which will be referenced by
shopkeepers, bankers, and other mobs.
|
java.lang.String |
getRawDevalueRate() |
Returns a string describing the percentage in the drop of the price at
which this ShopKeeper will buy back items based on the number already
in his inventory.
|
java.lang.String |
getRawIgnoreMask() |
Returns the mask used to determine if a customer is ignored by the ShopKeeper.
|
int |
getRawInvResetRate() |
Returns the number of ticks between totally resetting this ShopKeepers
inventory back to what it was.
|
java.lang.String[] |
getRawItemPricingAdjustments() |
A string set describing how pricing for this ShopKeeper will differ based on item masks
The format for each string is a floating point number followers by a space and a zapper mask
|
java.lang.String |
getRawPrejudiceFactors() |
A string describing how pricing for this ShopKeeper will differ based on customer attributes
such as race.
|
void |
setBudget(java.lang.String factors) |
Sets a description of the buying budget of the shopkeeper.
|
void |
setCurrency(java.lang.String currency) |
Returns the default currency for this object, which will be referenced by
shopkeepers, bankers, and other mobs.
|
void |
setDevalueRate(java.lang.String factors) |
Sets a string describing the percentage in the drop of the price at
which this ShopKeeper will buy back items based on the number already
in his inventory.
|
void |
setIgnoreMask(java.lang.String factors) |
Sets the mask used to determine if a customer is ignored by the ShopKeeper.
|
void |
setInvResetRate(int ticks) |
Sets the number of ticks between totally resetting this ShopKeepers
inventory back to what it was.
|
void |
setItemPricingAdjustments(java.lang.String[] factors) |
Sets the string set describing how pricing for this ShopKeeper will differ based on item masks
The format for each string is a floating point number followers by a space and a zapper mask
|
void |
setPrejudiceFactors(java.lang.String factors) |
Sets the string describing how pricing for this ShopKeeper will differ based on customer attributes
such as race.
|
copyOf, ID, initializeClass, newInstanceamDestroyed, destroy, isSavable, setSavabledescription, displayText, image, isGeneric, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setImage, setMiscText, setName, textexpirationDate, setExpirationDategetSaveStatIndex, getStat, getStatCodes, isStat, setStatexecuteMsg, okMessageaffectCharState, affectCharStats, affectPhyStatsgetTickStatus, name, tickjava.lang.String getRawPrejudiceFactors()
java.lang.String getFinalPrejudiceFactors()
void setPrejudiceFactors(java.lang.String factors)
factors - the string describing price prejudicingjava.lang.String[] getFinalItemPricingAdjustments()
java.lang.String[] getRawItemPricingAdjustments()
void setItemPricingAdjustments(java.lang.String[] factors)
factors - the string describing price prejudicingjava.lang.String getFinalIgnoreMask()
MaskingLibraryjava.lang.String getRawIgnoreMask()
MaskingLibraryvoid setIgnoreMask(java.lang.String factors)
factors - the mask to useMaskingLibraryjava.lang.String getRawBbudget()
Pair<java.lang.Long,TimeClock.TimePeriod> getFinalBudget()
void setBudget(java.lang.String factors)
factors - the string for the shopkeepers buying budgetdouble[] getFinalDevalueRate()
java.lang.String getRawDevalueRate()
void setDevalueRate(java.lang.String factors)
factors - the price dropping percentage rule for this shopkeeperint getFinalInvResetRate()
int getRawInvResetRate()
void setInvResetRate(int ticks)
ticks - the number of ticks between total resets of inventoryjava.lang.String getFinalCurrency()
java.lang.String getRawCurrency()
void setCurrency(java.lang.String currency)
currency - a currency name/definition