com.planet_ink.coffee_mud.Libraries
Class Sense

java.lang.Object
  extended by com.planet_ink.coffee_mud.Libraries.StdLibrary
      extended by com.planet_ink.coffee_mud.Libraries.Sense
All Implemented Interfaces:
CMObject, Tickable, CMFlagLibrary, CMLibrary, java.lang.Cloneable, java.lang.Comparable<CMObject>

public class Sense
extends StdLibrary
implements CMFlagLibrary


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.Libraries.interfaces.CMFlagLibrary
CMFlagLibrary.ComingOrGoing
 
Field Summary
 
Fields inherited from class com.planet_ink.coffee_mud.Libraries.StdLibrary
isDebugging, name, serviceClient, tickStatus
 
Fields inherited from interface com.planet_ink.coffee_mud.core.interfaces.Tickable
STATUS_AFFECT, STATUS_ALIVE, STATUS_BEHAVIOR, STATUS_CLASS, STATUS_DEAD, STATUS_END, STATUS_FIGHT, STATUS_MISC, STATUS_MISC2, STATUS_MISC3, STATUS_MISC4, STATUS_MISC5, STATUS_MISC6, STATUS_MISC7, STATUS_NOT, STATUS_OTHER, STATUS_RACE, STATUS_REBIRTH, STATUS_SCRIPT, STATUS_START, STATUS_WEATHER, TICKID_AREA, TICKID_BEAMWEAPON, TICKID_CLAN, TICKID_CLANITEM, TICKID_DEADBODY_DECAY, TICKID_ELECTRONICS, TICKID_EMAIL, TICKID_EXIT_BEHAVIOR, TICKID_EXIT_REOPEN, TICKID_ITEM_BEHAVIOR, TICKID_ITEM_BOUNCEBACK, TICKID_LIGHT_FLICKERS, TICKID_LIVEAUCTION, TICKID_LONGERMASK, TICKID_MISCELLANEOUS, TICKID_MOB, TICKID_PROPERTY_SPECIAL, TICKID_QUEST, TICKID_READYTOSTOP, TICKID_ROOM_BEHAVIOR, TICKID_ROOM_ITEM_REJUV, TICKID_SOLITARYMASK, TICKID_SPECIALCOMBAT, TICKID_SPECIALMANEUVER, TICKID_SPELL_AFFECT, TICKID_SUPPORT, TICKID_TIMEAUCTION, TICKID_TRAP_DESTRUCTION, TICKID_TRAP_RESET
 
Constructor Summary
Sense()
           
 
Method Summary
 boolean allowsMovement(Area A)
          Returns whether this area allows mobs or players to enter or leave.
 boolean allowsMovement(Room R)
          Returns whether this room allows mobs or players to enter or leave.
 boolean canAccess(MOB mob, Area A)
          Returns whether the given mob can 'access' the given area, due to it not being hidden and sharing a timezone.
 boolean canAccess(MOB mob, Room R)
          Returns whether the given mob can 'access' the given room, due to it not being hidden and sharing a timezone.
 boolean canActAtAll(Tickable affecting)
          Returns whether the given affecting (usually a mob) is alive, awake, mobile, and officially in the game.
 boolean canAutoAttack(MOB M)
          Returns whether the given mob is allowed to use their auto attack every tick, if that even applies to this system.
 boolean canBarelyBeSeenBy(Environmental seen, MOB seer)
          Returns whether the given seen mob or item or room or whatever can only BARELY be seen by the given seer, given moon lightning mostly.
 boolean canBeHeardMovingBy(Physical heard, MOB hearer)
          Returns whether the given hearer mob can hear the given mob or object moving around.
 boolean canBeHeardSpeakingBy(Physical heard, MOB hearer)
          Returns whether the given hearer mob can hear the given mob or object speaking.
 boolean canBeLocated(Physical P)
          Returns whether the given physical object can be located by magical means.
 boolean canBeSeenBy(Environmental seen, MOB seer)
          Returns whether the given seen mob or item or room or whatever can be seen by the given seer, given conditions, lighting, hidden, etc.
 boolean canBreathe(MOB M)
          Return whether the given mob is able to breathe at all due to a strictly personal defect.
 boolean canBreatheHere(MOB M, Room R)
          Return whether the given mob is able to breathe in the given room due to their race and the atmosphere of the room.
 boolean canBreatheThis(MOB M, int atmoResource)
          Return whether the given mob is able to breathe the given resource due to their race, usually.
 boolean canConcentrate(MOB M)
          Returns whether the given mob has the ability to concentrate enough to cast spells.
 boolean canFreelyBehaveNormal(Tickable affecting)
          Returns whether the given affecting (usually a mob) is alive, awake, mobile, and officially in the game, and not in combat, sufficiently healthy, and not following anyone.
 boolean canHear(MOB M)
          Return whether the given mob is deaf or otherwise unable to hear due to a strictly personal defect.
 boolean canMove(MOB M)
          Return whether the given mob is able to move at all.
 boolean canNotBeCamped(Physical P)
          Returns whether the given mob or item is not allowed to be camped, meaning they won't respawn while someone is just hanging around waiting in the room for them to spawn.
 boolean canSee(MOB M)
          Return whether the given mob is blind or otherwise unable to see due to a strictly personal defect.
 boolean canSeeBonusItems(MOB M)
          Returns whether the given mob has the ability to see magic items as such.
 boolean canSeeEvil(MOB M)
          Returns whether the given mob has the ability to see evil in people/things.
 boolean canSeeGood(MOB M)
          Returns whether the given mob has the ability to see good in people/things.
 boolean canSeeHidden(MOB M)
          Returns whether the given mob has the ability to see hidden.
 boolean canSeeHiddenItems(MOB M)
          Returns whether the given mob has the ability to see hidden items, but not necessarily mobs.
 boolean canSeeInDark(MOB M)
          Returns whether the given mob has the ability to see in the dark.
 boolean canSeeInfrared(MOB M)
          Returns whether the given mob has the ability to see warm blooded mobs in the dark.
 boolean canSeeInvisible(MOB M)
          Returns whether the given mob has the ability to see invisible.
 boolean canSeeMetal(MOB M)
          Returns whether the given mob has the ability to see metal items as such.
 boolean canSeeSneakers(MOB M)
          Returns whether the given mob has the ability to see sneaking mobs.
 boolean canSeeVictims(MOB M)
          Returns whether the given mob has the ability to see their enemies in the dark.
 boolean canSenseEnteringLeaving(Physical sensed, MOB sensor)
          Returns whether the given sensor mob can sense the given mob or object coming and going.
 boolean canSenseMoving(Physical sensed, MOB sensor)
          Returns whether the given sensor can see or hear the given sensed mob or object moving around.
 boolean canSmell(MOB M)
          Return whether the given mob is stuffed or otherwise unable to smell due to a strictly personal defect.
 boolean canSpeak(MOB M)
          Return whether the given mob is mute or otherwise unable to speak due to a strictly personal defect.
 boolean canTaste(MOB M)
          Return whether the given mob is able to eat or drink due to the lack of strictly personal defects.
 boolean canTrack(Physical P)
          Returns whether the given thing is allowed to do mundane things, such as patrolling or tracking or being mobile.
 java.util.List<Ability> domainAbilities(MOB M, int domain)
          Returns the list of abilities that have are part of the given ability domain.
 java.util.List<Ability> domainAffects(Physical P, int domain)
          Returns the list of effects that have are part of the given ability domain.
 java.util.List<Ability> domainAnyAffects(Physical P, int domain)
          Returns the list of effects that have are part of the given ability domain.
 java.util.List<Ability> flaggedAbilities(MOB M, long flag)
          Returns the list of Abilities that have the given ability flag(s) set.
 java.util.List<Ability> flaggedAffects(Physical P, long flag)
          Returns the list of effects that have the given ability flag(s) set.
 java.util.List<Ability> flaggedAnyAffects(Physical P, long flag)
          Returns the list of effects that have the given ability flag(s) set.
 java.util.List<Behavior> flaggedBehaviors(PhysicalAgent P, long flag)
          Returns the list of behaviors that have the given behavior flag(s) set.
 java.lang.String getAbilityDomain(Ability A)
          Returns the ability domain name for the given Ability.
 int getAbilityDomain(java.lang.String name)
          Returns the ability domain bitmask for the given ability domain name.
 java.lang.String getAbilityType_(Ability A)
          Returns the ability type/code name for the given Ability.
 int getAbilityType_(java.lang.String name)
          Returns the ability type code for the given ability type name.
 java.lang.String getAbilityType(Ability A)
          Returns the ability type/code name for the given Ability.
 int getAbilityType(java.lang.String name)
          Returns the ability type code for the given ability type name.
 java.lang.String getAge(MOB M)
          Returns the friendly descriptive age of the given mob, whether baby, child, player, whatever.
 java.lang.String getAlignmentName(Environmental E)
          Returns the simple word that would describe the alignment of the given mob or item or whatever.
 int getDetectScore(MOB seer)
          Deprecated, but returns the total hide detection score for the given mob.
 java.lang.String getDispositionBlurbs(Physical seen, MOB seer)
          Returns the disposition blurbs that apply to the given seen mob, item, room, whatever, as soon by the given seer mob.
 java.lang.String getDispositionDescList(Physical obj, boolean useVerbs)
          Returns a command-delimited list of dispassionate description of the disposition of the given physical mob, item, whatever.
 int getDispositionIndex(java.lang.String name)
          Returns the enumerated disposition index associated with the given disposition name, such as ISSWIMMING, etc.
 java.lang.String getDispositionStateList(MOB mob)
          Returns a comma delimited list of the senses masks on the given mob.
 int getFallingDirection(Physical P)
          Returns which direction, if any, the given object is falling.
 int getHideScore(Physical seen)
          Deprecated, but returns the total hide score for the given mob, item, whatever.
 java.lang.String getPresentDispositionVerb(Physical seen, CMFlagLibrary.ComingOrGoing flag_msgType)
          Returns the present-tense verb that applies to the disposition of the given seen thing, given the detail about how they verbbing.
 java.lang.String getSensesDescList(Physical obj, boolean useVerbs)
          Returns a command-delimited list of dispassionate description of the senses of the given physical mob, item, whatever.
 int getSensesIndex(java.lang.String name)
          Returns the enumerated senses index associated with the given senses name, such as CANSEEDARK, etc.
 java.lang.String getSensesStateList(MOB mob)
          Returns a comma delimited list of the senses masks on the given mob.
 boolean hasAControlledFollower(MOB invoker, Ability A)
          Returns whether the given invoker mob is controlling a mob, who is following the invoker, optionally using the given Ability.
 java.lang.String ID()
          The CoffeeMud Java Class ID shared by all instances of this object.
 boolean isABonusItems(Physical P)
          Returns whether the given mob, item, whatever is flagged as being magical.
 boolean isAControlledFollower(MOB invoker, MOB mob, Ability A)
          Returns whether the given invoker mob is controlling the given mob, who is following the invoker, optionally using the given Ability.
 boolean isAggressiveTo(MOB M, MOB toM)
          Returns whether the first given mob is potentially or probably agressive to the second mob.
 boolean isAgingThing(Physical P)
           
 boolean isAiryRoom(Room R)
          Returns whether the given room, whatever is airy, such as an in the air, or an open space.
protected  boolean isAlcoholEffect(Ability A)
           
 boolean isAlcoholic(Physical thang)
          Returns whether the given item is affected by or contains alcohol as a drinkable.
 boolean isAliveAwakeMobile(MOB mob, boolean quiet)
          Returns whether the given mob is alive, awake, and mobile.
 boolean isAliveAwakeMobileUnbound(MOB mob, boolean quiet)
          Returns whether the given mob is alive, awake, mobile and not bound up.
 boolean isAnimalIntelligence(MOB M)
          Returns whether the given mob is of low animal intelligence.
 boolean isAPlant(Item I)
          Returns whether the given item is of a plant-like type.
 boolean isAPlant(MOB M)
          Returns whether the given mob is of a plant-like type.
 boolean isATrackingMonster(MOB M)
          Returns whether the given mob is both a non-player npc, and is currently being driven (tracking) towards something.
 boolean isBaby(Environmental E)
          Returns whether the given mob (item usually) is a baby waiting to grow up.
 boolean isBound(Physical P)
          Returns whether the given item, mob, whatever is marked as bound.
 boolean isBoundOrHeld(Physical P)
          Returns whether the given item, mob, whatever is marked as bound or is paralyzed.
 boolean isCataloged(Environmental E)
          Returns whether the given item is marked as being an instance of a mob or item from the catalog.
 boolean isChild(Environmental E)
          Returns whether the given mob, item (baby) whatever is a baby, or a mob child born from something, what its age still being tracked by property.
 boolean isClimbing(Physical P)
          Returns whether the given item, mob, whatever is climbing.
 boolean isCloaked(Physical P)
          Returns whether the given item, mob, room, whatever is cloaked.
 boolean isCrawlable(Physical P)
          Returns whether the given room, area, exit, whatever is crawlable (not necc.
 boolean isDeadlyOrMaliciousEffect(PhysicalAgent P)
          Returns whether the given room, item, whatever has a deadly effect, such as a trap, autodeath behavior, or a property with a malicious spell in it.
 boolean isDeepWaterySurfaceRoom(Room R)
          Returns whether the given room, whatever is the surface of deep water, such as a water surface, etc.
 boolean isDroppable(Item I)
          Returns whether the given item is marked as being droppable.
 boolean isEggLayer(Race race)
          Returns whether the given race is of an egg-laying type
 boolean isEnchanted(Item I)
          Returns whether the given item has some effect other than a disease, poison, or standard property.
 boolean isEnspelled(Physical F)
          Returns whether the given item, mob, whatever is marked as being affected by an uninvokeable spell, chant, prayer, or whatever.
 boolean isEvil(Physical P)
          Returns whether the given item, mob, room, whatever is evilly aligned.
 boolean isFalling(Physical P)
          Returns whether the given item, mob, whatever is marked as falling.
 boolean isFish(MOB mob)
          Returns whether the given mob is of a fishy race type.
 boolean isFloatingFreely(Physical P)
          Returns whether the given item, mob, whatever is floating freely and uncontrolled, as when not under gravity.
 boolean isFlying(Physical P)
          Returns whether the given item, mob, whatever is flying.
 boolean isGettable(Item I)
          Returns whether the given item is marked as being gettable.
 boolean isGlowing(Physical P)
          Returns whether the given item, mob, whatever is glowing.
 boolean isGolem(Physical P)
          Returns whether the given item, mob, whatever is marked as a golem.
 boolean isGood(Physical P)
          Returns whether the given item, mob, room, whatever is goodly aligned.
 boolean isHidden(Physical P)
          Returns whether the given item, mob, room, whatever is hidden.
 boolean isInDark(Physical P)
          Returns whether the given mob, item, whatever is currently flagged dark
 boolean isInFlight(Physical P)
          Returns whether the given mob, item, whatever would fly or fall.
 boolean isInsect(MOB mob)
          Returns whether the given mob is of an insect race type.
 boolean isInTheGame(Area E, boolean reqInhabitation)
          Returns whether the given Area is actually in the game, or is just temporary or cached.
 boolean isInTheGame(Environmental E, boolean reqInhabitation)
          Returns whether the given mob, item, room, area, whatever is actually in the game, and possibly in a room, or is just temporary or cached.
 boolean isInTheGame(Item E, boolean reqInhabitation)
          Returns whether the given Item is actually in the game, and in a room, or is just temporary or cached.
 boolean isInTheGame(MOB E, boolean reqInhabitation)
          Returns whether the given MOB is actually in the game, and in a room, or is just temporary or cached.
 boolean isInTheGame(Room E, boolean reqInhabitation)
          Returns whether the given Room is actually in the game, or is just temporary or cached.
 boolean isInvisible(Physical P)
          Returns whether the given item, mob, room, whatever is invisible.
 boolean isInWilderness(Physical P)
          Returns whether the given mob, item, room, whatever is in a outdoors non-city room.
 boolean isLightSource(Physical P)
          Returns whether the given mob, item, whatever is currently flagged as a light source
 boolean isMarine(MOB mob)
          Returns whether the given mob is of a marine race type.
 boolean isMetal(Environmental E)
          Returns whether the given mob (item usually) is made of metal or mithril.
 boolean isMobile(PhysicalAgent P)
          Returns whether the given mob, item, whatever has a behavior making it move around.
 boolean isNeutral(Physical P)
          Returns whether the given item, mob, room, whatever is neutral, which is to say, neither good nor evil.
 boolean isOnFire(Physical seen)
          Returns whether the given item, mob, whatever is on fire.
 boolean isOpenAccessibleContainer(Item I)
          Returns whether the given item is a container which, when open, has accessible contents, and is also open.
 boolean isOutsider(MOB mob)
          Returns whether the given mob is of an outsider race type.
 boolean isPossiblyAggressive(MOB M)
          Returns whether the first given mob is potentially or probably agressive.
 boolean isReadable(Item I)
          Returns whether the given item is marked as being readable.
 boolean isReallyEvil(FactionMember M)
          Returns whether the given mobby factionmember is evilly aligned due to factions.
 boolean isReallyGood(FactionMember M)
          Returns whether the given mobby factionmember is goodly aligned due to factions.
 boolean isReallyNeutral(FactionMember M)
          Returns whether the given mobby factionmember is neutrally aligned due to factions.
 boolean isRejuvingItem(Item I)
          Returns whether the given item has an item rejuv actively monitoring it.
 boolean isRemovable(Item I)
          Returns whether the given item is marked as being removable.
 boolean isRunningLongCommand(MOB M)
          Returns whether the given player is executing a command taking longer than 30 seconds
 boolean isSavable(Physical P)
          Returns whether the given object is marked as being allowed to be saved to the database.
 boolean isSeeable(Physical P)
          Returns whether the given item, mob, room, whatever is seeable at all.
 boolean isSeenTheSameWay(MOB seer, Physical seen1, Physical seen2)
          Returns whether the two given physical objects appear the exact same way to the given seer mob.
 boolean isSitting(Physical P)
          Returns whether the given item, mob, whatever is sitting.
 boolean isSleeping(Physical P)
          Returns whether the given item, mob, whatever is sleeping.
 boolean isSneaking(Physical P)
          Returns whether the given mob, item whatever is sneaking
 boolean isStanding(MOB mob)
          Returns whether the given mob is standing (not sitting or sleeping) marked as swimming/floating.
 boolean isStillAffectedBy(Physical obj, java.util.List<Ability> oneOf, boolean anyTallF)
          Checks the list of ability objects against the effects of the given mob, item or whatever.
 boolean isSwimming(Physical P)
          Returns whether the given item, mob, whatever is marked as swimming/floating.
 boolean isSwimmingInWater(Physical P)
          Returns whether the given item, mob, whatever is swimming/floating in a watery room.
 boolean isTracking(MOB M)
          Returns whether the given player or npc mob is being driven (tracking) towards something
 boolean isTrapped(Physical P)
          Returns whether the given object has a trap set on it.
 boolean isUnattackable(Physical P)
          Returns whether the given item, mob, whatever is marked as unattackable.
 boolean isUndead(MOB mob)
          Returns whether the given mob is of an undead race type.
 boolean isUnderWateryRoom(Room R)
          Returns whether the given room, whatever is watery, such as an underwater, etc.
 boolean isVegetable(MOB M)
          Returns whether the given mob is of a vegetable race type.
 boolean isVermin(MOB mob)
          Returns whether the given mob is of a vermin race type.
 boolean isWaterWorthy(Physical P)
          Returns whether the given mob, item, whatever would sink or float.
 boolean isWateryRoom(Room R)
          Returns whether the given room, whatever is watery, such as a water surface, underwater, etc.
 boolean isWaterySurfaceRoom(Room R)
          Returns whether the given room, whatever is watery, such as a water surface, etc.
 boolean isWithSeenContents(Physical P)
          Returns whether the given non-mob (item) has contents which has be seen.
 java.util.List<Ability> matchedAffects(MOB invoker, Physical P, long flag, int abilityCode, int domain)
          Returns the list of effects that are on the given physical, and were invoked by the given invoker.
 void setDroppable(Item I, boolean truefalse)
          Sets whether the given item is marked as being droppable.
 void setGettable(Item I, boolean truefalse)
          Sets whether the given item is marked as being gettable.
 void setReadable(Item I, boolean truefalse)
          Sets whether the given item is marked as being readable.
 void setRemovable(Item I, boolean truefalse)
          Sets whether the given item is marked as being removable.
 void setSavable(Physical P, boolean truefalse)
          Sets whether the given object is marked as being allowed to be saved to the database.
 java.lang.String validCheck(Physical P)
          Checks the system validity of mobs, items, and rooms, and returns a report if there's a problem and it should be destroyed.
 
Methods inherited from class com.planet_ink.coffee_mud.Libraries.StdLibrary
activate, checkDatabase, compareTo, copyOf, getServiceClient, getTickStatus, initializeClass, L, name, newInstance, propertiesLoaded, setThreadStatus, shutdown, tick
 
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.Libraries.interfaces.CMLibrary
activate, getServiceClient, L, propertiesLoaded, shutdown
 
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject
copyOf, initializeClass, name, newInstance
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

Sense

public Sense()
Method Detail

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, Tech. The name is typically identical to the class name.

Specified by:
ID in interface CMObject
Overrides:
ID in class StdLibrary
Returns:
the name of this class

canSee

public boolean canSee(MOB M)
Description copied from interface: CMFlagLibrary
Return whether the given mob is blind or otherwise unable to see due to a strictly personal defect.

Specified by:
canSee in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
whether the given mob is not blind

canBeLocated

public boolean canBeLocated(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given physical object can be located by magical means. Applies mostly to items.

Specified by:
canBeLocated in interface CMFlagLibrary
Parameters:
P - the object to check
Returns:
true if it can be located, false otherwise

canSeeHidden

public boolean canSeeHidden(MOB M)
Description copied from interface: CMFlagLibrary
Returns whether the given mob has the ability to see hidden.

Specified by:
canSeeHidden in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
whether the mob can see hidden

canSeeHiddenItems

public boolean canSeeHiddenItems(MOB M)
Description copied from interface: CMFlagLibrary
Returns whether the given mob has the ability to see hidden items, but not necessarily mobs.

Specified by:
canSeeHiddenItems in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
whether the mob can see hidden items

canSeeInvisible

public boolean canSeeInvisible(MOB M)
Description copied from interface: CMFlagLibrary
Returns whether the given mob has the ability to see invisible.

Specified by:
canSeeInvisible in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
whether the mob can see invisible

canSeeEvil

public boolean canSeeEvil(MOB M)
Description copied from interface: CMFlagLibrary
Returns whether the given mob has the ability to see evil in people/things.

Specified by:
canSeeEvil in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
whether the mob can see evil in people/things

canSeeGood

public boolean canSeeGood(MOB M)
Description copied from interface: CMFlagLibrary
Returns whether the given mob has the ability to see good in people/things.

Specified by:
canSeeGood in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
whether the mob can see good in people/things

canSeeSneakers

public boolean canSeeSneakers(MOB M)
Description copied from interface: CMFlagLibrary
Returns whether the given mob has the ability to see sneaking mobs.

Specified by:
canSeeSneakers in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
whether the mob can see sneaking mobs

canSeeBonusItems

public boolean canSeeBonusItems(MOB M)
Description copied from interface: CMFlagLibrary
Returns whether the given mob has the ability to see magic items as such.

Specified by:
canSeeBonusItems in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
whether the mob can see magic items

canSeeInDark

public boolean canSeeInDark(MOB M)
Description copied from interface: CMFlagLibrary
Returns whether the given mob has the ability to see in the dark.

Specified by:
canSeeInDark in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
whether the mob can see in the dark

canSeeVictims

public boolean canSeeVictims(MOB M)
Description copied from interface: CMFlagLibrary
Returns whether the given mob has the ability to see their enemies in the dark.

Specified by:
canSeeVictims in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
whether the mob can see their enemies in the dark

canSeeInfrared

public boolean canSeeInfrared(MOB M)
Description copied from interface: CMFlagLibrary
Returns whether the given mob has the ability to see warm blooded mobs in the dark.

Specified by:
canSeeInfrared in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
whether the mob can see warm blooded mobs in the dark

canHear

public boolean canHear(MOB M)
Description copied from interface: CMFlagLibrary
Return whether the given mob is deaf or otherwise unable to hear due to a strictly personal defect.

Specified by:
canHear in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
whether the given mob is not deaf

canTrack

public boolean canTrack(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given thing is allowed to do mundane things, such as patrolling or tracking or being mobile.

Specified by:
canTrack in interface CMFlagLibrary
Parameters:
P - the item or mob
Returns:
true if they can mobile and patrol and such

canAutoAttack

public boolean canAutoAttack(MOB M)
Description copied from interface: CMFlagLibrary
Returns whether the given mob is allowed to use their auto attack every tick, if that even applies to this system.

Specified by:
canAutoAttack in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
true if they are allowed to auto-attack

canConcentrate

public boolean canConcentrate(MOB M)
Description copied from interface: CMFlagLibrary
Returns whether the given mob has the ability to concentrate enough to cast spells.

Specified by:
canConcentrate in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
whether the mob can cast spells and concentrate and stuff

canMove

public boolean canMove(MOB M)
Description copied from interface: CMFlagLibrary
Return whether the given mob is able to move at all.

Specified by:
canMove in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
whether the given mob is not frozen

allowsMovement

public boolean allowsMovement(Room R)
Description copied from interface: CMFlagLibrary
Returns whether this room allows mobs or players to enter or leave. Usually a temporary flag.

Specified by:
allowsMovement in interface CMFlagLibrary
Parameters:
R - the room to check
Returns:
true if its ok to enter and leave

allowsMovement

public boolean allowsMovement(Area A)
Description copied from interface: CMFlagLibrary
Returns whether this area allows mobs or players to enter or leave. Usually a temporary flag.

Specified by:
allowsMovement in interface CMFlagLibrary
Parameters:
A - the area to check
Returns:
true if its ok to enter and leave

canSmell

public boolean canSmell(MOB M)
Description copied from interface: CMFlagLibrary
Return whether the given mob is stuffed or otherwise unable to smell due to a strictly personal defect.

Specified by:
canSmell in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
whether the given mob is able to smell

canTaste

public boolean canTaste(MOB M)
Description copied from interface: CMFlagLibrary
Return whether the given mob is able to eat or drink due to the lack of strictly personal defects.

Specified by:
canTaste in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
whether the given mob is able to eat and drink

canSpeak

public boolean canSpeak(MOB M)
Description copied from interface: CMFlagLibrary
Return whether the given mob is mute or otherwise unable to speak due to a strictly personal defect.

Specified by:
canSpeak in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
whether the given mob is not mute

canBreathe

public boolean canBreathe(MOB M)
Description copied from interface: CMFlagLibrary
Return whether the given mob is able to breathe at all due to a strictly personal defect.

Specified by:
canBreathe in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
whether the given mob is able to breathe

canNotBeCamped

public boolean canNotBeCamped(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given mob or item is not allowed to be camped, meaning they won't respawn while someone is just hanging around waiting in the room for them to spawn.

Specified by:
canNotBeCamped in interface CMFlagLibrary
Parameters:
P - the item or mob to check
Returns:
true if they can't be camped

canBreatheThis

public boolean canBreatheThis(MOB M,
                              int atmoResource)
Description copied from interface: CMFlagLibrary
Return whether the given mob is able to breathe the given resource due to their race, usually.

Specified by:
canBreatheThis in interface CMFlagLibrary
Parameters:
M - the mob to check
atmoResource - the Resource to check for breathability
Returns:
whether the given mob is able to breathe that
See Also:
RawMaterial

canBreatheHere

public boolean canBreatheHere(MOB M,
                              Room R)
Description copied from interface: CMFlagLibrary
Return whether the given mob is able to breathe in the given room due to their race and the atmosphere of the room.

Specified by:
canBreatheHere in interface CMFlagLibrary
Parameters:
M - the mob to check
R - the room the mob is trying to breathe in
Returns:
whether the given mob is able to breathe here
See Also:
RawMaterial

canSeeMetal

public boolean canSeeMetal(MOB M)
Description copied from interface: CMFlagLibrary
Returns whether the given mob has the ability to see metal items as such.

Specified by:
canSeeMetal in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
whether the mob can see metal items

isReadable

public boolean isReadable(Item I)
Description copied from interface: CMFlagLibrary
Returns whether the given item is marked as being readable.

Specified by:
isReadable in interface CMFlagLibrary
Parameters:
I - the item to check
Returns:
true if it is readable, false otherwise
See Also:
CMFlagLibrary.setReadable(Item, boolean)

isGettable

public boolean isGettable(Item I)
Description copied from interface: CMFlagLibrary
Returns whether the given item is marked as being gettable.

Specified by:
isGettable in interface CMFlagLibrary
Parameters:
I - the item to check
Returns:
true if it is gettable, false otherwise
See Also:
CMFlagLibrary.setGettable(Item, boolean)

isDroppable

public boolean isDroppable(Item I)
Description copied from interface: CMFlagLibrary
Returns whether the given item is marked as being droppable.

Specified by:
isDroppable in interface CMFlagLibrary
Parameters:
I - the item to check
Returns:
true if it is droppable, false otherwise
See Also:
CMFlagLibrary.setDroppable(Item, boolean)

isRemovable

public boolean isRemovable(Item I)
Description copied from interface: CMFlagLibrary
Returns whether the given item is marked as being removable.

Specified by:
isRemovable in interface CMFlagLibrary
Parameters:
I - the item to check
Returns:
true if it is removable, false otherwise
See Also:
CMFlagLibrary.setRemovable(Item, boolean)

isCataloged

public boolean isCataloged(Environmental E)
Description copied from interface: CMFlagLibrary
Returns whether the given item is marked as being an instance of a mob or item from the catalog.

Specified by:
isCataloged in interface CMFlagLibrary
Parameters:
E - the item or mob to check
Returns:
true if it is cataloged, false otherwise

isWithSeenContents

public boolean isWithSeenContents(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given non-mob (item) has contents which has be seen. Default is true.

Specified by:
isWithSeenContents in interface CMFlagLibrary
Parameters:
P - the item to check
Returns:
true if contents have has seen

isSavable

public boolean isSavable(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given object is marked as being allowed to be saved to the database. Most created objects are, though items and mobs generated by temporary spells often are not.

Specified by:
isSavable in interface CMFlagLibrary
Parameters:
P - the item, mob, whatever to check
Returns:
true if it is saveable, false otherwise
See Also:
CMFlagLibrary.setSavable(Physical, boolean)

setSavable

public void setSavable(Physical P,
                       boolean truefalse)
Description copied from interface: CMFlagLibrary
Sets whether the given object is marked as being allowed to be saved to the database. Most created objects are, though items and mobs generated by temporary spells often are not.

Specified by:
setSavable in interface CMFlagLibrary
Parameters:
P - the item, mob, whatever to set
truefalse - true if it is saveable, false otherwise
See Also:
CMFlagLibrary.isSavable(Physical)

setReadable

public void setReadable(Item I,
                        boolean truefalse)
Description copied from interface: CMFlagLibrary
Sets whether the given item is marked as being readable.

Specified by:
setReadable in interface CMFlagLibrary
Parameters:
I - the item to set
truefalse - true if readable, false otherwise
See Also:
CMFlagLibrary.isReadable(Item)

isEnspelled

public boolean isEnspelled(Physical F)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, whatever is marked as being affected by an uninvokeable spell, chant, prayer, or whatever.

Specified by:
isEnspelled in interface CMFlagLibrary
Parameters:
F - the room, item, or mob to check
Returns:
true if it is enspelled, false otherwise

setGettable

public void setGettable(Item I,
                        boolean truefalse)
Description copied from interface: CMFlagLibrary
Sets whether the given item is marked as being gettable.

Specified by:
setGettable in interface CMFlagLibrary
Parameters:
I - the item to set
truefalse - true if gettable, false otherwise
See Also:
CMFlagLibrary.isGettable(Item)

setDroppable

public void setDroppable(Item I,
                         boolean truefalse)
Description copied from interface: CMFlagLibrary
Sets whether the given item is marked as being droppable.

Specified by:
setDroppable in interface CMFlagLibrary
Parameters:
I - the item to set
truefalse - true if droppable, false otherwise
See Also:
CMFlagLibrary.isDroppable(Item)

setRemovable

public void setRemovable(Item I,
                         boolean truefalse)
Description copied from interface: CMFlagLibrary
Sets whether the given item is marked as being removable.

Specified by:
setRemovable in interface CMFlagLibrary
Parameters:
I - the item to set
truefalse - true if removable, false otherwise
See Also:
CMFlagLibrary.isRemovable(Item)

isSeeable

public boolean isSeeable(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, room, whatever is seeable at all. This is beyond invisibility to the metaphysically unseeable.

Specified by:
isSeeable in interface CMFlagLibrary
Parameters:
P - the room, mob, or item to check
Returns:
true if it is seeable

isCloaked

public boolean isCloaked(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, room, whatever is cloaked. This prevents a kind of global awareness, not connected to local seeability.

Specified by:
isCloaked in interface CMFlagLibrary
Parameters:
P - the room, mob, or item to check
Returns:
true if it is cloaked

isHidden

public boolean isHidden(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, room, whatever is hidden.

Specified by:
isHidden in interface CMFlagLibrary
Parameters:
P - the room, mob, or item to check
Returns:
true if it is hidden

isUndead

public boolean isUndead(MOB mob)
Description copied from interface: CMFlagLibrary
Returns whether the given mob is of an undead race type.

Specified by:
isUndead in interface CMFlagLibrary
Parameters:
mob - the mob to check
Returns:
true if it is an undead type, false otherwise

isEggLayer

public boolean isEggLayer(Race race)
Description copied from interface: CMFlagLibrary
Returns whether the given race is of an egg-laying type

Specified by:
isEggLayer in interface CMFlagLibrary
Parameters:
race - the race to check
Returns:
true if it lays eggs, false otherwise

isFish

public boolean isFish(MOB mob)
Description copied from interface: CMFlagLibrary
Returns whether the given mob is of a fishy race type.

Specified by:
isFish in interface CMFlagLibrary
Parameters:
mob - the mob to check
Returns:
true if it is a fishy type, false otherwise

isMarine

public boolean isMarine(MOB mob)
Description copied from interface: CMFlagLibrary
Returns whether the given mob is of a marine race type.

Specified by:
isMarine in interface CMFlagLibrary
Parameters:
mob - the mob to check
Returns:
true if it is a marine type, false otherwise

isOutsider

public boolean isOutsider(MOB mob)
Description copied from interface: CMFlagLibrary
Returns whether the given mob is of an outsider race type.

Specified by:
isOutsider in interface CMFlagLibrary
Parameters:
mob - the mob to check
Returns:
true if it is an outsider type, false otherwise

isInsect

public boolean isInsect(MOB mob)
Description copied from interface: CMFlagLibrary
Returns whether the given mob is of an insect race type.

Specified by:
isInsect in interface CMFlagLibrary
Parameters:
mob - the mob to check
Returns:
true if it is an insect type, false otherwise

isVermin

public boolean isVermin(MOB mob)
Description copied from interface: CMFlagLibrary
Returns whether the given mob is of a vermin race type.

Specified by:
isVermin in interface CMFlagLibrary
Parameters:
mob - the mob to check
Returns:
true if it is a vermin type, false otherwise

isAPlant

public boolean isAPlant(Item I)
Description copied from interface: CMFlagLibrary
Returns whether the given item is of a plant-like type.

Specified by:
isAPlant in interface CMFlagLibrary
Parameters:
I - the item to check
Returns:
true if it is a plant type, false otherwise

isAPlant

public boolean isAPlant(MOB M)
Description copied from interface: CMFlagLibrary
Returns whether the given mob is of a plant-like type.

Specified by:
isAPlant in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
true if it is a plant type, false otherwise

isUnattackable

public boolean isUnattackable(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, whatever is marked as unattackable.

Specified by:
isUnattackable in interface CMFlagLibrary
Parameters:
P - the item, mob, whatever to check
Returns:
true if it is marked unattackable, false otherwise

isInvisible

public boolean isInvisible(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, room, whatever is invisible.

Specified by:
isInvisible in interface CMFlagLibrary
Parameters:
P - the room, mob, or item to check
Returns:
true if it is invisible

isRejuvingItem

public boolean isRejuvingItem(Item I)
Description copied from interface: CMFlagLibrary
Returns whether the given item has an item rejuv actively monitoring it.

Specified by:
isRejuvingItem in interface CMFlagLibrary
Parameters:
I - the item to check
Returns:
true if the item is active rejuv tracked

isReallyEvil

public boolean isReallyEvil(FactionMember M)
Description copied from interface: CMFlagLibrary
Returns whether the given mobby factionmember is evilly aligned due to factions.

Specified by:
isReallyEvil in interface CMFlagLibrary
Parameters:
M - the factionmember to check
Returns:
true if it is evilness

isEvil

public boolean isEvil(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, room, whatever is evilly aligned.

Specified by:
isEvil in interface CMFlagLibrary
Parameters:
P - the room, mob, or item to check
Returns:
true if it is evilness

isOpenAccessibleContainer

public boolean isOpenAccessibleContainer(Item I)
Description copied from interface: CMFlagLibrary
Returns whether the given item is a container which, when open, has accessible contents, and is also open.

Specified by:
isOpenAccessibleContainer in interface CMFlagLibrary
Parameters:
I - the item to check
Returns:
true if the contents are accessible right now.

isTracking

public boolean isTracking(MOB M)
Description copied from interface: CMFlagLibrary
Returns whether the given player or npc mob is being driven (tracking) towards something

Specified by:
isTracking in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
true if its a tracking mob, false otherwise

isATrackingMonster

public boolean isATrackingMonster(MOB M)
Description copied from interface: CMFlagLibrary
Returns whether the given mob is both a non-player npc, and is currently being driven (tracking) towards something.

Specified by:
isATrackingMonster in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
true if its a tracking npc, false otherwise

isReallyGood

public boolean isReallyGood(FactionMember M)
Description copied from interface: CMFlagLibrary
Returns whether the given mobby factionmember is goodly aligned due to factions.

Specified by:
isReallyGood in interface CMFlagLibrary
Parameters:
M - the factionmember to check
Returns:
true if it is goodness

getAge

public java.lang.String getAge(MOB M)
Description copied from interface: CMFlagLibrary
Returns the friendly descriptive age of the given mob, whether baby, child, player, whatever.

Specified by:
getAge in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
the friendly age of the mob

isGood

public boolean isGood(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, room, whatever is goodly aligned.

Specified by:
isGood in interface CMFlagLibrary
Parameters:
P - the room, mob, or item to check
Returns:
true if it is goodness

isTrapped

public boolean isTrapped(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given object has a trap set on it. Whether triggered or no.

Specified by:
isTrapped in interface CMFlagLibrary
Parameters:
P - the object to check
Returns:
true if there's a trap, false otherwise

isDeadlyOrMaliciousEffect

public boolean isDeadlyOrMaliciousEffect(PhysicalAgent P)
Description copied from interface: CMFlagLibrary
Returns whether the given room, item, whatever has a deadly effect, such as a trap, autodeath behavior, or a property with a malicious spell in it.

Specified by:
isDeadlyOrMaliciousEffect in interface CMFlagLibrary
Parameters:
P - the room, item, whatever to check
Returns:
true if it has a potentially malicious effect

isPossiblyAggressive

public boolean isPossiblyAggressive(MOB M)
Description copied from interface: CMFlagLibrary
Returns whether the first given mob is potentially or probably agressive.

Specified by:
isPossiblyAggressive in interface CMFlagLibrary
Parameters:
M - the mob who might be aggressive
Returns:
true if the mob might be aggressive

isAggressiveTo

public boolean isAggressiveTo(MOB M,
                              MOB toM)
Description copied from interface: CMFlagLibrary
Returns whether the first given mob is potentially or probably agressive to the second mob.

Specified by:
isAggressiveTo in interface CMFlagLibrary
Parameters:
M - the mob who might be aggressive
toM - the mob who might be in trouble
Returns:
true if the first mob might be aggressive

getAlignmentName

public java.lang.String getAlignmentName(Environmental E)
Description copied from interface: CMFlagLibrary
Returns the simple word that would describe the alignment of the given mob or item or whatever.

Specified by:
getAlignmentName in interface CMFlagLibrary
Parameters:
E - the mob or item or whatever
Returns:
the name of its alignment, e.g. good, evil, neutral

isReallyNeutral

public boolean isReallyNeutral(FactionMember M)
Description copied from interface: CMFlagLibrary
Returns whether the given mobby factionmember is neutrally aligned due to factions.

Specified by:
isReallyNeutral in interface CMFlagLibrary
Parameters:
M - the factionmember to check
Returns:
true if it is neutral

isNeutral

public boolean isNeutral(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, room, whatever is neutral, which is to say, neither good nor evil.

Specified by:
isNeutral in interface CMFlagLibrary
Parameters:
P - the room, mob, or item to check
Returns:
true if it is neutral

isSneaking

public boolean isSneaking(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given mob, item whatever is sneaking

Specified by:
isSneaking in interface CMFlagLibrary
Parameters:
P - the object to check
Returns:
true if its a sneaking mob, false otherwise

isABonusItems

public boolean isABonusItems(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given mob, item, whatever is flagged as being magical.

Specified by:
isABonusItems in interface CMFlagLibrary
Parameters:
P - the mob/item/whatever to check
Returns:
true if its flagged magical, false otherwise

isInDark

public boolean isInDark(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given mob, item, whatever is currently flagged dark

Specified by:
isInDark in interface CMFlagLibrary
Parameters:
P - the mob/item/whatever to check
Returns:
true if its the dark, false otherwise

isLightSource

public boolean isLightSource(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given mob, item, whatever is currently flagged as a light source

Specified by:
isLightSource in interface CMFlagLibrary
Parameters:
P - the mob/item/whatever to check
Returns:
true if its a light source, false otherwise

isGlowing

public boolean isGlowing(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, whatever is glowing.

Specified by:
isGlowing in interface CMFlagLibrary
Parameters:
P - the item, mob, whatever to check
Returns:
true if it is glowing, false otherwise

isGolem

public boolean isGolem(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, whatever is marked as a golem.

Specified by:
isGolem in interface CMFlagLibrary
Parameters:
P - the item, mob, whatever to check
Returns:
true if it is a golem, false otherwise

isSleeping

public boolean isSleeping(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, whatever is sleeping.

Specified by:
isSleeping in interface CMFlagLibrary
Parameters:
P - the item, mob, whatever to check
Returns:
true if it is sleeping, false otherwise

isSitting

public boolean isSitting(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, whatever is sitting.

Specified by:
isSitting in interface CMFlagLibrary
Parameters:
P - the item, mob, whatever to check
Returns:
true if it is sitting, false otherwise

isFlying

public boolean isFlying(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, whatever is flying.

Specified by:
isFlying in interface CMFlagLibrary
Parameters:
P - the item, mob, whatever to check
Returns:
true if it is flying, false otherwise

isClimbing

public boolean isClimbing(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, whatever is climbing.

Specified by:
isClimbing in interface CMFlagLibrary
Parameters:
P - the item, mob, whatever to check
Returns:
true if it is climbing, false otherwise

isCrawlable

public boolean isCrawlable(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given room, area, exit, whatever is crawlable (not necc. crawling).

Specified by:
isCrawlable in interface CMFlagLibrary
Parameters:
P - the room, area, exit, whatever to check
Returns:
true if it is crawlable, false otherwise

isSwimming

public boolean isSwimming(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, whatever is marked as swimming/floating.

Specified by:
isSwimming in interface CMFlagLibrary
Parameters:
P - the item, mob, whatever to check
Returns:
true if it is marked swimming, false otherwise

isFalling

public boolean isFalling(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, whatever is marked as falling.

Specified by:
isFalling in interface CMFlagLibrary
Parameters:
P - the item, mob, whatever to check
Returns:
true if it is marked falling, false otherwise

getFallingDirection

public int getFallingDirection(Physical P)
Description copied from interface: CMFlagLibrary
Returns which direction, if any, the given object is falling.

Specified by:
getFallingDirection in interface CMFlagLibrary
Parameters:
P - the item, mob, whatever to check
Returns:
direction it is falling
See Also:
Directions

isRunningLongCommand

public boolean isRunningLongCommand(MOB M)
Description copied from interface: CMFlagLibrary
Returns whether the given player is executing a command taking longer than 30 seconds

Specified by:
isRunningLongCommand in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
true if it is long running commanding, false otherwise

isSwimmingInWater

public boolean isSwimmingInWater(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, whatever is swimming/floating in a watery room.

Specified by:
isSwimmingInWater in interface CMFlagLibrary
Parameters:
P - the item, mob, whatever to check
Returns:
true if it is swimming in water, false otherwise

isInWilderness

public boolean isInWilderness(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given mob, item, room, whatever is in a outdoors non-city room.

Specified by:
isInWilderness in interface CMFlagLibrary
Parameters:
P - the mob, item, room, whatever to check
Returns:
true if it is outdoors, false otherwise

canBeHeardMovingBy

public boolean canBeHeardMovingBy(Physical heard,
                                  MOB hearer)
Description copied from interface: CMFlagLibrary
Returns whether the given hearer mob can hear the given mob or object moving around. Mostly by comparing the sneaking and hear sneakers as well as general hearing ability.

Specified by:
canBeHeardMovingBy in interface CMFlagLibrary
Parameters:
heard - the thing or mob moving around
hearer - the mob who wants to hear it
Returns:
whether the given hearer can hear the heard

canBeHeardSpeakingBy

public boolean canBeHeardSpeakingBy(Physical heard,
                                    MOB hearer)
Description copied from interface: CMFlagLibrary
Returns whether the given hearer mob can hear the given mob or object speaking. Mostly just checks whether the hearer can hear.

Specified by:
canBeHeardSpeakingBy in interface CMFlagLibrary
Parameters:
heard - the thing or mob speaking
hearer - the mob who wants to hear it
Returns:
whether the given hearer can hear the heard

canSenseMoving

public boolean canSenseMoving(Physical sensed,
                              MOB sensor)
Description copied from interface: CMFlagLibrary
Returns whether the given sensor can see or hear the given sensed mob or object moving around.

Specified by:
canSenseMoving in interface CMFlagLibrary
Parameters:
sensed - the thing being sensed
sensor - the mob who wants to sense it
Returns:
true if the moving sensed can be sensed by the sensor

canSenseEnteringLeaving

public boolean canSenseEnteringLeaving(Physical sensed,
                                       MOB sensor)
Description copied from interface: CMFlagLibrary
Returns whether the given sensor mob can sense the given mob or object coming and going. Mostly by comparing the sneaking and hear sneakers as well as general seeing and hearing ability.

Specified by:
canSenseEnteringLeaving in interface CMFlagLibrary
Parameters:
sensed - the thing or mob moving around
sensor - the mob who wants to sense it
Returns:
whether the given sensor can sense the sensed

validCheck

public java.lang.String validCheck(Physical P)
Description copied from interface: CMFlagLibrary
Checks the system validity of mobs, items, and rooms, and returns a report if there's a problem and it should be destroyed. If a mob report return an asterisk, then it probably means he just needs killing, not destroying.

Specified by:
validCheck in interface CMFlagLibrary
Parameters:
P - the room, mob, or item to check
Returns:
null if all is well, and a reason otherwise

isAliveAwakeMobileUnbound

public boolean isAliveAwakeMobileUnbound(MOB mob,
                                         boolean quiet)
Description copied from interface: CMFlagLibrary
Returns whether the given mob is alive, awake, mobile and not bound up. With optional explanation!

Specified by:
isAliveAwakeMobileUnbound in interface CMFlagLibrary
Parameters:
mob - the mob to check
quiet - true to not tell the mob what's wrong
Returns:
true if he/she is alive, awake, etc
See Also:
CMFlagLibrary.isAliveAwakeMobile(MOB, boolean)

isAliveAwakeMobile

public boolean isAliveAwakeMobile(MOB mob,
                                  boolean quiet)
Description copied from interface: CMFlagLibrary
Returns whether the given mob is alive, awake, and mobile. With optional explanation!

Specified by:
isAliveAwakeMobile in interface CMFlagLibrary
Parameters:
mob - the mob to check
quiet - true to not tell the mob what's wrong
Returns:
true if he/she is alive, awake, etc
See Also:
CMFlagLibrary.isAliveAwakeMobileUnbound(MOB, boolean)

isStanding

public boolean isStanding(MOB mob)
Description copied from interface: CMFlagLibrary
Returns whether the given mob is standing (not sitting or sleeping) marked as swimming/floating.

Specified by:
isStanding in interface CMFlagLibrary
Parameters:
mob - the mob to check
Returns:
true if it is standing, false otherwise

isBound

public boolean isBound(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, whatever is marked as bound.

Specified by:
isBound in interface CMFlagLibrary
Parameters:
P - the item, mob, whatever to check
Returns:
true if it is marked bound, false otherwise
See Also:
CMFlagLibrary.isBoundOrHeld(Physical)

isBoundOrHeld

public boolean isBoundOrHeld(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, whatever is marked as bound or is paralyzed.

Specified by:
isBoundOrHeld in interface CMFlagLibrary
Parameters:
P - the item, mob, whatever to check
Returns:
true if it is bound or paralyzed, false otherwise
See Also:
CMFlagLibrary.isBound(Physical)

isOnFire

public boolean isOnFire(Physical seen)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, whatever is on fire.

Specified by:
isOnFire in interface CMFlagLibrary
Parameters:
seen - the item, mob, whatever to check
Returns:
true if it is on fire, false otherwise

isFloatingFreely

public boolean isFloatingFreely(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given item, mob, whatever is floating freely and uncontrolled, as when not under gravity.

Specified by:
isFloatingFreely in interface CMFlagLibrary
Parameters:
P - the item, mob, whatever to check
Returns:
true if it is floating, false otherwise

getHideScore

public int getHideScore(Physical seen)
Description copied from interface: CMFlagLibrary
Deprecated, but returns the total hide score for the given mob, item, whatever.

Specified by:
getHideScore in interface CMFlagLibrary
Parameters:
seen - the mob, item trying to be hidden
Returns:
the total hide score

getDetectScore

public int getDetectScore(MOB seer)
Description copied from interface: CMFlagLibrary
Deprecated, but returns the total hide detection score for the given mob.

Specified by:
getDetectScore in interface CMFlagLibrary
Parameters:
seer - the mob trying to see hidden
Returns:
the total hide detection score

canBeSeenBy

public boolean canBeSeenBy(Environmental seen,
                           MOB seer)
Description copied from interface: CMFlagLibrary
Returns whether the given seen mob or item or room or whatever can be seen by the given seer, given conditions, lighting, hidden, etc.

Specified by:
canBeSeenBy in interface CMFlagLibrary
Parameters:
seen - the thing to be seen.
seer - the seer who wants to see it
Returns:
true if the seer can see the seen

canBarelyBeSeenBy

public boolean canBarelyBeSeenBy(Environmental seen,
                                 MOB seer)
Description copied from interface: CMFlagLibrary
Returns whether the given seen mob or item or room or whatever can only BARELY be seen by the given seer, given moon lightning mostly. Always returns false unless the BARELY applies.

Specified by:
canBarelyBeSeenBy in interface CMFlagLibrary
Parameters:
seen - the thing to be seen.
seer - the seer who wants to see it
Returns:
true if the seer can see the seen BARELY

canActAtAll

public boolean canActAtAll(Tickable affecting)
Description copied from interface: CMFlagLibrary
Returns whether the given affecting (usually a mob) is alive, awake, mobile, and officially in the game. This is a lighter test than some of the others that also check if its busy.

Specified by:
canActAtAll in interface CMFlagLibrary
Parameters:
affecting - the thing to check
Returns:
true if the thing can act at all

canFreelyBehaveNormal

public boolean canFreelyBehaveNormal(Tickable affecting)
Description copied from interface: CMFlagLibrary
Returns whether the given affecting (usually a mob) is alive, awake, mobile, and officially in the game, and not in combat, sufficiently healthy, and not following anyone.

Specified by:
canFreelyBehaveNormal in interface CMFlagLibrary
Parameters:
affecting - the thing to check
Returns:
true if the thing can act freely

isSeenTheSameWay

public boolean isSeenTheSameWay(MOB seer,
                                Physical seen1,
                                Physical seen2)
Description copied from interface: CMFlagLibrary
Returns whether the two given physical objects appear the exact same way to the given seer mob. This is for determining duplicates in item lists mostly.

Specified by:
isSeenTheSameWay in interface CMFlagLibrary
Parameters:
seer - the mob who is seeing stuff
seen1 - the first object being seen
seen2 - the first object being seen
Returns:
true if the two seens appear the same way

isWaterWorthy

public boolean isWaterWorthy(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given mob, item, whatever would sink or float. If it's water worthy, it will float. This checks things like the material of items, the swimming status of mobs, the boats they are in, etc.

Specified by:
isWaterWorthy in interface CMFlagLibrary
Parameters:
P - the item, mob, whatever to check
Returns:
true if it is water worthy, false otherwise.

isInFlight

public boolean isInFlight(Physical P)
Description copied from interface: CMFlagLibrary
Returns whether the given mob, item, whatever would fly or fall. If it's flight worthy, it will fly. This checks things like the flight status of items, and mobs, the vehicles they are in, etc.

Specified by:
isInFlight in interface CMFlagLibrary
Parameters:
P - the item, mob, whatever to check
Returns:
true if it is in flight, false otherwise.

isAnimalIntelligence

public boolean isAnimalIntelligence(MOB M)
Description copied from interface: CMFlagLibrary
Returns whether the given mob is of low animal intelligence.

Specified by:
isAnimalIntelligence in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
true if its of animal intelligence, false otherwise

isVegetable

public boolean isVegetable(MOB M)
Description copied from interface: CMFlagLibrary
Returns whether the given mob is of a vegetable race type.

Specified by:
isVegetable in interface CMFlagLibrary
Parameters:
M - the mob to check
Returns:
true if it is a vegetable type, false otherwise

isMobile

public boolean isMobile(PhysicalAgent P)
Description copied from interface: CMFlagLibrary
Returns whether the given mob, item, whatever has a behavior making it move around.

Specified by:
isMobile in interface CMFlagLibrary
Parameters:
P - the mob, item, whatever to check
Returns:
true if the object will move around, false otherwise

flaggedBehaviors

public java.util.List<Behavior> flaggedBehaviors(PhysicalAgent P,
                                                 long flag)
Description copied from interface: CMFlagLibrary
Returns the list of behaviors that have the given behavior flag(s) set.

Specified by:
flaggedBehaviors in interface CMFlagLibrary
Parameters:
P - the mob, item, room, whatever
flag - the behavior flags
Returns:
the list of behaviors that have the given flag(s) set.
See Also:
Behavior.FLAG_LEGALBEHAVIOR

domainAnyAffects

public java.util.List<Ability> domainAnyAffects(Physical P,
                                                int domain)
Description copied from interface: CMFlagLibrary
Returns the list of effects that have are part of the given ability domain.

Specified by:
domainAnyAffects in interface CMFlagLibrary
Parameters:
P - the mob, item, room, whatever
domain - the ability domain
Returns:
the list of effects in the given domain.
See Also:
Ability.DOMAIN_ABJURATION

domainAffects

public java.util.List<Ability> domainAffects(Physical P,
                                             int domain)
Description copied from interface: CMFlagLibrary
Returns the list of effects that have are part of the given ability domain.

Specified by:
domainAffects in interface CMFlagLibrary
Parameters:
P - the mob, item, room, whatever
domain - the ability domain
Returns:
the list of effects in the given domain.
See Also:
Ability.DOMAIN_ABJURATION

domainAbilities

public java.util.List<Ability> domainAbilities(MOB M,
                                               int domain)
Description copied from interface: CMFlagLibrary
Returns the list of abilities that have are part of the given ability domain.

Specified by:
domainAbilities in interface CMFlagLibrary
Parameters:
M - the mob to check
domain - the ability domain
Returns:
the list of abilities in the given domain.
See Also:
Ability.DOMAIN_ABJURATION

flaggedAnyAffects

public java.util.List<Ability> flaggedAnyAffects(Physical P,
                                                 long flag)
Description copied from interface: CMFlagLibrary
Returns the list of effects that have the given ability flag(s) set.

Specified by:
flaggedAnyAffects in interface CMFlagLibrary
Parameters:
P - the mob, item, room, whatever
flag - the ability flags
Returns:
the list of effects that have the given flag(s) set.
See Also:
Ability.flags()

matchedAffects

public java.util.List<Ability> matchedAffects(MOB invoker,
                                              Physical P,
                                              long flag,
                                              int abilityCode,
                                              int domain)
Description copied from interface: CMFlagLibrary
Returns the list of effects that are on the given physical, and were invoked by the given invoker. The ability flag, abilityCode, and domain are optional, and may be -1 to ignore.

Specified by:
matchedAffects in interface CMFlagLibrary
Parameters:
invoker - the invoker to search for, or null
P - the object to check for effects, REQUIRED
flag - -1, or an Ability Flag
abilityCode - -1, or an ability Code
domain - -1, or an ability domain
Returns:
the list of effects that match
See Also:
Ability.DOMAIN_ABJURATION, Ability.flags(), Ability.ACODE_CHANT

flaggedAffects

public java.util.List<Ability> flaggedAffects(Physical P,
                                              long flag)
Description copied from interface: CMFlagLibrary
Returns the list of effects that have the given ability flag(s) set.

Specified by:
flaggedAffects in interface CMFlagLibrary
Parameters:
P - the mob, item, room, whatever
flag - the ability flags
Returns:
the list of effects that have the given flag(s) set.
See Also:
Ability.flags()

flaggedAbilities

public java.util.List<Ability> flaggedAbilities(MOB M,
                                                long flag)
Description copied from interface: CMFlagLibrary
Returns the list of Abilities that have the given ability flag(s) set.

Specified by:
flaggedAbilities in interface CMFlagLibrary
Parameters:
M - the mob
flag - the ability flags
Returns:
the list of abilities that have the given flag(s) set.
See Also:
Ability.flags()

canAccess

public boolean canAccess(MOB mob,
                         Area A)
Description copied from interface: CMFlagLibrary
Returns whether the given mob can 'access' the given area, due to it not being hidden and sharing a timezone. Usually applies to knowledge of, as opposed to entry.

Specified by:
canAccess in interface CMFlagLibrary
Parameters:
mob - the mob who wants to access an area
A - the area to access
Returns:
true if the mob can 'access' the area

canAccess

public boolean canAccess(MOB mob,
                         Room R)
Description copied from interface: CMFlagLibrary
Returns whether the given mob can 'access' the given room, due to it not being hidden and sharing a timezone. Usually applies to knowledge of, as opposed to entry.

Specified by:
canAccess in interface CMFlagLibrary
Parameters:
mob - the mob who wants to access a room
R - the room to access
Returns:
true if the mob can 'access' the room

isMetal

public boolean isMetal(Environmental E)
Description copied from interface: CMFlagLibrary
Returns whether the given mob (item usually) is made of metal or mithril.

Specified by:
isMetal in interface CMFlagLibrary
Parameters:
E - the item (or mob) to check
Returns:
true if its made of metal, false otherwise

isAiryRoom

public boolean isAiryRoom(Room R)
Description copied from interface: CMFlagLibrary
Returns whether the given room, whatever is airy, such as an in the air, or an open space.

Specified by:
isAiryRoom in interface CMFlagLibrary
Parameters:
R - the room to check
Returns:
true if it is airy, false otherwise

isWateryRoom

public boolean isWateryRoom(Room R)
Description copied from interface: CMFlagLibrary
Returns whether the given room, whatever is watery, such as a water surface, underwater, etc.

Specified by:
isWateryRoom in interface CMFlagLibrary
Parameters:
R - the room to check
Returns:
true if it is watery, false otherwise

isWaterySurfaceRoom

public boolean isWaterySurfaceRoom(Room R)
Returns whether the given room, whatever is watery, such as a water surface, etc.

Specified by:
isWaterySurfaceRoom in interface CMFlagLibrary
Parameters:
R - the room to check
Returns:
true if it is water surfacy, false otherwise

isDeepWaterySurfaceRoom

public boolean isDeepWaterySurfaceRoom(Room R)
Returns whether the given room, whatever is the surface of deep water, such as a water surface, etc. with an underwater room

Specified by:
isDeepWaterySurfaceRoom in interface CMFlagLibrary
Parameters:
R - the room to check
Returns:
true if it is water surfacy, false otherwise

isUnderWateryRoom

public boolean isUnderWateryRoom(Room R)
Returns whether the given room, whatever is watery, such as an underwater, etc.

Specified by:
isUnderWateryRoom in interface CMFlagLibrary
Parameters:
R - the room to check
Returns:
true if it is underwatery, false otherwise

isInTheGame

public boolean isInTheGame(Environmental E,
                           boolean reqInhabitation)
Description copied from interface: CMFlagLibrary
Returns whether the given mob, item, room, area, whatever is actually in the game, and possibly in a room, or is just temporary or cached.

Specified by:
isInTheGame in interface CMFlagLibrary
Parameters:
E - the mob, item, whatever to check
reqInhabitation - true if it must be a in room, false otherwise
Returns:
true if it is in the game, false otherwise

isInTheGame

public boolean isInTheGame(MOB E,
                           boolean reqInhabitation)
Description copied from interface: CMFlagLibrary
Returns whether the given MOB is actually in the game, and in a room, or is just temporary or cached.

Specified by:
isInTheGame in interface CMFlagLibrary
Parameters:
E - the MOB to check
reqInhabitation - true if it must be a in room, false otherwise
Returns:
true if it is in the game, false otherwise

isInTheGame

public boolean isInTheGame(Item E,
                           boolean reqInhabitation)
Description copied from interface: CMFlagLibrary
Returns whether the given Item is actually in the game, and in a room, or is just temporary or cached.

Specified by:
isInTheGame in interface CMFlagLibrary
Parameters:
E - the Item to check
reqInhabitation - true if it must be a in room, false otherwise
Returns:
true if it is in the game, false otherwise

isInTheGame

public boolean isInTheGame(Room E,
                           boolean reqInhabitation)
Description copied from interface: CMFlagLibrary
Returns whether the given Room is actually in the game, or is just temporary or cached.

Specified by:
isInTheGame in interface CMFlagLibrary
Parameters:
E - the Room to check
reqInhabitation - meaningless
Returns:
true if it is in the game, false otherwise

isInTheGame

public boolean isInTheGame(Area E,
                           boolean reqInhabitation)
Description copied from interface: CMFlagLibrary
Returns whether the given Area is actually in the game, or is just temporary or cached.

Specified by:
isInTheGame in interface CMFlagLibrary
Parameters:
E - the Area to check
reqInhabitation - meaningless
Returns:
true if the area is in the game, false otherwise

isEnchanted

public boolean isEnchanted(Item I)
Description copied from interface: CMFlagLibrary
Returns whether the given item has some effect other than a disease, poison, or standard property.

Specified by:
isEnchanted in interface CMFlagLibrary
Parameters:
I - the item to check
Returns:
true for a spell or some other enchantment, false otherwise

isAgingThing

public boolean isAgingThing(Physical P)

isChild

public boolean isChild(Environmental E)
Description copied from interface: CMFlagLibrary
Returns whether the given mob, item (baby) whatever is a baby, or a mob child born from something, what its age still being tracked by property.

Specified by:
isChild in interface CMFlagLibrary
Parameters:
E - the potential child
Returns:
true if its a child, false otherwise

isBaby

public boolean isBaby(Environmental E)
Description copied from interface: CMFlagLibrary
Returns whether the given mob (item usually) is a baby waiting to grow up.

Specified by:
isBaby in interface CMFlagLibrary
Parameters:
E - the item to check
Returns:
true if its a baby, false otherwise

isStillAffectedBy

public boolean isStillAffectedBy(Physical obj,
                                 java.util.List<Ability> oneOf,
                                 boolean anyTallF)
Description copied from interface: CMFlagLibrary
Checks the list of ability objects against the effects of the given mob, item or whatever.

Specified by:
isStillAffectedBy in interface CMFlagLibrary
Parameters:
obj - the mob, item, room, whatever
oneOf - the list of abilities that might be affects
anyTallF - true to return true on ANY, false to return true only for ALL
Returns:
true if the conditions are met, false otherwise

getDispositionDescList

public java.lang.String getDispositionDescList(Physical obj,
                                               boolean useVerbs)
Description copied from interface: CMFlagLibrary
Returns a command-delimited list of dispassionate description of the disposition of the given physical mob, item, whatever.

Specified by:
getDispositionDescList in interface CMFlagLibrary
Parameters:
obj - the disposed physical mob, item, whatever
useVerbs - true to return an active phrase, flags for a state phrase
Returns:
the comma-delimited list of descriptive dispositions

getSensesDescList

public java.lang.String getSensesDescList(Physical obj,
                                          boolean useVerbs)
Description copied from interface: CMFlagLibrary
Returns a command-delimited list of dispassionate description of the senses of the given physical mob, item, whatever.

Specified by:
getSensesDescList in interface CMFlagLibrary
Parameters:
obj - the sensing physical mob, item, whatever
useVerbs - true to return an active phrase, flags for a state phrase
Returns:
the comma-delimited list of descriptive senses

getDispositionIndex

public int getDispositionIndex(java.lang.String name)
Description copied from interface: CMFlagLibrary
Returns the enumerated disposition index associated with the given disposition name, such as ISSWIMMING, etc.

Specified by:
getDispositionIndex in interface CMFlagLibrary
Parameters:
name - the disposition name
Returns:
the index

getSensesIndex

public int getSensesIndex(java.lang.String name)
Description copied from interface: CMFlagLibrary
Returns the enumerated senses index associated with the given senses name, such as CANSEEDARK, etc.

Specified by:
getSensesIndex in interface CMFlagLibrary
Parameters:
name - the senses name
Returns:
the index

getAbilityType

public java.lang.String getAbilityType(Ability A)
Description copied from interface: CMFlagLibrary
Returns the ability type/code name for the given Ability.

Specified by:
getAbilityType in interface CMFlagLibrary
Parameters:
A - the Ability
Returns:
"" or the Ability code of the given Ability
See Also:
Ability.ACODE_CHANT

getAbilityType_

public java.lang.String getAbilityType_(Ability A)
Description copied from interface: CMFlagLibrary
Returns the ability type/code name for the given Ability. This one has any spaces in the type replaced with _

Specified by:
getAbilityType_ in interface CMFlagLibrary
Parameters:
A - the Ability
Returns:
"" or the Ability code of the given Ability
See Also:
Ability.ACODE_CHANT

getAbilityDomain

public java.lang.String getAbilityDomain(Ability A)
Description copied from interface: CMFlagLibrary
Returns the ability domain name for the given Ability.

Specified by:
getAbilityDomain in interface CMFlagLibrary
Parameters:
A - the Ability
Returns:
"" or the Ability domain name of the given Ability
See Also:
Ability.DOMAIN_DESCS

getAbilityType

public int getAbilityType(java.lang.String name)
Description copied from interface: CMFlagLibrary
Returns the ability type code for the given ability type name.

Specified by:
getAbilityType in interface CMFlagLibrary
Parameters:
name - the name of the given ability type
Returns:
the Ability type code of the given name
See Also:
Ability.ACODE_CHANT

getAbilityType_

public int getAbilityType_(java.lang.String name)
Description copied from interface: CMFlagLibrary
Returns the ability type code for the given ability type name. This one has any spaces in the type replaced with _

Specified by:
getAbilityType_ in interface CMFlagLibrary
Parameters:
name - the name of the given ability type
Returns:
the Ability type code of the given name
See Also:
Ability.ACODE_CHANT

getAbilityDomain

public int getAbilityDomain(java.lang.String name)
Description copied from interface: CMFlagLibrary
Returns the ability domain bitmask for the given ability domain name.

Specified by:
getAbilityDomain in interface CMFlagLibrary
Parameters:
name - the name of the given ability domain
Returns:
"" or the Ability code of the given name
See Also:
Ability.DOMAIN_DESCS

isAControlledFollower

public boolean isAControlledFollower(MOB invoker,
                                     MOB mob,
                                     Ability A)
Description copied from interface: CMFlagLibrary
Returns whether the given invoker mob is controlling the given mob, who is following the invoker, optionally using the given Ability.

Specified by:
isAControlledFollower in interface CMFlagLibrary
Parameters:
invoker - the mob who might be the leader
mob - the mob who is following the leader
A - the ability that might be causing the control
Returns:
true if the mob is a controlled follower

hasAControlledFollower

public boolean hasAControlledFollower(MOB invoker,
                                      Ability A)
Description copied from interface: CMFlagLibrary
Returns whether the given invoker mob is controlling a mob, who is following the invoker, optionally using the given Ability.

Specified by:
hasAControlledFollower in interface CMFlagLibrary
Parameters:
invoker - the mob who might be the leader
A - the ability that might be causing the control
Returns:
true if the mob is a controlled follower

getDispositionBlurbs

public java.lang.String getDispositionBlurbs(Physical seen,
                                             MOB seer)
Description copied from interface: CMFlagLibrary
Returns the disposition blurbs that apply to the given seen mob, item, room, whatever, as soon by the given seer mob. These are friendly colored string

Specified by:
getDispositionBlurbs in interface CMFlagLibrary
Parameters:
seen - the mob, item, room, whatever
seer - the one seeing
Returns:
the disposition blurbs list

isAlcoholEffect

protected boolean isAlcoholEffect(Ability A)

isAlcoholic

public boolean isAlcoholic(Physical thang)
Description copied from interface: CMFlagLibrary
Returns whether the given item is affected by or contains alcohol as a drinkable.

Specified by:
isAlcoholic in interface CMFlagLibrary
Parameters:
thang - the mob or item to check
Returns:
true if it is alcohol

getPresentDispositionVerb

public java.lang.String getPresentDispositionVerb(Physical seen,
                                                  CMFlagLibrary.ComingOrGoing flag_msgType)
Description copied from interface: CMFlagLibrary
Returns the present-tense verb that applies to the disposition of the given seen thing, given the detail about how they verbbing.

Specified by:
getPresentDispositionVerb in interface CMFlagLibrary
Parameters:
seen - the mob (or item) that is verbbing
flag_msgType - whether they are arriving, leaving, or sitting there verbbing
Returns:
the appropriate verb word for their disposition

getDispositionStateList

public java.lang.String getDispositionStateList(MOB mob)
Description copied from interface: CMFlagLibrary
Returns a comma delimited list of the senses masks on the given mob. These are lowercase state phrases.

Specified by:
getDispositionStateList in interface CMFlagLibrary
Parameters:
mob - the mob to check
Returns:
the list of senses mask words

getSensesStateList

public java.lang.String getSensesStateList(MOB mob)
Description copied from interface: CMFlagLibrary
Returns a comma delimited list of the senses masks on the given mob. These are lowercase state phrases.

Specified by:
getSensesStateList in interface CMFlagLibrary
Parameters:
mob - the mob to check
Returns:
the list of senses mask words