|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.planet_ink.coffee_mud.Items.Basic.StdItem
com.planet_ink.coffee_mud.Items.MiscMagic.StdScroll
public class StdScroll
| Field Summary | |
|---|---|
protected static java.lang.String[] |
CODES
|
protected java.lang.String |
readableScrollBy
|
| Fields inherited from class com.planet_ink.coffee_mud.Items.Basic.StdItem |
|---|
affects, baseEnvStats, baseGoldValue, behaviors, databaseID, description, destroyed, displayText, dispossessionTime, envStats, imageName, material, miscText, myContainer, myUses, myWornCode, name, owner, properWornBitmap, riding, scripts, secretIdentity, tickStatus, wornLogicalAnd, xtraValues |
| Constructor Summary | |
|---|---|
StdScroll()
|
|
| Method Summary | |
|---|---|
void |
executeMsg(Environmental myHost,
CMMsg msg)
The general message event handler for the object. |
protected int |
getCodeNum(java.lang.String code)
|
java.lang.String |
getSpellList()
|
java.util.Vector |
getSpells()
|
static java.util.Vector |
getSpells(SpellHolder me)
|
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 |
isReadableScrollBy(java.lang.String name)
|
static java.lang.String |
makeSecretIdentity(java.lang.String thang,
java.lang.String id,
java.lang.String more,
java.util.Vector V)
|
void |
readIfAble(MOB mob,
Scroll me,
java.lang.String spellName)
|
boolean |
sameAs(Environmental E)
Whether this object instance is functionally identical to the object passed in. |
java.lang.String |
secretIdentity()
This method returns the calculated and expanded description of the properties of the item as would be discovered through the Identify spell. |
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 |
setReadableScrollBy(java.lang.String name)
|
void |
setSpellList(java.lang.String list)
|
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. |
boolean |
useTheScroll(Ability A,
MOB mob)
|
int |
value()
The default value of the item, represented in the base CoffeeMud currency. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String readableScrollBy
protected static java.lang.String[] CODES
| Constructor Detail |
|---|
public StdScroll()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectID in class StdItempublic java.lang.String getSpellList()
getSpellList in interface SpellHolderpublic void setSpellList(java.lang.String list)
setSpellList in interface SpellHolderpublic int value()
Item
value in interface Itemvalue in class StdItem
public boolean useTheScroll(Ability A,
MOB mob)
useTheScroll in interface Scrollpublic java.lang.String secretIdentity()
Item
secretIdentity in interface ItemsecretIdentity in class StdItem
public static java.lang.String makeSecretIdentity(java.lang.String thang,
java.lang.String id,
java.lang.String more,
java.util.Vector V)
public void readIfAble(MOB mob,
Scroll me,
java.lang.String spellName)
readIfAble in interface Scrollpublic static java.util.Vector getSpells(SpellHolder me)
public java.util.Vector getSpells()
getSpells in interface SpellHolder
public void executeMsg(Environmental myHost,
CMMsg msg)
MsgListener
executeMsg in interface MsgListenerexecuteMsg in class StdItemmyHost - either the initiator of the event, or the host of this objectmsg - the CMMsg that needs to be executedCMMsgpublic void setMiscText(java.lang.String newText)
Environmental
setMiscText in interface EnvironmentalsetMiscText in class StdItemnewText - either an open internal text string, or XMLpublic boolean isReadableScrollBy(java.lang.String name)
isReadableScrollBy in interface Scrollpublic void setReadableScrollBy(java.lang.String name)
setReadableScrollBy in interface Scrollpublic java.lang.String getStat(java.lang.String code)
CMModifiable
getStat in interface CMModifiablegetStat in class StdItemcode - the name of the field to read.
CMModifiable.getStatCodes()
public void setStat(java.lang.String code,
java.lang.String val)
CMModifiable
setStat in interface CMModifiablesetStat in class StdItemcode - the name of the field to setval - the value to set the field toCMModifiable.getStatCodes()public java.lang.String[] getStatCodes()
CMModifiable
getStatCodes in interface CMModifiablegetStatCodes in class StdItemCMModifiable.getStat(String),
CMModifiable.setStat(String, String)protected int getCodeNum(java.lang.String code)
getCodeNum in class StdItempublic boolean sameAs(Environmental E)
Environmental
sameAs in interface EnvironmentalsameAs in class StdItemE - the object to compare this one to
CMModifiable.getStatCodes(),
CMModifiable.getStat(String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||