|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Deity
A Deity is a type of mob that provides benefits (and punishments) for players that worship them, especially Clerics. They also provide for mini-mini quests (called rituals or sins) for obtaining the benefits or punishments, as well as mini-mini quests for clerics to do services. This interface defines the language for specifying the rituals, as well as the methods for accessing them and their benefits and detriments.
| Nested Class Summary | |
|---|---|
static class |
Deity.RitualConnector
Separator enum constants for ritual definitions. |
static class |
Deity.RitualTrigger
The definition of the key words in the ritual definitions. |
| Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.MOBS.interfaces.MOB |
|---|
MOB.Attrib |
| Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.core.interfaces.ItemPossessor |
|---|
ItemPossessor.Expire, ItemPossessor.Find, ItemPossessor.Move |
| Field Summary |
|---|
| Fields inherited from interface com.planet_ink.coffee_mud.MOBS.interfaces.MOB |
|---|
AGE_MILLIS_THRESHOLD, END_SHEATH_TIME, START_SHEATH_TIME |
| Fields inherited from interface com.planet_ink.coffee_mud.core.interfaces.MUDCmdProcessor |
|---|
METAFLAG_AS, METAFLAG_ASMESSAGE, METAFLAG_FORCED, METAFLAG_INORDER, METAFLAG_MPFORCED, METAFLAG_ORDER, METAFLAG_POSSESSED, METAFLAG_SNOOPED |
| Method Summary | |
|---|---|
void |
addBlessing(Ability to,
boolean clericOnly)
Adds a new blessing, which worshippers/clerics can get from performming the appropriate deity ritual. |
void |
addCurse(Ability to,
boolean clericOnly)
Adds a new curse, which worshippers/clerics can get from performming the appropriate deity "Sin". |
void |
addPower(Ability to)
Adds a new power up ability, which clerics can get from performming the appropriate powerup ritual. |
void |
delBlessing(Ability to)
Deletes the given blessing, which worshippers/clerics can get from performming the appropriate deity ritual. |
void |
delCurse(Ability to)
Deletes the given curse, which worshippers/clerics can get from performming the appropriate deity "Sin". |
void |
delPower(Ability to)
Removes the power up ability, which clerics can get from performming the appropriate powerup ritual. |
Ability |
fetchBlessing(int index)
Gets the blessing at the given index. |
Ability |
fetchBlessing(java.lang.String ID)
Returns the blessing the given Ability ID. |
boolean |
fetchBlessingCleric(int index)
Returns whether the blessing at the given index is only for clerics. |
boolean |
fetchBlessingCleric(java.lang.String ID)
Returns whether the blessing with the given Ability ID is only for clerics. |
Ability |
fetchCurse(int index)
Gets the curse at the given index. |
Ability |
fetchCurse(java.lang.String ID)
Returns the curse the given Ability ID. |
boolean |
fetchCurseCleric(int index)
Returns whether the curse at the given index is only for clerics. |
boolean |
fetchCurseCleric(java.lang.String ID)
Returns whether the curse with the given Ability ID is only for clerics. |
Ability |
fetchPower(int index)
Returns the power up abilities at the given index. |
Ability |
fetchPower(java.lang.String ID)
Returns the power up abilities with the given Ability ID. |
java.lang.String |
getClericPowerup()
Gets the raw ritual command string that defines what a cleric must do to receive the Power Up Abilities of this deity. |
java.lang.String |
getClericPowerupDesc()
Returns the friendly description of the ritual that cleric must do to receive the Power Up Abilities of this deity. |
java.lang.String |
getClericRequirements()
Gets the Zapper Mask string that defines the requirements to be a Cleric of this Deity. |
java.lang.String |
getClericRequirementsDesc()
Returns a friendly readable description of the requirements to be a Cleric of this Deity. |
java.lang.String |
getClericRitual()
Gets the raw ritual command string that defines what a cleric must do to receive the Blessings of this deity. |
java.lang.String |
getClericSin()
Gets the raw ritual command string that defines what a cleric must do to receive the Curses of this deity. |
java.lang.String |
getClericSinDesc()
Returns the friendly description of the ritual that cleric must do to receive the Curses of this deity. |
java.lang.String |
getClericTriggerDesc()
Returns the friendly description of the ritual that cleric must do to receive the Blessings of this deity. |
java.lang.String |
getServiceRitual()
Gets the raw ritual command string that defines what a cleric must do to complete a Service of this deity. |
java.lang.String |
getServiceTriggerDesc()
Returns the friendly description of the ritual that cleric must do to perform a service for this deity. |
java.lang.String |
getWorshipRequirements()
Gets the Zapper Mask string that defines the requirements to be a Worshipper of this Deity. |
java.lang.String |
getWorshipRequirementsDesc()
Returns a friendly readable description of the requirements to be a Worshipper of this Deity. |
java.lang.String |
getWorshipRitual()
Gets the raw ritual command string that defines what a worshipper must do to receive the Blessings of this deity. |
java.lang.String |
getWorshipSin()
Gets the raw ritual command string that defines what a worshipper must do to receive the Curses of this deity. |
java.lang.String |
getWorshipSinDesc()
Returns the friendly description of the ritual that worshipper must do to receive the Curses of this deity. |
java.lang.String |
getWorshipTriggerDesc()
Returns the friendly description of the ritual that worshipper must do to receive the Blessings of this deity. |
int |
numBlessings()
Returns the total number of blessings, both cleric and worshipper. |
int |
numCurses()
Returns the total number of curses, both cleric and worshipper. |
int |
numPowers()
Returns the number of power up abilities, which clerics get from performing the appropriate powerup ritual. |
void |
setClericPowerup(java.lang.String ritual)
Sets the raw ritual command string that defines what a cleric must do to receive the Power Up Abilities of this deity. |
void |
setClericRequirements(java.lang.String reqs)
Sets the Zapper Mask string that defines the requirements to be a Cleric of this Deity. |
void |
setClericRitual(java.lang.String ritual)
Sets the raw ritual command string that defines what a cleric must do to receive the Blessings of this deity. |
void |
setClericSin(java.lang.String ritual)
Sets the raw ritual command string that defines what a cleric must do to receive the Curses of this deity. |
void |
setServiceRitual(java.lang.String ritual)
Sets the raw ritual command string that defines what a cleric must do to complete a Service of this deity. |
void |
setWorshipRequirements(java.lang.String reqs)
Sets the Zapper Mask string that defines the requirements to be a Worshipper of this Deity. |
void |
setWorshipRitual(java.lang.String ritual)
Sets the raw ritual command string that defines what a worshipper must do to receive the Blessings of this deity. |
void |
setWorshipSin(java.lang.String ritual)
Sets the raw ritual command string that defines what a worshipper must do to receive the Curses of this deity. |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Rider |
|---|
riding, setRiding |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.DBIdentifiable |
|---|
canSaveDatabaseID, databaseID, setDatabaseID |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.ItemPossessor |
|---|
addItem, moveItemTo, moveItemTo |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.ItemCollection |
|---|
addItem, delAllItems, delItem, eachItem, findItem, findItem, findItems, findItems, getItem, getRandomItem, isContent, items, numItems |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.AbilityContainer |
|---|
abilities, addAbility, allAbilities, delAbility, delAllAbilities, fetchAbility, fetchAbility, fetchRandomAbility, numAbilities, numAllAbilities |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Tattooable |
|---|
addTattoo, addTattoo, addTattoo, delTattoo, delTattoo, findTattoo, findTattooStartsWith, tattoos |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.FactionMember |
|---|
addFaction, adjustFaction, copyFactions, factions, fetchFaction, fetchFactionData, fetchFactionRanges, getFactionListing, hasFaction, removeFaction |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.MUDCmdProcessor |
|---|
actions, clearCommandQueue, commandQueSize, dequeCommand, doCommand, enqueCommand, enqueCommands, prequeCommand, prequeCommands, setActions |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Followable |
|---|
addFollower, amFollowing, amUltimatelyFollowing, delFollower, fetchFollower, fetchFollower, fetchFollowerOrder, followers, getGroupMembers, getGroupMembersAndRideables, isFollowedBy, numFollowers, setFollowing, totalFollowers |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Combatant |
|---|
getCombatant, getDirectionToTarget, isInCombat, makePeace, mayIFight, mayPhysicallyAttack, rangeToTarget, setCombatant, setRangeToTarget |
| 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.Behavable |
|---|
addBehavior, addScript, behaviors, delAllBehaviors, delAllScripts, delBehavior, delScript, eachBehavior, eachScript, fetchBehavior, fetchBehavior, fetchScript, numBehaviors, numScripts, scripts |
| Method Detail |
|---|
java.lang.String getClericRequirements()
MaskingLibrary,
setClericRequirements(String),
getClericRequirementsDesc()void setClericRequirements(java.lang.String reqs)
reqs - the Zapper Mask string that defines the requirementsMaskingLibrary,
getClericRequirements(),
getClericRequirementsDesc()java.lang.String getClericRequirementsDesc()
setClericRequirements(String),
getClericRequirements()java.lang.String getWorshipRequirements()
MaskingLibrary,
setWorshipRequirements(String),
getWorshipRequirementsDesc()void setWorshipRequirements(java.lang.String reqs)
reqs - the Zapper Mask string that defines the requirementsMaskingLibrary,
getWorshipRequirements(),
getWorshipRequirementsDesc()java.lang.String getWorshipRequirementsDesc()
setWorshipRequirements(String),
getWorshipRequirements()
void addBlessing(Ability to,
boolean clericOnly)
to - the blessing ability objectclericOnly - true if its only for clerics, false if for everyonegetClericRitual(),
getWorshipRitual(),
delBlessing(Ability),
numBlessings(),
fetchBlessing(String),
fetchBlessingCleric(int),
fetchBlessing(int)void delBlessing(Ability to)
to - the blessing ability objectgetClericRitual(),
getWorshipRitual(),
addBlessing(Ability, boolean),
numBlessings(),
fetchBlessing(String),
fetchBlessingCleric(int),
fetchBlessing(int)int numBlessings()
getClericRitual(),
getWorshipRitual(),
addBlessing(Ability, boolean),
delBlessing(Ability),
fetchBlessing(String),
fetchBlessingCleric(int),
fetchBlessing(int)Ability fetchBlessing(int index)
index - the index of the blessing to return info about
getClericRitual(),
getWorshipRitual(),
addBlessing(Ability, boolean),
delBlessing(Ability),
fetchBlessing(String),
fetchBlessingCleric(int),
numBlessings()Ability fetchBlessing(java.lang.String ID)
ID - the Ability ID of the blessing to return info about
getClericRitual(),
getWorshipRitual(),
addBlessing(Ability, boolean),
delBlessing(Ability),
fetchBlessing(int),
fetchBlessingCleric(int),
numBlessings()boolean fetchBlessingCleric(int index)
index - the index of the blessing to return info about
getClericRitual(),
getWorshipRitual(),
addBlessing(Ability, boolean),
delBlessing(Ability),
fetchBlessing(String),
fetchBlessing(int),
fetchBlessingCleric(String),
numBlessings()boolean fetchBlessingCleric(java.lang.String ID)
ID - the ability id of the blessing to return info about
getClericRitual(),
getWorshipRitual(),
addBlessing(Ability, boolean),
delBlessing(Ability),
fetchBlessing(String),
fetchBlessing(int),
fetchBlessingCleric(int),
numBlessings()java.lang.String getClericRitual()
Deity,
fetchBlessing(String),
setClericRitual(String),
getClericTriggerDesc(),
Deity.RitualTrigger,
Deity.RitualConnectorvoid setClericRitual(java.lang.String ritual)
ritual - the coded ritual command stringDeity,
fetchBlessing(String),
getClericRitual(),
getClericTriggerDesc(),
Deity.RitualTrigger,
Deity.RitualConnectorjava.lang.String getClericTriggerDesc()
Deity,
fetchBlessing(String),
getClericRitual(),
setClericRitual(String),
Deity.RitualTrigger,
Deity.RitualConnectorjava.lang.String getServiceRitual()
Deity,
fetchBlessing(String),
setServiceRitual(String),
getServiceTriggerDesc(),
Deity.RitualTrigger,
Deity.RitualConnectorvoid setServiceRitual(java.lang.String ritual)
ritual - the coded ritual command stringDeity,
fetchBlessing(String),
getServiceRitual(),
getServiceTriggerDesc(),
Deity.RitualTrigger,
Deity.RitualConnectorjava.lang.String getServiceTriggerDesc()
Deity,
fetchBlessing(String),
getServiceRitual(),
setServiceRitual(String),
Deity.RitualTrigger,
Deity.RitualConnectorjava.lang.String getWorshipRitual()
Deity,
fetchBlessing(String),
setWorshipRitual(String),
getWorshipTriggerDesc(),
Deity.RitualTrigger,
Deity.RitualConnectorvoid setWorshipRitual(java.lang.String ritual)
ritual - the coded ritual command stringDeity,
fetchBlessing(String),
getWorshipRitual(),
getWorshipTriggerDesc(),
Deity.RitualTrigger,
Deity.RitualConnectorjava.lang.String getWorshipTriggerDesc()
Deity,
fetchBlessing(String),
getWorshipRitual(),
setWorshipRitual(String),
Deity.RitualTrigger,
Deity.RitualConnector
void addCurse(Ability to,
boolean clericOnly)
to - the curse ability objectclericOnly - true if its only for clerics, false if for everyonegetClericSin(),
getWorshipSin(),
delCurse(Ability),
numCurses(),
fetchCurse(String),
fetchCurseCleric(int),
fetchCurse(int)void delCurse(Ability to)
to - the curse ability objectgetClericSin(),
getWorshipSin(),
addCurse(Ability, boolean),
numCurses(),
fetchCurse(String),
fetchCurseCleric(int),
fetchCurse(int)int numCurses()
getClericSin(),
getWorshipSin(),
addCurse(Ability, boolean),
delCurse(Ability),
fetchCurse(String),
fetchCurseCleric(int),
fetchCurse(int)Ability fetchCurse(int index)
index - the index of the curse to return info about
getClericSin(),
getWorshipSin(),
addCurse(Ability, boolean),
delCurse(Ability),
fetchCurse(String),
fetchCurseCleric(int),
numCurses()Ability fetchCurse(java.lang.String ID)
ID - the Ability ID of the curse to return info about
getClericSin(),
getWorshipSin(),
addCurse(Ability, boolean),
delCurse(Ability),
fetchCurse(int),
fetchCurseCleric(int),
numCurses()boolean fetchCurseCleric(int index)
index - the index of the curse to return info about
getClericSin(),
getWorshipSin(),
addCurse(Ability, boolean),
delCurse(Ability),
fetchCurse(String),
fetchCurse(int),
fetchCurseCleric(String),
numCurses()boolean fetchCurseCleric(java.lang.String ID)
ID - the ability id of the curse to return info about
getClericSin(),
getWorshipSin(),
addCurse(Ability, boolean),
delCurse(Ability),
fetchCurse(String),
fetchCurse(int),
fetchCurseCleric(int),
numCurses()java.lang.String getClericSin()
Deity,
fetchCurse(String),
setClericSin(String),
getClericSinDesc(),
Deity.RitualTrigger,
Deity.RitualConnectorvoid setClericSin(java.lang.String ritual)
ritual - the coded ritual command stringDeity,
fetchCurse(String),
getClericSin(),
getClericSinDesc(),
Deity.RitualTrigger,
Deity.RitualConnectorjava.lang.String getClericSinDesc()
Deity,
fetchCurse(String),
getClericSin(),
setClericSin(String),
Deity.RitualTrigger,
Deity.RitualConnectorjava.lang.String getWorshipSin()
Deity,
fetchCurse(String),
setWorshipSin(String),
getWorshipSinDesc(),
Deity.RitualTrigger,
Deity.RitualConnectorvoid setWorshipSin(java.lang.String ritual)
ritual - the coded ritual command stringDeity,
fetchCurse(String),
getWorshipSin(),
getWorshipSinDesc(),
Deity.RitualTrigger,
Deity.RitualConnectorjava.lang.String getWorshipSinDesc()
Deity,
fetchCurse(String),
getWorshipSin(),
setWorshipSin(String),
Deity.RitualTrigger,
Deity.RitualConnectorvoid addPower(Ability to)
to - the power up ability objectgetClericPowerup(),
delPower(Ability),
numPowers(),
fetchPower(String),
fetchPower(int)void delPower(Ability to)
to - the power up ability object to removegetClericPowerup(),
addPower(Ability),
numPowers(),
fetchPower(String),
fetchPower(int)int numPowers()
getClericPowerup(),
addPower(Ability),
delPower(Ability),
fetchPower(String),
fetchPower(int)Ability fetchPower(int index)
index - the index of the Ability to return
getClericPowerup(),
addPower(Ability),
delPower(Ability),
fetchPower(String),
numPowers()Ability fetchPower(java.lang.String ID)
ID - the Ability ID of the Ability to return
getClericPowerup(),
addPower(Ability),
delPower(Ability),
fetchPower(String),
numPowers()java.lang.String getClericPowerup()
Deity,
fetchPower(String),
setClericPowerup(String),
getClericPowerupDesc(),
Deity.RitualTrigger,
Deity.RitualConnectorvoid setClericPowerup(java.lang.String ritual)
ritual - the coded ritual command stringDeity,
fetchPower(String),
getClericPowerup(),
getClericPowerupDesc(),
Deity.RitualTrigger,
Deity.RitualConnectorjava.lang.String getClericPowerupDesc()
Deity,
fetchPower(String),
getClericPowerup(),
setClericPowerup(String),
Deity.RitualTrigger,
Deity.RitualConnector
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||