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:
- Behavable, CMModifiable, CMObject, Environmental, MsgListener, 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 |
abilities, affects, AgeHours, Alignment, amDead, amDestroyed, amFollowing, atRange, attributesBitmap, baseCharStats, baseEnvStats, baseState, behaviors, charStats, clanID, clanRole, CODES, commandQue, curState, databaseID, DeityIndex, description, displayText, envStats, Experience, expertises, factions, followers, imageName, imMobile, inventory, kickFlag, lastLocation, LiegeID, location, maxState, miscText, Money, moneyVariation, mySession, peaceTime, playerStats, pleaseDestroy, Practices, QuestPoint, 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, 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)
|
void |
bringToLife(Room newLocation,
boolean resetStats)
|
protected void |
cloneFix(MOB E)
|
void |
delBlessing(Ability to)
|
void |
delCurse(Ability to)
|
void |
delPower(Ability to)
|
void |
destroy()
Utterly and permanently destroy this object, not only removing it from the map, but
causing this object to be collected as garbage by Java. |
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.Vector 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.Vector 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.Vector V,
java.util.Hashtable trigParts,
java.util.Hashtable trigTimes)
|
protected void |
undoService(java.util.Vector V)
|
| Methods inherited from class com.planet_ink.coffee_mud.MOBS.StdMOB |
actions, addAbility, addBehavior, addEffect, addExpertise, addFaction, addFollower, addInventory, addNonUninvokableEffect, addPriorityEffect, addScript, addTattoo, adjustedArmor, adjustedAttackBonus, adjustedDamage, adjustFaction, affectCharState, affectCharStats, affectEnvStats, amActive, amDead, amDestroyed, amFollowing, amUltimatelyFollowing, baseCharStats, baseEnvStats, baseState, baseWeight, bringToLife, calculateTickDelay, charStats, cloneEffects, commandQueSize, compareTo, confirmWearability, copyFactions, copyOf, curState, databaseID, delAbility, delBehavior, delEffect, delExpertise, delFollower, delInventory, delScript, delTattoo, dequeCommand, description, displayName, displayText, displayText, dispossess, doCommand, doCommand, enqueCommand, envStats, expirationDate, fetchAbility, fetchAbility, fetchBehavior, fetchBehavior, fetchCarried, fetchEffect, fetchEffect, fetchExpertise, fetchExpertise, fetchFaction, fetchFactionRanges, fetchFactions, fetchFirstWornItem, fetchFollower, fetchFollower, fetchFollowerOrder, fetchFromInventory, fetchInventory, fetchInventory, fetchInventory, fetchScript, fetchTattoo, fetchTattoo, fetchWieldedItem, fetchWornItem, fetchWornItems, finalize, findAbility, flagVariableEq, freeWearPositions, genericName, getAgeHours, getBitmap, getClanID, getClanRole, getCodeNum, getExperience, getExpNeededDelevel, getExpNeededLevel, getExpNextLevel, getExpPrevLevel, getFactionListing, getGroupMembers, getLiegeID, getMoney, getMoneyVariation, getMyDeity, getPractices, getQuestPoint, getRideBuddies, getSaveStatIndex, getStartRoom, getStat, getStatCodes, getTickStatus, getTrains, getVictim, getWearPositions, getWimpHitPoint, getWorshipCharID, giveItem, hasFaction, hasOnlyGoldInInventory, healthText, image, initializeClass, inventorySize, isFollowedBy, isGeneric, isInCombat, isMarriedToLiege, isMine, isMonster, isPossessing, isStat, killMeDead, lastTickedDateTime, location, makePeace, maxCarry, maxFollowers, maxItems, maxRange, maxRange, maxState, mayIFight, mayPhysicallyAttack, minRange, minRange, miscTextFormat, myNaturalWeapon, name, Name, newInstance, numAbilities, numAllEffects, numBehaviors, numEffects, numExpertises, numFollowers, numLearnedAbilities, numScripts, numTattoos, peaceTime, playerStats, prequeCommand, processVariableEquipment, rangeToTarget, rawImage, recoverCharStats, recoverEnvStats, recoverMaxState, removeFaction, removeFromGame, resetToMaxState, resetVectors, riding, sameAs, savable, session, setActions, setAgeHours, setAtRange, setBaseCharStats, setBaseEnvStats, setBaseState, setBitmap, setClanID, setClanRole, setDatabaseID, setDescription, setDisplayText, setExperience, setExpirationDate, setExpNextLevel, setFollowing, setImage, setLiegeID, setLocation, setMiscText, setMoney, setMoneyVariation, setName, setPlayerStats, setPractices, setQuestPoint, setRiding, setSession, setSoulMate, setStartRoom, setStat, setTrains, setVictim, setWimpHitPoint, setWorshipCharID, soulMate, tell, tell, text, titledName, totalFollowers, uniqueExpertises, willFollowOrdersOf |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.planet_ink.coffee_mud.MOBS.interfaces.MOB |
actions, addAbility, addExpertise, addFaction, addFollower, addInventory, addPriorityEffect, addTattoo, adjustedArmor, adjustedAttackBonus, adjustedDamage, adjustFaction, amActive, amDead, amFollowing, amUltimatelyFollowing, baseCharStats, baseState, baseWeight, bringToLife, charStats, commandQueSize, confirmWearability, copyFactions, curState, databaseID, delAbility, delExpertise, delFollower, delInventory, delTattoo, dequeCommand, displayName, displayText, dispossess, doCommand, enqueCommand, fetchAbility, fetchAbility, fetchCarried, fetchExpertise, fetchExpertise, fetchFaction, fetchFactionRanges, fetchFactions, fetchFirstWornItem, fetchFollower, fetchFollower, fetchFollowerOrder, fetchFromInventory, fetchInventory, fetchInventory, fetchInventory, fetchTattoo, fetchTattoo, fetchWieldedItem, fetchWornItem, fetchWornItems, findAbility, flagVariableEq, freeWearPositions, genericName, getAgeHours, getBitmap, getClanID, getClanRole, getExperience, getExpNeededDelevel, getExpNeededLevel, getExpNextLevel, getExpPrevLevel, getFactionListing, getGroupMembers, getLiegeID, getMoney, getMoneyVariation, getMyDeity, getPractices, getQuestPoint, getRideBuddies, getStartRoom, getTrains, getVictim, getWearPositions, getWimpHitPoint, getWorshipCharID, giveItem, hasFaction, hasOnlyGoldInInventory, healthText, inventorySize, isFollowedBy, isInCombat, isMarriedToLiege, isMine, isMonster, isPossessing, killMeDead, lastTickedDateTime, location, makePeace, maxCarry, maxFollowers, maxItems, maxRange, maxState, mayIFight, mayPhysicallyAttack, minRange, myNaturalWeapon, numAbilities, numAllEffects, numExpertises, numFollowers, numLearnedAbilities, numTattoos, peaceTime, playerStats, prequeCommand, rangeToTarget, recoverCharStats, recoverMaxState, removeFaction, removeFromGame, resetToMaxState, resetVectors, session, setActions, setAgeHours, setAtRange, setBaseCharStats, setBaseState, setBitmap, setClanID, setClanRole, setDatabaseID, setExperience, setExpNextLevel, setFollowing, setLiegeID, setLocation, setMoney, setMoneyVariation, setPlayerStats, setPractices, setQuestPoint, setSession, setSoulMate, setStartRoom, setTrains, setVictim, setWimpHitPoint, setWorshipCharID, soulMate, tell, tell, titledName, totalFollowers, uniqueExpertises, willFollowOrdersOf |
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
worshipTriggers
protected java.util.Vector worshipTriggers
worshipCurseTriggers
protected java.util.Vector worshipCurseTriggers
clericTriggers
protected java.util.Vector clericTriggers
serviceTriggers
protected java.util.Vector serviceTriggers
clericPowerTriggers
protected java.util.Vector clericPowerTriggers
clericCurseTriggers
protected java.util.Vector clericCurseTriggers
blessings
protected DVector blessings
curses
protected DVector curses
powers
protected java.util.Vector powers
trigBlessingParts
protected java.util.Hashtable trigBlessingParts
trigBlessingTimes
protected java.util.Hashtable trigBlessingTimes
trigPowerParts
protected java.util.Hashtable trigPowerParts
trigPowerTimes
protected java.util.Hashtable trigPowerTimes
trigCurseParts
protected java.util.Hashtable trigCurseParts
trigCurseTimes
protected java.util.Hashtable trigCurseTimes
trigServiceParts
protected java.util.Hashtable trigServiceParts
trigServiceTimes
protected java.util.Hashtable trigServiceTimes
services
protected DVector services
checkDown
protected int checkDown
norecurse
protected boolean norecurse
blacklist
protected MOB blacklist
blackmarks
protected int blackmarks
lastBlackmark
protected long lastBlackmark
waitingFor
protected java.util.Vector 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
protec