AbilityContainer
, Affectable
, Behavable
, CMObject
, Combatant
, Contingent
, DBIdentifiable
, Environmental
, Expireable
, FactionMember
, Followable<MOB>
, ItemCollection
, ItemPossessor
, Modifiable
, MsgListener
, MUDCmdProcessor
, Physical
, PhysicalAgent
, Rider
, StatsAffecting
, Tattooable
, Tickable
, Deity
, MOB
, java.lang.Cloneable
, java.lang.Comparable<CMObject>
GenDeity
public class StdDeity extends StdMOB implements Deity
Deity.DeityWorshipper, Deity.HolyEvent, Deity.RitualType
ItemPossessor.Expire, ItemPossessor.Find, ItemPossessor.Move
MOB.Attrib
StdMOB.ApplyAffectCharState<T extends StatsAffecting>, StdMOB.ApplyAffectCharStats<T extends StatsAffecting>, StdMOB.ApplyRecAffectPhyStats<T extends StatsAffecting>
Modifier and Type | Field | Description |
---|---|---|
protected PrioritizingLimitedMap<java.lang.String,int[]> |
blacklist |
|
protected java.util.List<com.planet_ink.coffee_mud.MOBS.StdDeity.DeityPower> |
blessings |
|
protected java.lang.String |
clericPowerup |
|
protected java.lang.String |
clericReqs |
|
protected java.lang.String |
clericRitual |
|
protected java.lang.String |
clericSin |
|
protected java.util.List<com.planet_ink.coffee_mud.MOBS.StdDeity.DeityPower> |
curses |
|
protected java.util.Set<java.lang.Integer> |
neverTriggers |
|
protected java.util.List<Ability> |
powers |
|
protected int |
rebukeCheckDown |
|
protected Triggerer |
rituals |
|
protected java.lang.String |
serviceRitual |
|
protected java.util.List<com.planet_ink.coffee_mud.MOBS.StdDeity.WorshipService> |
services |
|
protected java.lang.String |
worshipReqs |
|
protected java.lang.String |
worshipRitual |
|
protected java.lang.String |
worshipSin |
|
protected int |
xpwrath |
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
_name, abilitys, abilityUseCache, abilityUseTrig, affectCharState, affectCharStats, affectPhyStats, affects, ageMinutes, amDead, amDestroyed, amFollowing, atRange, attributesBitmap, baseCharStats, basePhyStats, baseState, behaviors, cachedImageName, charStats, clanAffects, clans, CODES, commandQue, curState, databaseID, description, displayText, experience, expertises, factions, followers, inventory, kickFlag, lastLocation, liegeID, location, maxState, me, miscText, money, moneyVariation, mySession, peaceTime, phyStats, playerStats, possHeldItem, possStartRoom, possWieldedItem, practices, questPoint, racialAffects, rawImageName, recoverAffectP, recoverTickCter, removeFromGame, riding, scripts, soulMate, speedAdj, tattoos, tickAgeCounter, tickStatus, trains, triggerer, validChkCounter, victim, wimpHitPoint, xtraValues
Constructor | Description |
---|---|
StdDeity() |
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) |
Manipulation of curse objects, which includes spells, traits, skills, etc.
|
void |
addPower(Ability to) |
Manipulation of curse objects, which includes spells, traits, skills, etc.
|
boolean |
alreadyBlessed(MOB mob) |
|
boolean |
alreadyPowered(MOB mob) |
|
protected boolean |
alreadyServiced(MOB mob,
Room room) |
|
void |
bestowBlessing(MOB mob,
Ability blessingA) |
|
void |
bestowBlessings(MOB mob) |
|
void |
bestowCurse(MOB mob,
Ability curseA) |
|
void |
bestowCurses(MOB mob) |
|
void |
bestowPower(MOB mob,
Ability Power) |
|
void |
bestowPowers(MOB mob) |
|
boolean |
cancelService(com.planet_ink.coffee_mud.MOBS.StdDeity.WorshipService service) |
|
protected void |
cloneFix(MOB E) |
|
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.
|
void |
executeMsg(Environmental myHost,
CMMsg msg) |
The general message event handler for the object.
|
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.
|
com.planet_ink.coffee_mud.MOBS.StdDeity.WorshipService |
findService(MOB mob,
Room room) |
|
boolean |
finishService(MOB mob,
Room room) |
|
protected int[] |
getBlackmarks(MOB M) |
|
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.
|
java.lang.String |
ID() |
The CoffeeMud Java Class ID shared by all instances of
this object.
|
CMObject |
newInstance() |
Returns a new instance of this class.
|
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.
|
boolean |
okMessage(Environmental myHost,
CMMsg msg) |
The general message event previewer for the object.
|
void |
recoverCharStats() |
Causes this mob to recalculate its current char stats by copying the base stats
over and then calling all equipment and spell effects to modify them.
|
void |
removeBlessings(MOB mob) |
|
void |
removePowers(MOB mob) |
|
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 |
setName(java.lang.String name) |
Sets the raw unmodified name of this object as stored in the database.
|
protected void |
setRitual(Deity.RitualType type,
java.lang.String ritual) |
|
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.
|
protected void |
startServiceIfNecessary(MOB mob,
Room room) |
|
boolean |
tick(Tickable ticking,
int tickID) |
this is the method which is called periodically by the threading engine.
|
protected void |
undoService(java.util.List<MOB> V) |
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, initializeClass
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, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abilities, actions, addAbility, addBehavior, addEffect, addExpertise, addFaction, addFollower, addItem, addItem, addNonUninvokableEffect, addPriorityEffect, addScript, addTattoo, addTattoo, addTattoo, adjustFaction, affectCharState, affectCharStats, affectPhyStats, allAbilities, amActive, amDead, amDestroyed, amFollowing, amUltimatelyFollowing, baseCharStats, basePhyStats, baseState, baseWeight, behaviors, bringToLife, bringToLife, calculateActionCost, canSaveDatabaseID, charStats, checkCommandCancel, clanEffects, clans, clearCommandQueue, commandQueSize, compareTo, confirmLocation, copyFactions, copyOf, counItemsWornAt, curState, databaseID, delAbility, delAllAbilities, delAllBehaviors, delAllEffects, delAllExpertises, delAllItems, delAllScripts, delBehavior, delEffect, delExpertise, delFollower, delItem, delScript, delTattoo, delTattoo, dequeCommand, description, description, destroy, displayText, displayText, dispossess, doCommand, doCommand, eachBehavior, eachEffect, eachItem, eachScript, effects, enqueCommand, enqueCommands, expertises, expirationDate, factions, fetchAbility, fetchAbility, fetchBehavior, fetchBehavior, fetchEffect, fetchEffect, fetchExpertise, fetchFaction, fetchFactionData, fetchFactionRanges, fetchFirstWornItem, fetchFollower, fetchFollower, fetchFollowerOrder, fetchFromInventory, fetchHeldItem, fetchItem, fetchRandomAbility, fetchScript, fetchWieldedItem, fetchWornItems, findAbility, findItem, findItem, findItems, findItems, findTattoo, findTattooStartsWith, fixChannelColors, flagVariableEq, followers, freeWearPositions, genericName, getAbilityUsageCache, getAgeMinutes, getAttributesBitmap, getClanRole, getCodeNum, getCombatant, getContextName, getDirectionToTarget, getExperience, getExpNeededDelevel, getExpNeededLevel, getExpNextLevel, getExpPrevLevel, getFactionListing, getGroupMembers, getGroupMembersAndRideables, getItem, getLiegeID, getMoney, getMoneyVariation, getNaturalWeapon, getPeaceTime, getPractices, getQuestPoint, getRandomItem, getRideBuddies, getSaveStatIndex, getStartRoom, getStat, getStatCodes, getTickStatus, getTopCommand, getTrains, getVictim, getWearPositions, getWimpHitPoint, hasFaction, hasOnlyGoldInInventory, healthText, image, initializeClass, isAttributeSet, isContent, isEitherOfUsDead, isFollowedBy, isGeneric, isInCombat, isMarriedToLiege, isMine, isMonster, isPermissableToFight, isPlayer, isPossessing, isRacialAbility, isSavable, isStat, items, killMeDead, L, lastTickedDateTime, location, makePeace, maxCarry, maxFollowers, maxItems, maxRange, maxState, mayIFight, mayPhysicallyAttack, minRange, miscTextFormat, moveItemTo, moveItemTo, name, name, Name, numAbilities, numAllAbilities, numAllEffects, numBehaviors, numEffects, numFollowers, numItems, numScripts, personalEffects, phyStats, playerStats, prequeCommand, prequeCommands, racialEffects, rangeToTarget, rawImage, recoverMaxState, recoverPhyStats, removeFaction, removeFromGame, resetToMaxState, riding, sameAs, scripts, session, setActions, setAgeMinutes, setAttribute, setAttributesBitmap, setBaseCharStats, setBasePhyStats, setBaseState, setClan, setCombatant, setDatabaseID, setDescription, setDestroyed, setDisplayText, setExperience, setExpirationDate, setFollowing, setImage, setLiegeID, setLocation, setMiscText, setMoney, setMoneyVariation, setPlayerStats, setPractices, setQuestPoint, setRangeToTarget, setRiding, setSavable, setSession, setSoulMate, setStartRoom, setStat, setTrains, setTriggerer, setVictim, setWimpHitPoint, soulMate, tattoos, tell, tell, text, titledName, titledName, totalFollowers, triggerer, willFollowOrdersOf
addTattoo, addTattoo, addTattoo, delTattoo, delTattoo, findTattoo, findTattooStartsWith, tattoos
protected int xpwrath
protected java.lang.String clericReqs
protected java.lang.String worshipReqs
protected java.lang.String serviceRitual
protected java.lang.String clericRitual
protected java.lang.String clericSin
protected java.lang.String clericPowerup
protected java.lang.String worshipRitual
protected java.lang.String worshipSin
protected int rebukeCheckDown
protected final PrioritizingLimitedMap<java.lang.String,int[]> blacklist
protected Triggerer rituals
protected java.util.List<com.planet_ink.coffee_mud.MOBS.StdDeity.WorshipService> services
protected java.util.List<com.planet_ink.coffee_mud.MOBS.StdDeity.DeityPower> blessings
protected java.util.List<com.planet_ink.coffee_mud.MOBS.StdDeity.DeityPower> curses
protected java.util.List<Ability> powers
protected final java.util.Set<java.lang.Integer> neverTriggers
public java.lang.String ID()
CMObject
public CMObject newInstance()
CMObject
newInstance
in interface CMObject
newInstance
in class StdMOB
public java.lang.String getClericRequirements()
Deity
getClericRequirements
in interface Deity
MaskingLibrary
,
Deity.setClericRequirements(String)
,
Deity.getClericRequirementsDesc()
public void setClericRequirements(java.lang.String reqs)
Deity
setClericRequirements
in interface Deity
reqs
- the Zapper Mask string that defines the requirementsMaskingLibrary
,
Deity.getClericRequirements()
,
Deity.getClericRequirementsDesc()
public java.lang.String getWorshipRequirements()
Deity
getWorshipRequirements
in interface Deity
MaskingLibrary
,
Deity.setWorshipRequirements(String)
,
Deity.getWorshipRequirementsDesc()
public void setWorshipRequirements(java.lang.String reqs)
Deity
setWorshipRequirements
in interface Deity
reqs
- the Zapper Mask string that defines the requirementsMaskingLibrary
,
Deity.getWorshipRequirements()
,
Deity.getWorshipRequirementsDesc()
public java.lang.String getClericRitual()
Deity
getClericRitual
in interface Deity
Deity
,
Deity.fetchBlessing(String)
,
Deity.setClericRitual(String)
,
Deity.getClericTriggerDesc()
,
Triggerer
protected void setRitual(Deity.RitualType type, java.lang.String ritual)
public void setClericRitual(java.lang.String ritual)
Deity
setClericRitual
in interface Deity
ritual
- the coded ritual command stringDeity
,
Deity.fetchBlessing(String)
,
Deity.getClericRitual()
,
Deity.getClericTriggerDesc()
,
Triggerer
public void setName(java.lang.String name)
Environmental
setName
in interface Environmental
setName
in class StdMOB
name
- the raw base name of this object on the map.Environmental.Name()
public java.lang.String getWorshipRitual()
Deity
getWorshipRitual
in interface Deity
Deity
,
Deity.fetchBlessing(String)
,
Deity.setWorshipRitual(String)
,
Deity.getWorshipTriggerDesc()
,
Triggerer
public void setWorshipRitual(java.lang.String ritual)
Deity
setWorshipRitual
in interface Deity
ritual
- the coded ritual command stringDeity
,
Deity.fetchBlessing(String)
,
Deity.getWorshipRitual()
,
Deity.getWorshipTriggerDesc()
,
Triggerer
public java.lang.String getServiceRitual()
Deity
getServiceRitual
in interface Deity
Deity
,
Deity.fetchBlessing(String)
,
Deity.setServiceRitual(String)
,
Deity.getServiceTriggerDesc()
,
Triggerer
public void setServiceRitual(java.lang.String ritual)
Deity
setServiceRitual
in interface Deity
ritual
- the coded ritual command stringDeity
,
Deity.fetchBlessing(String)
,
Deity.getServiceRitual()
,
Deity.getServiceTriggerDesc()
,
Triggerer
public java.lang.String getClericRequirementsDesc()
Deity
getClericRequirementsDesc
in interface Deity
Deity.setClericRequirements(String)
,
Deity.getClericRequirements()
public java.lang.String getClericTriggerDesc()
Deity
getClericTriggerDesc
in interface Deity
Deity
,
Deity.fetchBlessing(String)
,
Deity.getClericRitual()
,
Deity.setClericRitual(String)
,
Triggerer
public java.lang.String getWorshipRequirementsDesc()
Deity
getWorshipRequirementsDesc
in interface Deity
Deity.setWorshipRequirements(String)
,
Deity.getWorshipRequirements()
public java.lang.String getWorshipTriggerDesc()
Deity
getWorshipTriggerDesc
in interface Deity
Deity
,
Deity.fetchBlessing(String)
,
Deity.getWorshipRitual()
,
Deity.setWorshipRitual(String)
,
Triggerer
public java.lang.String getServiceTriggerDesc()
Deity
getServiceTriggerDesc
in interface Deity
Deity
,
Deity.fetchBlessing(String)
,
Deity.getServiceRitual()
,
Deity.setServiceRitual(String)
,
Triggerer
public boolean okMessage(Environmental myHost, CMMsg msg)
MsgListener
okMessage
in interface MsgListener
okMessage
in class StdMOB
myHost
- either the initiator of the event, or the host of this objectmsg
- the CMMsg that wants to be executedCMMsg
,
CMMsg.source()
public void bestowBlessings(MOB mob)
public void bestowPowers(MOB mob)
public void bestowCurses(MOB mob)
public void removeBlessings(MOB mob)
public void removePowers(MOB mob)
public boolean alreadyBlessed(MOB mob)
public boolean alreadyPowered(MOB mob)
public void recoverCharStats()
MOB
recoverCharStats
in interface MOB
recoverCharStats
in class StdMOB
MOB.baseCharStats()
,
MOB.charStats()
,
MOB.setBaseCharStats(CharStats)
public void executeMsg(Environmental myHost, CMMsg msg)
MsgListener
executeMsg
in interface MsgListener
executeMsg
in class StdMOB
myHost
- either the initiator of the event, or the host of this objectmsg
- the CMMsg that needs to be executedCMMsg
protected void undoService(java.util.List<MOB> V)
public com.planet_ink.coffee_mud.MOBS.StdDeity.WorshipService findService(MOB mob, Room room)
public boolean cancelService(com.planet_ink.coffee_mud.MOBS.StdDeity.WorshipService service)
protected int[] getBlackmarks(MOB M)
public boolean tick(Tickable ticking, int tickID)
Tickable
tick
in interface Tickable
tick
in class StdMOB
ticking
- a reference to this Tickable objecttickID
- the TICKID_ constant describing this periodic call, as defined in TickableTickable
,
ServiceEngine
,
TickableGroup
public void addBlessing(Ability to, boolean clericOnly)
Deity
addBlessing
in interface Deity
to
- the blessing ability objectclericOnly
- true if its only for clerics, false if for everyoneDeity.getClericRitual()
,
Deity.getWorshipRitual()
,
Deity.delBlessing(Ability)
,
Deity.numBlessings()
,
Deity.fetchBlessing(String)
,
Deity.fetchBlessingCleric(int)
,
Deity.fetchBlessing(int)
public void delBlessing(Ability to)
Deity
delBlessing
in interface Deity
to
- the blessing ability objectDeity.getClericRitual()
,
Deity.getWorshipRitual()
,
Deity.addBlessing(Ability, boolean)
,
Deity.numBlessings()
,
Deity.fetchBlessing(String)
,
Deity.fetchBlessingCleric(int)
,
Deity.fetchBlessing(int)
public int numBlessings()
Deity
numBlessings
in interface Deity
Deity.getClericRitual()
,
Deity.getWorshipRitual()
,
Deity.addBlessing(Ability, boolean)
,
Deity.delBlessing(Ability)
,
Deity.fetchBlessing(String)
,
Deity.fetchBlessingCleric(int)
,
Deity.fetchBlessing(int)
public Ability fetchBlessing(int index)
Deity
fetchBlessing
in interface Deity
index
- the index of the blessing to return info aboutDeity.getClericRitual()
,
Deity.getWorshipRitual()
,
Deity.addBlessing(Ability, boolean)
,
Deity.delBlessing(Ability)
,
Deity.fetchBlessing(String)
,
Deity.fetchBlessingCleric(int)
,
Deity.numBlessings()
public boolean fetchBlessingCleric(int index)
Deity
fetchBlessingCleric
in interface Deity
index
- the index of the blessing to return info aboutDeity.getClericRitual()
,
Deity.getWorshipRitual()
,
Deity.addBlessing(Ability, boolean)
,
Deity.delBlessing(Ability)
,
Deity.fetchBlessing(String)
,
Deity.fetchBlessing(int)
,
Deity.fetchBlessingCleric(String)
,
Deity.numBlessings()
public boolean fetchBlessingCleric(java.lang.String ID)
Deity
fetchBlessingCleric
in interface Deity
ID
- the ability id of the blessing to return info aboutDeity.getClericRitual()
,
Deity.getWorshipRitual()
,
Deity.addBlessing(Ability, boolean)
,
Deity.delBlessing(Ability)
,
Deity.fetchBlessing(String)
,
Deity.fetchBlessing(int)
,
Deity.fetchBlessingCleric(int)
,
Deity.numBlessings()
public Ability fetchBlessing(java.lang.String ID)
Deity
fetchBlessing
in interface Deity
ID
- the Ability ID of the blessing to return info aboutDeity.getClericRitual()
,
Deity.getWorshipRitual()
,
Deity.addBlessing(Ability, boolean)
,
Deity.delBlessing(Ability)
,
Deity.fetchBlessing(int)
,
Deity.fetchBlessingCleric(int)
,
Deity.numBlessings()
public void addCurse(Ability to, boolean clericOnly)
addCurse
in interface Deity
to
- the curse ability objectclericOnly
- true if its only for clerics, false if for everyoneDeity.getClericSin()
,
Deity.getWorshipSin()
,
Deity.delCurse(Ability)
,
Deity.numCurses()
,
Deity.fetchCurse(String)
,
Deity.fetchCurseCleric(int)
,
Deity.fetchCurse(int)
public void delCurse(Ability to)
Deity
delCurse
in interface Deity
to
- the curse ability objectDeity.getClericSin()
,
Deity.getWorshipSin()
,
Deity.addCurse(Ability, boolean)
,
Deity.numCurses()
,
Deity.fetchCurse(String)
,
Deity.fetchCurseCleric(int)
,
Deity.fetchCurse(int)
public int numCurses()
Deity
numCurses
in interface Deity
Deity.getClericSin()
,
Deity.getWorshipSin()
,
Deity.addCurse(Ability, boolean)
,
Deity.delCurse(Ability)
,
Deity.fetchCurse(String)
,
Deity.fetchCurseCleric(int)
,
Deity.fetchCurse(int)
public Ability fetchCurse(int index)
Deity
fetchCurse
in interface Deity
index
- the index of the curse to return info aboutDeity.getClericSin()
,
Deity.getWorshipSin()
,
Deity.addCurse(Ability, boolean)
,
Deity.delCurse(Ability)
,
Deity.fetchCurse(String)
,
Deity.fetchCurseCleric(int)
,
Deity.numCurses()
public Ability fetchCurse(java.lang.String ID)
Deity
fetchCurse
in interface Deity
ID
- the Ability ID of the curse to return info aboutDeity.getClericSin()
,
Deity.getWorshipSin()
,
Deity.addCurse(Ability, boolean)
,
Deity.delCurse(Ability)
,
Deity.fetchCurse(int)
,
Deity.fetchCurseCleric(int)
,
Deity.numCurses()
public boolean fetchCurseCleric(int index)
Deity
fetchCurseCleric
in interface Deity
index
- the index of the curse to return info aboutDeity.getClericSin()
,
Deity.getWorshipSin()
,
Deity.addCurse(Ability, boolean)
,
Deity.delCurse(Ability)
,
Deity.fetchCurse(String)
,
Deity.fetchCurse(int)
,
Deity.fetchCurseCleric(String)
,
Deity.numCurses()
public boolean fetchCurseCleric(java.lang.String ID)
Deity
fetchCurseCleric
in interface Deity
ID
- the ability id of the curse to return info aboutDeity.getClericSin()
,
Deity.getWorshipSin()
,
Deity.addCurse(Ability, boolean)
,
Deity.delCurse(Ability)
,
Deity.fetchCurse(String)
,
Deity.fetchCurse(int)
,
Deity.fetchCurseCleric(int)
,
Deity.numCurses()
public java.lang.String getClericSin()
Deity
getClericSin
in interface Deity
Deity
,
Deity.fetchCurse(String)
,
Deity.setClericSin(String)
,
Deity.getClericSinDesc()
,
Triggerer
public void setClericSin(java.lang.String ritual)
Deity
setClericSin
in interface Deity
ritual
- the coded ritual command stringDeity
,
Deity.fetchCurse(String)
,
Deity.getClericSin()
,
Deity.getClericSinDesc()
,
Triggerer
public java.lang.String getClericSinDesc()
Deity
getClericSinDesc
in interface Deity
Deity
,
Deity.fetchCurse(String)
,
Deity.getClericSin()
,
Deity.setClericSin(String)
,
Triggerer
public java.lang.String getWorshipSin()
Deity
getWorshipSin
in interface Deity
Deity
,
Deity.fetchCurse(String)
,
Deity.setWorshipSin(String)
,
Deity.getWorshipSinDesc()
,
Triggerer
public void setWorshipSin(java.lang.String ritual)
Deity
setWorshipSin
in interface Deity
ritual
- the coded ritual command stringDeity
,
Deity.fetchCurse(String)
,
Deity.getWorshipSin()
,
Deity.getWorshipSinDesc()
,
Triggerer
public java.lang.String getWorshipSinDesc()
Deity
getWorshipSinDesc
in interface Deity
Deity
,
Deity.fetchCurse(String)
,
Deity.getWorshipSin()
,
Deity.setWorshipSin(String)
,
Triggerer
public void addPower(Ability to)
addPower
in interface Deity
to
- the power up ability objectDeity.getClericPowerup()
,
Deity.delPower(Ability)
,
Deity.numPowers()
,
Deity.fetchPower(String)
,
Deity.fetchPower(int)
public void delPower(Ability to)
Deity
delPower
in interface Deity
to
- the power up ability object to removeDeity.getClericPowerup()
,
Deity.addPower(Ability)
,
Deity.numPowers()
,
Deity.fetchPower(String)
,
Deity.fetchPower(int)
public int numPowers()
Deity
numPowers
in interface Deity
Deity.getClericPowerup()
,
Deity.addPower(Ability)
,
Deity.delPower(Ability)
,
Deity.fetchPower(String)
,
Deity.fetchPower(int)
public Ability fetchPower(int index)
Deity
fetchPower
in interface Deity
index
- the index of the Ability to returnDeity.getClericPowerup()
,
Deity.addPower(Ability)
,
Deity.delPower(Ability)
,
Deity.fetchPower(String)
,
Deity.numPowers()
public Ability fetchPower(java.lang.String ID)
Deity
fetchPower
in interface Deity
ID
- the Ability ID of the Ability to returnDeity.getClericPowerup()
,
Deity.addPower(Ability)
,
Deity.delPower(Ability)
,
Deity.fetchPower(String)
,
Deity.numPowers()
public java.lang.String getClericPowerup()
Deity
getClericPowerup
in interface Deity
Deity
,
Deity.fetchPower(String)
,
Deity.setClericPowerup(String)
,
Deity.getClericPowerupDesc()
,
Triggerer
public void setClericPowerup(java.lang.String ritual)
Deity
setClericPowerup
in interface Deity
ritual
- the coded ritual command stringDeity
,
Deity.fetchPower(String)
,
Deity.getClericPowerup()
,
Deity.getClericPowerupDesc()
,
Triggerer
public java.lang.String getClericPowerupDesc()
Deity
getClericPowerupDesc
in interface Deity
Deity
,
Deity.fetchPower(String)
,
Deity.getClericPowerup()
,
Deity.setClericPowerup(String)
,
Triggerer