com.planet_ink.coffee_mud.MOBS
Class StdDeity
java.lang.Object
com.planet_ink.coffee_mud.MOBS.StdMOB
com.planet_ink.coffee_mud.MOBS.StdDeity
- All Implemented Interfaces:
- Affectable, Behavable, CMObject, Contingent, DBIdentifiable, Environmental, ItemPossessor, Modifiable, MsgListener, Physical, PhysicalAgent, Rider, StatsAffecting, Tickable, Deity, MOB, java.lang.Cloneable, java.lang.Comparable<CMObject>
- Direct Known Subclasses:
- GenDeity
public class StdDeity
- extends StdMOB
- implements Deity
| Fields inherited from class com.planet_ink.coffee_mud.MOBS.StdMOB |
abilitys, affects, ageHours, amDead, amDestroyed, amFollowing, atRange, attributesBitmap, baseCharStats, basePhyStats, baseState, behaviors, cachedClan, cachedImageName, charStats, clanAffects, clanID, clanRole, CODES, commandQue, curState, databaseID, description, displayText, experience, expertises, factions, followers, imMobile, inventory, kickFlag, lastLocation, liegeID, location, maxState, miscText, money, moneyVariation, mySession, peaceTime, phyStats, playerStats, pleaseDestroy, possibleWeaponIndex, practices, questPoint, racialAffects, rawImageName, recoverTickCounter, riding, scripts, soulMate, startRoomPossibly, tattoos, tickCounter, tickStatus, trains, username, victim, wimpHitPoint, worshipCharID, xtraValues |
| Fields inherited from interface com.planet_ink.coffee_mud.MOBS.interfaces.MOB |
ATT_ANSI, ATT_AUTOASSIST, ATT_AUTODRAW, ATT_AUTOEXITS, ATT_AUTOFORWARD, ATT_AUTOGOLD, ATT_AUTOGUARD, ATT_AUTOIMPROVE, ATT_AUTOLOOT, ATT_AUTOMELEE, ATT_AUTONOTIFY, ATT_AUTORUN, ATT_AUTOWEATHER, ATT_BRIEF, ATT_COMPRESS, ATT_DAILYMESSAGE, ATT_MXP, ATT_NOFOLLOW, ATT_NOTEACH, ATT_PLAYERKILL, ATT_QUIET, ATT_SOUND, ATT_SYSOPMSGS, AUTODESC, AUTOREV, END_SHEATH_TIME, START_SHEATH_TIME |
|
Method Summary |
void |
addBlessing(Ability to,
boolean clericOnly)
Manipulation of blessing objects, which includes spells, traits, skills, etc. |
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 Blessing)
|
void |
bestowBlessings(MOB mob)
|
void |
bestowCurse(MOB mob,
Ability Curse)
|
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)
|
void |
delCurse(Ability to)
|
void |
delPower(Ability to)
|
void |
executeMsg(Environmental myHost,
CMMsg msg)
The general message event handler for the object. |
Ability |
fetchBlessing(int index)
|
Ability |
fetchBlessing(java.lang.String ID)
|
boolean |
fetchBlessingCleric(int index)
|
boolean |
fetchBlessingCleric(java.lang.String ID)
|
Ability |
fetchCurse(int index)
|
Ability |
fetchCurse(java.lang.String ID)
|
boolean |
fetchCurseCleric(int index)
|
boolean |
fetchCurseCleric(java.lang.String ID)
|
Ability |
fetchPower(int index)
|
Ability |
fetchPower(java.lang.String ID)
|
boolean |
finishService(MOB mob,
Room room)
|
java.lang.String |
getClericPowerup()
|
java.lang.String |
getClericPowerupDesc()
|
java.lang.String |
getClericRequirements()
|
java.lang.String |
getClericRequirementsDesc()
|
java.lang.String |
getClericRitual()
|
java.lang.String |
getClericSin()
|
java.lang.String |
getClericSinDesc()
|
java.lang.String |
getClericTriggerDesc()
|
java.lang.String |
getServiceRitual()
|
java.lang.String |
getServiceTriggerDesc()
|
java.lang.String |
getTriggerDesc(java.util.List<StdDeity.DeityTrigger> V)
|
java.lang.String |
getWorshipRequirements()
|
java.lang.String |
getWorshipRequirementsDesc()
|
java.lang.String |
getWorshipRitual()
|
java.lang.String |
getWorshipSin()
|
java.lang.String |
getWorshipSinDesc()
|
java.lang.String |
getWorshipTriggerDesc()
|
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of
this object. |
int |
numBlessings()
|
int |
numCurses()
|
int |
numPowers()
|
boolean |
okMessage(Environmental myHost,
CMMsg msg)
The general message event previewer for the object. |
protected void |
parseTriggers(java.util.List<StdDeity.DeityTrigger> putHere,
java.lang.String trigger)
|
void |
removeBlessings(MOB mob)
|
void |
removePowers(MOB mob)
|
void |
setClericPowerup(java.lang.String ritual)
|
void |
setClericRequirements(java.lang.String reqs)
|
void |
setClericRitual(java.lang.String ritual)
|
void |
setClericSin(java.lang.String ritual)
|
void |
setServiceRitual(java.lang.String ritual)
|
void |
setWorshipRequirements(java.lang.String reqs)
|
void |
setWorshipRitual(java.lang.String ritual)
|
void |
setWorshipSin(java.lang.String ritual)
|
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. |
boolean |
triggerCheck(CMMsg msg,
java.util.List<StdDeity.DeityTrigger> V,
java.util.Map<java.lang.String,boolean[]> trigParts,
java.util.Map<java.lang.String,java.lang.Long> trigTimes)
|
protected void |
undoService(java.util.List<MOB> V)
|
| Methods inherited from class com.planet_ink.coffee_mud.MOBS.StdMOB |
abilities, actions, addAbility, addBehavior, addEffect, addExpertise, addFaction, addFollower, addItem, addItem, addNonUninvokableEffect, addPriorityEffect, addScript, addTattoo, adjustFaction, affectCharState, affectCharStats, affectPhyStats, amActive, amDead, amDestroyed, amFollowing, amUltimatelyFollowing, baseCharStats, basePhyStats, baseState, baseWeight, behaviors, bringToLife, bringToLife, calculateTickDelay, canSaveDatabaseID, charStats, clanEffects, commandQueSize, compareTo, copyFactions, copyOf, curState, databaseID, delAbility, delBehavior, delEffect, delExpertise, delFollower, delItem, delScript, delTattoo, dequeCommand, description, destroy, displayName, displayText, displayText, dispossess, doCommand, doCommand, effects, enqueCommand, expirationDate, fetchAbility, fetchAbility, fetchBehavior, fetchBehavior, fetchCarried, fetchEffect, fetchEffect, fetchExpertise, fetchExpertise, fetchFaction, fetchFactionRanges, fetchFactions, fetchFirstWornItem, fetchFollower, fetchFollower, fetchFollowerOrder, fetchFromInventory, fetchScript, fetchWieldedItem, fetchWornItem, fetchWornItems, findAbility, findItem, findItem, findItems, findItems, findTattoo, flagVariableEq, followers, freeWearPositions, genericName, getAgeHours, getBitmap, getClanID, getClanRole, getCodeNum, getExperience, getExpNeededDelevel, getExpNeededLevel, getExpNextLevel, getExpPrevLevel, getFactionListing, getGroupMembers, getItem, getLiegeID, getMoney, getMoneyVariation, getMyClan, getMyDeity, getPractices, getQuestPoint, getRideBuddies, getSaveStatIndex, getStartRoom, getStat, getStatCodes, getTickStatus, getTrains, getVictim, getWearPositions, getWimpHitPoint, getWorshipCharID, hasFaction, hasOnlyGoldInInventory, healthText, image, initializeClass, isContent, isFollowedBy, isGeneric, isInCombat, isMarriedToLiege, isMine, isMonster, isPossessing, isSavable, isStat, items, killMeDead, lastTickedDateTime, location, makePeace, maxCarry, maxFollowers, maxItems, maxRange, maxRange, maxState, mayIFight, mayPhysicallyAttack, minRange, minRange, miscTextFormat, moveItemTo, moveItemTo, myNaturalWeapon, name, Name, newInstance, numAbilities, numAllEffects, numBehaviors, numEffects, numExpertises, numFollowers, numItems, numLearnedAbilities, numScripts, peaceTime, personalEffects, phyStats, playerStats, prequeCommand, racialEffects, rangeToTarget, rawImage, recoverCharStats, recoverMaxState, recoverPhyStats, removeFaction, removeFromGame, resetToMaxState, riding, sameAs, scripts, session, setActions, setAgeHours, setAtRange, setBaseCharStats, setBasePhyStats, setBaseState, setBitmap, setClanID, setClanRole, setDatabaseID, setDescription, setDisplayText, setExperience, setExpirationDate, setExpNextLevel, setFollowing, setImage, setLiegeID, setLocation, setMiscText, setMoney, setMoneyVariation, setName, setPlayerStats, setPractices, setQuestPoint, setRiding, setSavable, setSession, setSoulMate, setStartRoom, setStat, setTrains, setVictim, setWimpHitPoint, setWorshipCharID, soulMate, tattoos, tell, tell, text, titledName, totalFollowers, uniqueExpertises, willFollowOrdersOf |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.planet_ink.coffee_mud.MOBS.interfaces.MOB |
abilities, actions, addAbility, addExpertise, addFaction, addFollower, addPriorityEffect, addTattoo, adjustFaction, amActive, amDead, amFollowing, amUltimatelyFollowing, baseCharStats, baseState, baseWeight, bringToLife, bringToLife, charStats, commandQueSize, copyFactions, curState, delAbility, delExpertise, delFollower, delTattoo, dequeCommand, displayName, displayText, dispossess, doCommand, enqueCommand, fetchAbility, fetchAbility, fetchCarried, fetchExpertise, fetchExpertise, fetchFaction, fetchFactionRanges, fetchFactions, fetchFirstWornItem, fetchFollower, fetchFollower, fetchFollowerOrder, fetchFromInventory, fetchWieldedItem, fetchWornItem, fetchWornItems, findAbility, findTattoo, flagVariableEq, followers, freeWearPositions, genericName, getAgeHours, getBitmap, getClanID, getClanRole, getExperience, getExpNeededDelevel, getExpNeededLevel, getExpNextLevel, getExpPrevLevel, getFactionListing, getGroupMembers, getLiegeID, getMoney, getMoneyVariation, getMyClan, getMyDeity, getPractices, getQuestPoint, getRideBuddies, getStartRoom, getTrains, getVictim, getWearPositions, getWimpHitPoint, getWorshipCharID, hasFaction, hasOnlyGoldInInventory, healthText, isFollowedBy, isInCombat, isMarriedToLiege, isMine, isMonster, isPossessing, killMeDead, lastTickedDateTime, location, makePeace, maxCarry, maxFollowers, maxItems, maxRange, maxState, mayIFight, mayPhysicallyAttack, minRange, myNaturalWeapon, numAbilities, numAllEffects, numExpertises, numFollowers, numLearnedAbilities, peaceTime, personalEffects, playerStats, prequeCommand, rangeToTarget, recoverCharStats, recoverMaxState, removeFaction, removeFromGame, resetToMaxState, session, setActions, setAgeHours, setAtRange, setBaseCharStats, setBaseState, setBitmap, setClanID, setClanRole, setExperience, setExpNextLevel, setFollowing, setLiegeID, setLocation, setMoney, setMoneyVariation, setPlayerStats, setPractices, setQuestPoint, setSession, setSoulMate, setStartRoom, setTrains, setVictim, setWimpHitPoint, setWorshipCharID, soulMate, tattoos, tell, tell, titledName, totalFollowers, uniqueExpertises, willFollowOrdersOf |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.ItemPossessor |
addItem, addItem, delItem, findItem, findItem, findItems, findItems, getItem, isContent, items, moveItemTo, moveItemTo, numItems |
| Methods inherited from interface java.lang.Comparable |
compareTo |
xpwrath
protected int xpwrath
clericReqs
protected java.lang.String clericReqs
worshipReqs
protected java.lang.String worshipReqs
serviceRitual
protected java.lang.String serviceRitual
clericRitual
protected java.lang.String clericRitual
clericSin
protected java.lang.String clericSin
clericPowerup
protected java.lang.String clericPowerup
worshipRitual
protected java.lang.String worshipRitual
worshipSin
protected java.lang.String worshipSin
rebukeCheckDown
protected int rebukeCheckDown
norecurse
protected boolean norecurse
blacklist
protected MOB blacklist
blackmarks
protected int blackmarks
lastBlackmark
protected long lastBlackmark
worshipTriggers
protected java.util.List<StdDeity.DeityTrigger> worshipTriggers
worshipCurseTriggers
protected java.util.List<StdDeity.DeityTrigger> worshipCurseTriggers
clericTriggers
protected java.util.List<StdDeity.DeityTrigger> clericTriggers
serviceTriggers
protected java.util.List<StdDeity.DeityTrigger> serviceTriggers
clericPowerTriggers
protected java.util.List<StdDeity.DeityTrigger> clericPowerTriggers
clericCurseTriggers
protected java.util.List<StdDeity.DeityTrigger> clericCurseTriggers
blessings
protected java.util.List<com.planet_ink.coffee_mud.MOBS.StdDeity.DeityPower> blessings
curses
protected java.util.List<com.planet_ink.coffee_mud.MOBS.StdDeity.DeityPower> curses
powers
protected java.util.List<Ability> powers
trigBlessingParts
protected java.util.Map<java.lang.String,boolean[]> trigBlessingParts
trigBlessingTimes
protected java.util.Map<java.lang.String,java.lang.Long> trigBlessingTimes
trigPowerParts
protected java.util.Map<java.lang.String,boolean[]> trigPowerParts
trigPowerTimes
protected java.util.Map<java.lang.String,java.lang.Long> trigPowerTimes
trigCurseParts
protected java.util.Map<java.lang.String,boolean[]> trigCurseParts
trigCurseTimes
protected java.util.Map<java.lang.String,java.lang.Long> trigCurseTimes
trigServiceParts
protected java.util.Map<java.lang.String,boolean[]> trigServiceParts
trigServiceTimes
protected java.util.Map<java.lang.String,java.lang.Long> trigServiceTimes
services
protected java.util.List<com.planet_ink.coffee_mud.MOBS.StdDeity.WorshipService> services
waitingFor
protected java.util.List<MOB> waitingFor
TRIGGER_SAY
protected static final int TRIGGER_SAY
- See Also:
- Constant Field Values
TRIGGER_TIME
protected static final int TRIGGER_TIME
- See Also:
- Constant Field Values
TRIGGER_PUTTHING
protected static final int TRIGGER_PUTTHING
- See Also:
- Constant Field Values
TRIGGER_BURNTHING
protected static final int TRIGGER_BURNTHING
- See Also:
- Constant Field Values
TRIGGER_EAT
protected static final int TRIGGER_EAT
- See Also:
- Constant Field Values
TRIGGER_DRINK
protected static final int TRIGGER_DRINK
- See Also:
- Constant Field Values
TRIGGER_INROOM
protected static final int TRIGGER_INROOM
- See Also:
- Constant Field Values
TRIGGER_RIDING
protected static final int TRIGGER_RIDING
- See Also:
- Constant Field Values
TRIGGER_CAST
protected static final int TRIGGER_CAST
- See Also:
- Constant Field Values
TRIGGER_EMOTE
protected static final int TRIGGER_EMOTE
- See Also:
- Constant Field Values
TRIGGER_PUTVALUE
protected static final int TRIGGER_PUTVALUE
- See Also:
- Constant Field Values
TRIGGER_PUTMATERIAL
protected static final int TRIGGER_PUTMATERIAL
- See Also:
- Constant Field Values
TRIGGER_BURNMATERIAL
protected static final int TRIGGER_BURNMATERIAL
- See Also:
- Constant Field Values
TRIGGER_BURNVALUE
protected static final int TRIGGER_BURNVALUE
- See Also:
- Constant Field Values
TRIGGER_SITTING
protected static final int TRIGGER_SITTING
- See Also:
- Constant Field Values
TRIGGER_STANDING
protected static final int TRIGGER_STANDING
- See Also:
- Constant Field Values
TRIGGER_SLEEPING
protected static final int TRIGGER_SLEEPING
- See Also:
- Constant Field Values
TRIGGER_READING
protected static final int TRIGGER_READING
- See Also:
- Constant Field Values
TRIGGER_RANDOM
protected static final int TRIGGER_RANDOM
- See Also:
- Constant Field Values
TRIGGER_CHECK
protected static final int TRIGGER_CHECK
- See Also:
- Constant Field Values
TRIGGER_WAIT
protected static final int TRIGGER_WAIT
- See Also:
- Constant Field Values
TRIGGER_YOUSAY
protected static final int TRIGGER_YOUSAY
- See Also:
- Constant Field Values
TRIGGER_OTHERSAY
protected static final int TRIGGER_OTHERSAY
- See Also:
- Constant Field Values
TRIGGER_ALLSAY
protected static final int TRIGGER_ALLSAY
- See Also:
- Constant Field Values
TRIG_WATCH
protected static final int[] TRIG_WATCH
CONNECT_AND
protected static final int CONNECT_AND
- See Also:
- Constant Field Values
CONNECT_OR
protected static final int CONNECT_OR
- See Also:
- Constant Field Values
StdDeity
public StdDeity()
ID
public java.lang.String ID()
- Description copied from interface:
CMObject
- The CoffeeMud Java Class ID shared by all instances of
this object. Unlike the Java Class name, this method
does not include package information. However, it must
return a String value unique to its class category in
the ClassLoader. Class categories include Libraries, Common,
Areas, Abilities, Behaviors, CharClasses, Commands, Exits
Locales, MOBS, Races, WebMacros, Basic Items, Armor,
Weapons, ClanItems, MiscTech. The name is typically identical
to the class name.
- Specified by:
ID in interface CMObject- Overrides:
ID in class StdMOB
- Returns:
- the name of this class
cloneFix
protected void cloneFix(MOB E)
- Overrides:
cloneFix in class StdMOB
getClericRequirements
public java.lang.String getClericRequirements()
- Specified by:
getClericRequirements in interface Deity
setClericRequirements
public void setClericRequirements(java.lang.String reqs)
- Specified by:
setClericRequirements in interface Deity
getWorshipRequirements
public java.lang.String getWorshipRequirements()
- Specified by:
getWorshipRequirements in interface Deity
setWorshipRequirements
public void setWorshipRequirements(java.lang.String reqs)
- Specified by:
setWorshipRequirements in interface Deity
getClericRitual
public java.lang.String getClericRitual()
- Specified by:
getClericRitual in interface Deity
setClericRitual
public void setClericRitual(java.lang.String ritual)
- Specified by:
setClericRitual in interface Deity
getWorshipRitual
public java.lang.String getWorshipRitual()
- Specified by:
getWorshipRitual in interface Deity
setWorshipRitual
public void setWorshipRitual(java.lang.String ritual)
- Specified by:
setWorshipRitual in interface Deity
getServiceRitual
public java.lang.String getServiceRitual()
- Specified by:
getServiceRitual in interface Deity
setServiceRitual
public void setServiceRitual(java.lang.String ritual)
- Specified by:
setServiceRitual in interface Deity
getTriggerDesc
public java.lang.String getTriggerDesc(java.util.List<StdDeity.DeityTrigger> V)
getClericRequirementsDesc
public java.lang.String getClericRequirementsDesc()
- Specified by:
getClericRequirementsDesc in interface Deity
getClericTriggerDesc
public java.lang.String getClericTriggerDesc()
- Specified by:
getClericTriggerDesc in interface Deity
getWorshipRequirementsDesc
public java.lang.String getWorshipRequirementsDesc()
- Specified by:
getWorshipRequirementsDesc in interface Deity
getWorshipTriggerDesc
public java.lang.String getWorshipTriggerDesc()
- Specified by:
getWorshipTriggerDesc in interface Deity
getServiceTriggerDesc
public java.lang.String getServiceTriggerDesc()
- Specified by:
getServiceTriggerDesc in interface Deity
okMessage
public boolean okMessage(Environmental myHost,
CMMsg msg)
- Description copied from interface:
MsgListener
- The general message event previewer for the object. Messages passed herein
are in a pending state, and may be safely modified or rejected without fear
that they might be in the middle of being executed. Messages passed herein
may not necessarily be FOR or FROM this object, but will almost always
represent events which want to happen in the same rom. This method should
always always return true UNLESS this message needs to be canceled, in which
case it is necessary to tell the mob initiating the event (CMMsg.source())
why it is being cancelled. Every game event goes through these methods.
- Specified by:
okMessage in interface MsgListener- Overrides:
okMessage in class StdMOB
- Parameters:
myHost - either the initiator of the event, or the host of this objectmsg - the CMMsg that wants to be executed
- Returns:
- whether this message is allowed to execute
- See Also:
CMMsg,
CMMsg.source()
bestowBlessing
public void bestowBlessing(MOB mob,
Ability Blessing)
bestowPower
public void bestowPower(MOB mob,
Ability Power)
bestowCurse
public void bestowCurse(MOB mob,
Ability Curse)
bestowBlessings
public void bestowBlessings(MOB mob)
bestowPowers
public void bestowPowers(MOB mob)
bestowCurses
public void bestowCurses(MOB mob)
removeBlessings
public void removeBlessings(MOB mob)
removePowers
public void removePowers(MOB mob)
alreadyBlessed
public boolean alreadyBlessed(MOB mob)
alreadyPowered
public boolean alreadyPowered(MOB mob)
triggerCheck
public boolean triggerCheck(CMMsg msg,
java.util.List<StdDeity.DeityTrigger> V,
java.util.Map<java.lang.String,boolean[]> trigParts,
java.util.Map<java.lang.String,java.lang.Long> trigTimes)
executeMsg
public void executeMsg(Environmental myHost,
CMMsg msg)
- Description copied from interface:
MsgListener
- The general message event handler for the object. Messages passed herein
may not necessarily be FOR this object, or from it, but will almost
always represent events happening in the same room. The messages
have already been through an approval process, so this method is
called only to affect the final execution of the meaning of the
message. Every game event goes through these methods.
- Specified by:
executeMsg in interface MsgListener- Overrides:
executeMsg in class StdMOB
- Parameters:
myHost - either the initiator of the event, or the host of this objectmsg - the CMMsg that needs to be executed- See Also:
CMMsg
startServiceIfNecessary
protected void startServiceIfNecessary(MOB mob,
Room room)
undoService
protected void undoService(java.util.List<MOB> V)
alreadyServiced
protected boolean alreadyServiced(MOB mob,
Room room)
finishService
public boolean finishService(MOB mob,
Room room)
cancelService
public boolean cancelService(com.planet_ink.coffee_mud.MOBS.StdDeity.WorshipService service)
tick
public boolean tick(Tickable ticking,
int tickID)
- Description copied from interface:
Tickable
- this is the method which is called periodically by the threading engine. How often it
is called depends on the parameters passed to the threadding engine when it is submitted
for thread access. Typically the period is once per TIME_TICK period, but that is
determined when the object is submitted to the thread engine.
- Specified by:
tick in interface Tickable- Overrides:
tick in class StdMOB
- Parameters:
ticking - a reference to this Tickable objecttickID - the TICKID_ constant describing this periodic call, as defined in Tickable
- Returns:
- true always, unless this object no longer wishes to ever tick again, in which case false
- See Also:
Tickable,
ServiceEngine,
TickableGroup
addBlessing
public void addBlessing(Ability to,
boolean clericOnly)
- Description copied from interface:
Deity
- Manipulation of blessing objects, which includes spells, traits, skills, etc.
- Specified by:
addBlessing in interface Deity
delBlessing
public void delBlessing(Ability to)
- Specified by:
delBlessing in interface Deity
numBlessings
public int numBlessings()
- Specified by:
numBlessings in interface Deity
fetchBlessing
public Ability fetchBlessing(int index)
- Specified by:
fetchBlessing in interface Deity
fetchBlessingCleric
public boolean fetchBlessingCleric(int index)
- Specified by:
fetchBlessingCleric in interface Deity
fetchBlessingCleric
public boolean fetchBlessingCleric(java.lang.String ID)
- Specified by:
fetchBlessingCleric in interface Deity
fetchBlessing
public Ability fetchBlessing(java.lang.String ID)
- Specified by:
fetchBlessing in interface Deity
parseTriggers
protected void parseTriggers(java.util.List<StdDeity.DeityTrigger> putHere,
java.lang.String trigger)
addCurse
public void addCurse(Ability to,
boolean clericOnly)
- Manipulation of curse objects, which includes spells, traits, skills, etc.
- Specified by:
addCurse in interface Deity
delCurse
public void delCurse(Ability to)
- Specified by:
delCurse in interface Deity
numCurses
public int numCurses()
- Specified by:
numCurses in interface Deity
fetchCurse
public Ability fetchCurse(int index)
- Specified by:
fetchCurse in interface Deity
fetchCurse
public Ability fetchCurse(java.lang.String ID)
- Specified by:
fetchCurse in interface Deity
fetchCurseCleric
public boolean fetchCurseCleric(int index)
- Specified by:
fetchCurseCleric in interface Deity
fetchCurseCleric
public boolean fetchCurseCleric(java.lang.String ID)
- Specified by:
fetchCurseCleric in interface Deity
getClericSin
public java.lang.String getClericSin()
- Specified by:
getClericSin in interface Deity
setClericSin
public void setClericSin(java.lang.String ritual)
- Specified by:
setClericSin in interface Deity
getClericSinDesc
public java.lang.String getClericSinDesc()
- Specified by:
getClericSinDesc in interface Deity
getWorshipSin
public java.lang.String getWorshipSin()
- Specified by:
getWorshipSin in interface Deity
setWorshipSin
public void setWorshipSin(java.lang.String ritual)
- Specified by:
setWorshipSin in interface Deity
getWorshipSinDesc
public java.lang.String getWorshipSinDesc()
- Specified by:
getWorshipSinDesc in interface Deity
addPower
public void addPower(Ability to)
- Manipulation of curse objects, which includes spells, traits, skills, etc.
- Specified by:
addPower in interface Deity
delPower
public void delPower(Ability to)
- Specified by:
delPower in interface Deity
numPowers
public int numPowers()
- Specified by:
numPowers in interface Deity
fetchPower
public Ability fetchPower(int index)
- Specified by:
fetchPower in interface Deity
fetchPower
public Ability fetchPower(java.lang.String ID)
- Specified by:
fetchPower in interface Deity
getClericPowerup
public java.lang.String getClericPowerup()
- Specified by:
getClericPowerup in interface Deity
setClericPowerup
public void setClericPowerup(java.lang.String ritual)
- Specified by:
setClericPowerup in interface Deity
getClericPowerupDesc
public java.lang.String getClericPowerupDesc()
- Specified by:
getClericPowerupDesc in interface Deity