|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Economics
An interface for objects capable of modifying economic conditions
| Field Summary |
|---|
| Method Summary | |
|---|---|
java.lang.String |
budget()
Returns a description of the buying budget of the shopkeeper. |
java.lang.String |
devalueRate()
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 |
finalBudget()
Returns a description of the buying budget of the shopkeeper. |
java.lang.String |
finalDevalueRate()
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 |
finalIgnoreMask()
Returns the mask used to determine if a customer is ignored by the ShopKeeper. |
int |
finalInvResetRate()
Returns the number of ticks between totally resetting this ShopKeepers inventory back to what it was. |
java.lang.String[] |
finalItemPricingAdjustments()
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 |
finalPrejudiceFactors()
A string describing how pricing for this ShopKeeper will differ based on customer attributes such as race. |
java.lang.String |
ignoreMask()
Returns the mask used to determine if a customer is ignored by the ShopKeeper. |
int |
invResetRate()
Returns the number of ticks between totally resetting this ShopKeepers inventory back to what it was. |
java.lang.String[] |
itemPricingAdjustments()
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 |
prejudiceFactors()
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 |
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. |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Environmental |
|---|
addEffect, addNonUninvokableEffect, amDestroyed, baseEnvStats, delEffect, description, destroy, displayText, envStats, expirationDate, fetchEffect, fetchEffect, image, isGeneric, maxRange, minRange, miscTextFormat, name, Name, numEffects, rawImage, recoverEnvStats, sameAs, savable, setBaseEnvStats, setDescription, setDisplayText, setExpirationDate, setImage, setMiscText, setName, text |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Tickable |
|---|
getTickStatus, tick |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject |
|---|
copyOf, ID, initializeClass, newInstance |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.StatsAffecting |
|---|
affectCharState, affectCharStats, affectEnvStats |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.MsgListener |
|---|
executeMsg, okMessage |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMModifiable |
|---|
getSaveStatIndex, getStat, getStatCodes, isStat, setStat |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Behavable |
|---|
addBehavior, addScript, delBehavior, delScript, fetchBehavior, fetchBehavior, fetchScript, numBehaviors, numScripts |
| Method Detail |
|---|
java.lang.String prejudiceFactors()
java.lang.String finalPrejudiceFactors()
void setPrejudiceFactors(java.lang.String factors)
factors - the string describing price prejudicingjava.lang.String[] finalItemPricingAdjustments()
java.lang.String[] itemPricingAdjustments()
void setItemPricingAdjustments(java.lang.String[] factors)
factors - the string describing price prejudicingjava.lang.String finalIgnoreMask()
MaskingLibraryjava.lang.String ignoreMask()
MaskingLibraryvoid setIgnoreMask(java.lang.String factors)
factors - the mask to useMaskingLibraryjava.lang.String budget()
java.lang.String finalBudget()
void setBudget(java.lang.String factors)
factors - the string for the shopkeepers buying budgetjava.lang.String finalDevalueRate()
java.lang.String devalueRate()
void setDevalueRate(java.lang.String factors)
factors - the price dropping percentage rule for this shopkeeperint finalInvResetRate()
int invResetRate()
void setInvResetRate(int ticks)
ticks - the number of ticks between total resets of inventory
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||