AbilityContainer
, Affectable
, Behavable
, java.lang.Cloneable
, CMObject
, Combatant
, java.lang.Comparable<CMObject>
, Contingent
, DBIdentifiable
, Environmental
, Expireable
, FactionMember
, Followable<MOB>
, ItemCollection
, ItemPossessor
, MOB
, Modifiable
, MsgListener
, MUDCmdProcessor
, Physical
, PhysicalAgent
, Rider
, StatsAffecting
, Tattooable
, Tickable
public interface Deity extends MOB
Modifier and Type | Interface | Description |
---|---|---|
static interface |
Deity.DeityWorshipper |
Helper interface for the deity to identify worshippers and
other things associated with a specific deity.
|
static class |
Deity.HolyEvent |
Enum for different categories of holy events that can occur.
|
static class |
Deity.RitualType |
The types of rituals that deities will watch for from their
worshippers and clerics.
|
ItemPossessor.Expire, ItemPossessor.Find, ItemPossessor.Move
MOB.Attrib
idConverter
AGE_MILLIS_THRESHOLD, END_SHEATH_TIME, START_SHEATH_TIME
METAFLAG_AS, METAFLAG_ASMESSAGE, METAFLAG_FORCED, METAFLAG_INORDER, METAFLAG_MPFORCED, METAFLAG_ORDER, METAFLAG_POSSESSED, METAFLAG_QUIETLY, METAFLAG_REVERSED, METAFLAG_SNOOPED
Modifier and Type | Method | Description |
---|---|---|
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.
|
abilities, addAbility, allAbilities, delAbility, delAllAbilities, fetchAbility, fetchAbility, fetchRandomAbility, numAbilities, numAllAbilities
addBehavior, addScript, behaviors, delAllBehaviors, delAllScripts, delBehavior, delScript, eachBehavior, eachScript, fetchBehavior, fetchBehavior, fetchScript, numBehaviors, numScripts, scripts
copyOf, ID, initializeClass, newInstance
amDead, getCombatant, getDirectionToTarget, healthText, isInCombat, killMeDead, makePeace, mayIFight, mayPhysicallyAttack, rangeToTarget, setCombatant, setRangeToTarget
canSaveDatabaseID, databaseID, setDatabaseID
addFaction, adjustFaction, copyFactions, factions, fetchFaction, fetchFactionData, fetchFactionRanges, getFactionListing, hasFaction, removeFaction
addFollower, amFollowing, amUltimatelyFollowing, delFollower, fetchFollower, fetchFollower, fetchFollowerOrder, followers, getGroupMembers, getGroupMembersAndRideables, isFollowedBy, numFollowers, setFollowing, totalFollowers
addItem, delAllItems, delItem, eachItem, findItem, findItem, findItems, findItems, getItem, getRandomItem, isContent, items, numItems
addItem, getContextName, moveItemTo, moveItemTo
addExpertise, addPriorityEffect, amActive, baseCharStats, baseState, baseWeight, bringToLife, bringToLife, charStats, clans, curState, delAllExpertises, delExpertise, dispossess, expertises, fetchExpertise, fetchFirstWornItem, fetchHeldItem, fetchItem, fetchWieldedItem, fetchWornItems, findAbility, flagVariableEq, freeWearPositions, getAbilityUsageCache, getAgeMinutes, getAttributesBitmap, getClanRole, getExperience, getExpNeededDelevel, getExpNeededLevel, getExpNextLevel, getExpPrevLevel, getLiegeID, getMoney, getMoneyVariation, getNaturalWeapon, getPeaceTime, getPractices, getQuestPoint, getRideBuddies, getStartRoom, getTrains, getVictim, getWearPositions, getWimpHitPoint, hasOnlyGoldInInventory, isAttributeSet, isMarriedToLiege, isMine, isMonster, isPlayer, isPossessing, isRacialAbility, lastTickedDateTime, location, maxCarry, maxFollowers, maxItems, maxState, numAllEffects, personalEffects, playerStats, recoverCharStats, recoverMaxState, removeFromGame, resetToMaxState, session, setAgeMinutes, setAttribute, setAttributesBitmap, setBaseCharStats, setBaseState, setClan, setExperience, setLiegeID, setLocation, setMoney, setMoneyVariation, setPlayerStats, setPractices, setQuestPoint, setSession, setSoulMate, setStartRoom, setTrains, setTriggerer, setVictim, setWimpHitPoint, soulMate, tell, tell, titledName, titledName, triggerer, willFollowOrdersOf
actions, clearCommandQueue, commandQueSize, dequeCommand, doCommand, enqueCommand, enqueCommands, getTopCommand, prequeCommand, prequeCommands, setActions
addTattoo, addTattoo, addTattoo, delTattoo, delTattoo, findTattoo, findTattooStartsWith, tattoos
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 aboutgetClericRitual()
,
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 aboutgetClericRitual()
,
getWorshipRitual()
,
addBlessing(Ability, boolean)
,
delBlessing(Ability)
,
fetchBlessing(int)
,
fetchBlessingCleric(int)
,
numBlessings()
boolean fetchBlessingCleric(int index)
index
- the index of the blessing to return info aboutgetClericRitual()
,
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 aboutgetClericRitual()
,
getWorshipRitual()
,
addBlessing(Ability, boolean)
,
delBlessing(Ability)
,
fetchBlessing(String)
,
fetchBlessing(int)
,
fetchBlessingCleric(int)
,
numBlessings()
java.lang.String getClericRitual()
Deity
,
fetchBlessing(String)
,
setClericRitual(String)
,
getClericTriggerDesc()
,
Triggerer
void setClericRitual(java.lang.String ritual)
ritual
- the coded ritual command stringDeity
,
fetchBlessing(String)
,
getClericRitual()
,
getClericTriggerDesc()
,
Triggerer
java.lang.String getClericTriggerDesc()
Deity
,
fetchBlessing(String)
,
getClericRitual()
,
setClericRitual(String)
,
Triggerer
java.lang.String getServiceRitual()
Deity
,
fetchBlessing(String)
,
setServiceRitual(String)
,
getServiceTriggerDesc()
,
Triggerer
void setServiceRitual(java.lang.String ritual)
ritual
- the coded ritual command stringDeity
,
fetchBlessing(String)
,
getServiceRitual()
,
getServiceTriggerDesc()
,
Triggerer
java.lang.String getServiceTriggerDesc()
Deity
,
fetchBlessing(String)
,
getServiceRitual()
,
setServiceRitual(String)
,
Triggerer
java.lang.String getWorshipRitual()
Deity
,
fetchBlessing(String)
,
setWorshipRitual(String)
,
getWorshipTriggerDesc()
,
Triggerer
void setWorshipRitual(java.lang.String ritual)
ritual
- the coded ritual command stringDeity
,
fetchBlessing(String)
,
getWorshipRitual()
,
getWorshipTriggerDesc()
,
Triggerer
java.lang.String getWorshipTriggerDesc()
Deity
,
fetchBlessing(String)
,
getWorshipRitual()
,
setWorshipRitual(String)
,
Triggerer
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 aboutgetClericSin()
,
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 aboutgetClericSin()
,
getWorshipSin()
,
addCurse(Ability, boolean)
,
delCurse(Ability)
,
fetchCurse(int)
,
fetchCurseCleric(int)
,
numCurses()
boolean fetchCurseCleric(int index)
index
- the index of the curse to return info aboutgetClericSin()
,
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 aboutgetClericSin()
,
getWorshipSin()
,
addCurse(Ability, boolean)
,
delCurse(Ability)
,
fetchCurse(String)
,
fetchCurse(int)
,
fetchCurseCleric(int)
,
numCurses()
java.lang.String getClericSin()
Deity
,
fetchCurse(String)
,
setClericSin(String)
,
getClericSinDesc()
,
Triggerer
void setClericSin(java.lang.String ritual)
ritual
- the coded ritual command stringDeity
,
fetchCurse(String)
,
getClericSin()
,
getClericSinDesc()
,
Triggerer
java.lang.String getClericSinDesc()
Deity
,
fetchCurse(String)
,
getClericSin()
,
setClericSin(String)
,
Triggerer
java.lang.String getWorshipSin()
Deity
,
fetchCurse(String)
,
setWorshipSin(String)
,
getWorshipSinDesc()
,
Triggerer
void setWorshipSin(java.lang.String ritual)
ritual
- the coded ritual command stringDeity
,
fetchCurse(String)
,
getWorshipSin()
,
getWorshipSinDesc()
,
Triggerer
java.lang.String getWorshipSinDesc()
Deity
,
fetchCurse(String)
,
getWorshipSin()
,
setWorshipSin(String)
,
Triggerer
void 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 returngetClericPowerup()
,
addPower(Ability)
,
delPower(Ability)
,
fetchPower(String)
,
numPowers()
Ability fetchPower(java.lang.String ID)
ID
- the Ability ID of the Ability to returngetClericPowerup()
,
addPower(Ability)
,
delPower(Ability)
,
fetchPower(String)
,
numPowers()
java.lang.String getClericPowerup()
Deity
,
fetchPower(String)
,
setClericPowerup(String)
,
getClericPowerupDesc()
,
Triggerer
void setClericPowerup(java.lang.String ritual)
ritual
- the coded ritual command stringDeity
,
fetchPower(String)
,
getClericPowerup()
,
getClericPowerupDesc()
,
Triggerer
java.lang.String getClericPowerupDesc()
Deity
,
fetchPower(String)
,
getClericPowerup()
,
setClericPowerup(String)
,
Triggerer