CMObject
, Tickable
, CMFlagLibrary
, CMLibrary
, java.lang.Cloneable
, java.lang.Comparable<CMObject>
public class Sense extends StdLibrary implements CMFlagLibrary
CMFlagLibrary.ComingOrGoing
idConverter
isDebugging, name, serviceClient, tickStatus
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_BALLISTICK, TICKID_CLAN, TICKID_CLANITEM, TICKID_DEADBODY_DECAY, TICKID_ELECTRONICS, TICKID_EMAIL, TICKID_EVENT, 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_SHORTERMASK, TICKID_SOLITARYMASK, TICKID_SPECIALCOMBAT, TICKID_SPECIALMANEUVER, TICKID_SPELL_AFFECT, TICKID_SUPPORT, TICKID_TIMEAUCTION, TICKID_TRAP_DESTRUCTION, TICKID_TRAP_RESET
Constructor | Description |
---|---|
Sense() |
Modifier and Type | Method | Description |
---|---|---|
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 |
canSeeChaos(Physical P) |
Returns whether the given mob has the ability to see
chaos in people/things.
|
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 |
canSeeLaw(Physical P) |
Returns whether the given mob has the ability to see
law in people/things.
|
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 |
canSmell(MOB M,
Physical target) |
Returns whether the given mob can smell the given
target, by issueing a test 'sniff' message to it.
|
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.
|
Directions.DirType |
getDirType(Physical P) |
Returns the proper type/flavor of direction
appropriate to the given object, based on whether
the given physical actually IS a sailing ship,
space ship, caravan, or other.
|
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 |
getInclinationName(Environmental E) |
Returns the simple word that would describe the inclination
of the given mob or item or whatever.
|
Directions.DirType |
getInDirType(MOB M) |
Returns the proper type/flavor of direction
for the given mob, which depends on what
sort of place he/she is in.
|
Rideable.Basis |
getNavRideBasis(Environmental E) |
If the given thing is related to a ship, it returns
the navBasis of the boardable, such as water or
land-based.
|
java.util.List<java.lang.String> |
getParents(Physical thang) |
Returns the parents of the given baby or mob
|
java.lang.String |
getPlaneOfExistence(Physical P) |
Returns the name of the plane of existence upon which
the given physical object is located, or null for
Prime Material
|
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 |
isACityRoom(Physical P) |
Returns whether the given mob, item, room, whatever is
in a city street type room.
|
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 |
isARope(Item I) |
Returns whether the given item can be classified as a 'rope' for
various purposes.
|
boolean |
isASlave(MOB slaveM,
MOB masterM) |
Returns whether the given mob is a slave, possibly for
the given master.
|
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 |
isChaotic(Physical P) |
Returns whether the given item, mob, room, whatever is
chaotically inclined, assuming you are using the law/chaos axis.
|
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 |
isDeepWateryRoom(Room R) |
Returns whether the given room, whatever is
watery, such as a deep water surface, underwater, etc.
|
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 |
isHiddenInPlainSight(Physical P) |
Returns whether the given item can not be seen
at a simple look around, but requires either
the ability to see hidden, or a very careful
look (longlook) around.
|
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 I,
boolean reqInhabitation) |
Returns whether the given Item 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 |
isInTheGame(MOB M,
boolean reqInhabitation) |
Returns whether the given MOB is actually in the game, and in
a room, 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 |
isLawful(Physical P) |
Returns whether the given item, mob, room, whatever is
lawfully inclined, assuming you are using the law/chaos axis.
|
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 |
isMobileMounted(MOB mob) |
Returns whether the given mob is mounted on a small portable
movable, such as a horse, or boat on water.
|
boolean |
isModerate(Physical P) |
Returns whether the given item, mob, room, whatever is
moderately inclined, assuming you are using the law/chaos axis.
|
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 |
isUndead(Race R) |
Returns whether the given race 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.
|
activate, getServiceClient, L, propertiesLoaded, shutdown
copyOf, initializeClass, name, newInstance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
activate, checkDatabase, compareTo, copyOf, getServiceClient, getTickStatus, initializeClass, L, name, newInstance, propertiesLoaded, setThreadStatus, shutdown, tick
public java.lang.String ID()
CMObject
ID
in interface CMObject
ID
in class StdLibrary
public boolean canSee(MOB M)
CMFlagLibrary
canSee
in interface CMFlagLibrary
M
- the mob to checkpublic boolean canBeLocated(Physical P)
CMFlagLibrary
canBeLocated
in interface CMFlagLibrary
P
- the object to checkpublic boolean canSeeHidden(MOB M)
CMFlagLibrary
canSeeHidden
in interface CMFlagLibrary
M
- the mob to checkpublic boolean canSeeHiddenItems(MOB M)
CMFlagLibrary
canSeeHiddenItems
in interface CMFlagLibrary
M
- the mob to checkpublic boolean canSeeInvisible(MOB M)
CMFlagLibrary
canSeeInvisible
in interface CMFlagLibrary
M
- the mob to checkpublic boolean canSeeEvil(MOB M)
CMFlagLibrary
canSeeEvil
in interface CMFlagLibrary
M
- the mob to checkpublic boolean canSeeGood(MOB M)
CMFlagLibrary
canSeeGood
in interface CMFlagLibrary
M
- the mob to checkpublic boolean canSeeChaos(Physical P)
CMFlagLibrary
canSeeChaos
in interface CMFlagLibrary
P
- the thing to checkpublic boolean canSeeLaw(Physical P)
CMFlagLibrary
canSeeLaw
in interface CMFlagLibrary
P
- the thing to checkpublic boolean canSeeSneakers(MOB M)
CMFlagLibrary
canSeeSneakers
in interface CMFlagLibrary
M
- the mob to checkpublic boolean canSeeBonusItems(MOB M)
CMFlagLibrary
canSeeBonusItems
in interface CMFlagLibrary
M
- the mob to checkpublic boolean canSeeInDark(MOB M)
CMFlagLibrary
canSeeInDark
in interface CMFlagLibrary
M
- the mob to checkpublic boolean canSeeVictims(MOB M)
CMFlagLibrary
canSeeVictims
in interface CMFlagLibrary
M
- the mob to checkpublic boolean canSeeInfrared(MOB M)
CMFlagLibrary
canSeeInfrared
in interface CMFlagLibrary
M
- the mob to checkpublic boolean canHear(MOB M)
CMFlagLibrary
canHear
in interface CMFlagLibrary
M
- the mob to checkpublic boolean canTrack(Physical P)
CMFlagLibrary
canTrack
in interface CMFlagLibrary
P
- the item or mobpublic boolean canAutoAttack(MOB M)
CMFlagLibrary
canAutoAttack
in interface CMFlagLibrary
M
- the mob to checkpublic boolean canConcentrate(MOB M)
CMFlagLibrary
canConcentrate
in interface CMFlagLibrary
M
- the mob to checkpublic boolean canMove(MOB M)
CMFlagLibrary
canMove
in interface CMFlagLibrary
M
- the mob to checkpublic boolean allowsMovement(Room R)
CMFlagLibrary
allowsMovement
in interface CMFlagLibrary
R
- the room to checkpublic boolean allowsMovement(Area A)
CMFlagLibrary
allowsMovement
in interface CMFlagLibrary
A
- the area to checkpublic boolean canSmell(MOB M)
CMFlagLibrary
canSmell
in interface CMFlagLibrary
M
- the mob to checkpublic boolean canSmell(MOB M, Physical target)
CMFlagLibrary
canSmell
in interface CMFlagLibrary
M
- the mobtarget
- the targetpublic boolean canTaste(MOB M)
CMFlagLibrary
canTaste
in interface CMFlagLibrary
M
- the mob to checkpublic boolean canSpeak(MOB M)
CMFlagLibrary
canSpeak
in interface CMFlagLibrary
M
- the mob to checkpublic boolean canBreathe(MOB M)
CMFlagLibrary
canBreathe
in interface CMFlagLibrary
M
- the mob to checkpublic boolean canNotBeCamped(Physical P)
CMFlagLibrary
canNotBeCamped
in interface CMFlagLibrary
P
- the item or mob to checkpublic boolean canBreatheThis(MOB M, int atmoResource)
CMFlagLibrary
canBreatheThis
in interface CMFlagLibrary
M
- the mob to checkatmoResource
- the Resource to check for breathabilityRawMaterial
public boolean canBreatheHere(MOB M, Room R)
CMFlagLibrary
canBreatheHere
in interface CMFlagLibrary
M
- the mob to checkR
- the room the mob is trying to breathe inRawMaterial
public boolean canSeeMetal(MOB M)
CMFlagLibrary
canSeeMetal
in interface CMFlagLibrary
M
- the mob to checkpublic boolean isReadable(Item I)
CMFlagLibrary
isReadable
in interface CMFlagLibrary
I
- the item to checkCMFlagLibrary.setReadable(Item, boolean)
public boolean isGettable(Item I)
CMFlagLibrary
isGettable
in interface CMFlagLibrary
I
- the item to checkCMFlagLibrary.setGettable(Item, boolean)
public boolean isDroppable(Item I)
CMFlagLibrary
isDroppable
in interface CMFlagLibrary
I
- the item to checkCMFlagLibrary.setDroppable(Item, boolean)
public boolean isRemovable(Item I)
CMFlagLibrary
isRemovable
in interface CMFlagLibrary
I
- the item to checkCMFlagLibrary.setRemovable(Item, boolean)
public boolean isCataloged(Environmental E)
CMFlagLibrary
isCataloged
in interface CMFlagLibrary
E
- the item or mob to checkpublic Rideable.Basis getNavRideBasis(Environmental E)
CMFlagLibrary
getNavRideBasis
in interface CMFlagLibrary
E
- the thing or place to checkpublic boolean isWithSeenContents(Physical P)
CMFlagLibrary
isWithSeenContents
in interface CMFlagLibrary
P
- the item to checkpublic boolean isHiddenInPlainSight(Physical P)
CMFlagLibrary
isHiddenInPlainSight
in interface CMFlagLibrary
P
- the item to checkpublic boolean isSavable(Physical P)
CMFlagLibrary
isSavable
in interface CMFlagLibrary
P
- the item, mob, whatever to checkCMFlagLibrary.setSavable(Physical, boolean)
public void setSavable(Physical P, boolean truefalse)
CMFlagLibrary
setSavable
in interface CMFlagLibrary
P
- the item, mob, whatever to settruefalse
- true if it is saveable, false otherwiseCMFlagLibrary.isSavable(Physical)
public void setReadable(Item I, boolean truefalse)
CMFlagLibrary
setReadable
in interface CMFlagLibrary
I
- the item to settruefalse
- true if readable, false otherwiseCMFlagLibrary.isReadable(Item)
public boolean isEnspelled(Physical F)
CMFlagLibrary
isEnspelled
in interface CMFlagLibrary
F
- the room, item, or mob to checkpublic void setGettable(Item I, boolean truefalse)
CMFlagLibrary
setGettable
in interface CMFlagLibrary
I
- the item to settruefalse
- true if gettable, false otherwiseCMFlagLibrary.isGettable(Item)
public void setDroppable(Item I, boolean truefalse)
CMFlagLibrary
setDroppable
in interface CMFlagLibrary
I
- the item to settruefalse
- true if droppable, false otherwiseCMFlagLibrary.isDroppable(Item)
public void setRemovable(Item I, boolean truefalse)
CMFlagLibrary
setRemovable
in interface CMFlagLibrary
I
- the item to settruefalse
- true if removable, false otherwiseCMFlagLibrary.isRemovable(Item)
public boolean isSeeable(Physical P)
CMFlagLibrary
isSeeable
in interface CMFlagLibrary
P
- the room, mob, or item to checkpublic boolean isCloaked(Physical P)
CMFlagLibrary
isCloaked
in interface CMFlagLibrary
P
- the room, mob, or item to checkpublic boolean isHidden(Physical P)
CMFlagLibrary
isHidden
in interface CMFlagLibrary
P
- the room, mob, or item to checkpublic boolean isUndead(Race R)
CMFlagLibrary
isUndead
in interface CMFlagLibrary
R
- the race to checkpublic boolean isUndead(MOB mob)
CMFlagLibrary
isUndead
in interface CMFlagLibrary
mob
- the mob to checkpublic boolean isEggLayer(Race race)
CMFlagLibrary
isEggLayer
in interface CMFlagLibrary
race
- the race to checkpublic boolean isFish(MOB mob)
CMFlagLibrary
isFish
in interface CMFlagLibrary
mob
- the mob to checkpublic boolean isMarine(MOB mob)
CMFlagLibrary
isMarine
in interface CMFlagLibrary
mob
- the mob to checkpublic boolean isOutsider(MOB mob)
CMFlagLibrary
isOutsider
in interface CMFlagLibrary
mob
- the mob to checkpublic boolean isInsect(MOB mob)
CMFlagLibrary
isInsect
in interface CMFlagLibrary
mob
- the mob to checkpublic boolean isVermin(MOB mob)
CMFlagLibrary
isVermin
in interface CMFlagLibrary
mob
- the mob to checkpublic boolean isAPlant(Item I)
CMFlagLibrary
isAPlant
in interface CMFlagLibrary
I
- the item to checkpublic boolean isAPlant(MOB M)
CMFlagLibrary
isAPlant
in interface CMFlagLibrary
M
- the mob to checkpublic boolean isUnattackable(Physical P)
CMFlagLibrary
isUnattackable
in interface CMFlagLibrary
P
- the item, mob, whatever to checkpublic boolean isInvisible(Physical P)
CMFlagLibrary
isInvisible
in interface CMFlagLibrary
P
- the room, mob, or item to checkpublic boolean isRejuvingItem(Item I)
CMFlagLibrary
isRejuvingItem
in interface CMFlagLibrary
I
- the item to checkpublic boolean isReallyEvil(FactionMember M)
CMFlagLibrary
isReallyEvil
in interface CMFlagLibrary
M
- the factionmember to checkpublic boolean isEvil(Physical P)
CMFlagLibrary
isEvil
in interface CMFlagLibrary
P
- the room, mob, or item to checkpublic boolean isOpenAccessibleContainer(Item I)
CMFlagLibrary
isOpenAccessibleContainer
in interface CMFlagLibrary
I
- the item to checkpublic boolean isTracking(MOB M)
CMFlagLibrary
isTracking
in interface CMFlagLibrary
M
- the mob to checkpublic boolean isATrackingMonster(MOB M)
CMFlagLibrary
isATrackingMonster
in interface CMFlagLibrary
M
- the mob to checkpublic boolean isReallyGood(FactionMember M)
CMFlagLibrary
isReallyGood
in interface CMFlagLibrary
M
- the factionmember to checkpublic java.lang.String getPlaneOfExistence(Physical P)
CMFlagLibrary
getPlaneOfExistence
in interface CMFlagLibrary
P
- the object to checkpublic java.lang.String getAge(MOB M)
CMFlagLibrary
getAge
in interface CMFlagLibrary
M
- the mob to checkpublic boolean isGood(Physical P)
CMFlagLibrary
isGood
in interface CMFlagLibrary
P
- the room, mob, or item to checkpublic boolean isLawful(Physical P)
CMFlagLibrary
isLawful
in interface CMFlagLibrary
P
- the room, mob, or item to checkpublic boolean isChaotic(Physical P)
CMFlagLibrary
isChaotic
in interface CMFlagLibrary
P
- the room, mob, or item to checkpublic boolean isModerate(Physical P)
CMFlagLibrary
isModerate
in interface CMFlagLibrary
P
- the room, mob, or item to checkpublic boolean isTrapped(Physical P)
CMFlagLibrary
isTrapped
in interface CMFlagLibrary
P
- the object to checkpublic boolean isDeadlyOrMaliciousEffect(PhysicalAgent P)
CMFlagLibrary
isDeadlyOrMaliciousEffect
in interface CMFlagLibrary
P
- the room, item, whatever to checkpublic boolean isPossiblyAggressive(MOB M)
CMFlagLibrary
isPossiblyAggressive
in interface CMFlagLibrary
M
- the mob who might be aggressivepublic boolean isAggressiveTo(MOB M, MOB toM)
CMFlagLibrary
isAggressiveTo
in interface CMFlagLibrary
M
- the mob who might be aggressivetoM
- the mob who might be in troublepublic java.lang.String getAlignmentName(Environmental E)
CMFlagLibrary
getAlignmentName
in interface CMFlagLibrary
E
- the mob or item or whateverpublic java.lang.String getInclinationName(Environmental E)
CMFlagLibrary
getInclinationName
in interface CMFlagLibrary
E
- the mob or item or whateverpublic boolean isReallyNeutral(FactionMember M)
CMFlagLibrary
isReallyNeutral
in interface CMFlagLibrary
M
- the factionmember to checkpublic boolean isNeutral(Physical P)
CMFlagLibrary
isNeutral
in interface CMFlagLibrary
P
- the room, mob, or item to checkpublic boolean isSneaking(Physical P)
CMFlagLibrary
isSneaking
in interface CMFlagLibrary
P
- the object to checkpublic boolean isABonusItems(Physical P)
CMFlagLibrary
isABonusItems
in interface CMFlagLibrary
P
- the mob/item/whatever to checkpublic boolean isInDark(Physical P)
CMFlagLibrary
isInDark
in interface CMFlagLibrary
P
- the mob/item/whatever to checkpublic boolean isLightSource(Physical P)
CMFlagLibrary
isLightSource
in interface CMFlagLibrary
P
- the mob/item/whatever to checkpublic boolean isGlowing(Physical P)
CMFlagLibrary
isGlowing
in interface CMFlagLibrary
P
- the item, mob, whatever to checkpublic boolean isGolem(Physical P)
CMFlagLibrary
isGolem
in interface CMFlagLibrary
P
- the item, mob, whatever to checkpublic boolean isSleeping(Physical P)
CMFlagLibrary
isSleeping
in interface CMFlagLibrary
P
- the item, mob, whatever to checkpublic boolean isSitting(Physical P)
CMFlagLibrary
isSitting
in interface CMFlagLibrary
P
- the item, mob, whatever to checkpublic boolean isFlying(Physical P)
CMFlagLibrary
isFlying
in interface CMFlagLibrary
P
- the item, mob, whatever to checkpublic boolean isClimbing(Physical P)
CMFlagLibrary
isClimbing
in interface CMFlagLibrary
P
- the item, mob, whatever to checkpublic boolean isCrawlable(Physical P)
CMFlagLibrary
isCrawlable
in interface CMFlagLibrary
P
- the room, area, exit, whatever to checkpublic boolean isSwimming(Physical P)
CMFlagLibrary
isSwimming
in interface CMFlagLibrary
P
- the item, mob, whatever to checkpublic boolean isFalling(Physical P)
CMFlagLibrary
isFalling
in interface CMFlagLibrary
P
- the item, mob, whatever to checkpublic int getFallingDirection(Physical P)
CMFlagLibrary
getFallingDirection
in interface CMFlagLibrary
P
- the item, mob, whatever to checkDirections
public boolean isRunningLongCommand(MOB M)
CMFlagLibrary
isRunningLongCommand
in interface CMFlagLibrary
M
- the mob to checkpublic boolean isSwimmingInWater(Physical P)
CMFlagLibrary
isSwimmingInWater
in interface CMFlagLibrary
P
- the item, mob, whatever to checkpublic boolean isInWilderness(Physical P)
CMFlagLibrary
isInWilderness
in interface CMFlagLibrary
P
- the mob, item, room, whatever to checkpublic boolean isACityRoom(Physical P)
CMFlagLibrary
isACityRoom
in interface CMFlagLibrary
P
- the mob, item, room, whatever to checkpublic boolean canBeHeardMovingBy(Physical heard, MOB hearer)
CMFlagLibrary
canBeHeardMovingBy
in interface CMFlagLibrary
heard
- the thing or mob moving aroundhearer
- the mob who wants to hear itpublic boolean canBeHeardSpeakingBy(Physical heard, MOB hearer)
CMFlagLibrary
canBeHeardSpeakingBy
in interface CMFlagLibrary
heard
- the thing or mob speakinghearer
- the mob who wants to hear itpublic boolean canSenseMoving(Physical sensed, MOB sensor)
CMFlagLibrary
canSenseMoving
in interface CMFlagLibrary
sensed
- the thing being sensedsensor
- the mob who wants to sense itpublic boolean canSenseEnteringLeaving(Physical sensed, MOB sensor)
CMFlagLibrary
canSenseEnteringLeaving
in interface CMFlagLibrary
sensed
- the thing or mob moving aroundsensor
- the mob who wants to sense itpublic java.lang.String validCheck(Physical P)
CMFlagLibrary
validCheck
in interface CMFlagLibrary
P
- the room, mob, or item to checkpublic boolean isAliveAwakeMobileUnbound(MOB mob, boolean quiet)
CMFlagLibrary
isAliveAwakeMobileUnbound
in interface CMFlagLibrary
mob
- the mob to checkquiet
- true to not tell the mob what's wrongCMFlagLibrary.isAliveAwakeMobile(MOB, boolean)
public boolean isAliveAwakeMobile(MOB mob, boolean quiet)
CMFlagLibrary
isAliveAwakeMobile
in interface CMFlagLibrary
mob
- the mob to checkquiet
- true to not tell the mob what's wrongCMFlagLibrary.isAliveAwakeMobileUnbound(MOB, boolean)
public boolean isStanding(MOB mob)
CMFlagLibrary
isStanding
in interface CMFlagLibrary
mob
- the mob to checkpublic boolean isBound(Physical P)
CMFlagLibrary
isBound
in interface CMFlagLibrary
P
- the item, mob, whatever to checkCMFlagLibrary.isBoundOrHeld(Physical)
public boolean isBoundOrHeld(Physical P)
CMFlagLibrary
isBoundOrHeld
in interface CMFlagLibrary
P
- the item, mob, whatever to checkCMFlagLibrary.isBound(Physical)
public boolean isOnFire(Physical seen)
CMFlagLibrary
isOnFire
in interface CMFlagLibrary
seen
- the item, mob, whatever to checkpublic boolean isFloatingFreely(Physical P)
CMFlagLibrary
isFloatingFreely
in interface CMFlagLibrary
P
- the item, mob, whatever to checkpublic int getHideScore(Physical seen)
CMFlagLibrary
getHideScore
in interface CMFlagLibrary
seen
- the mob, item trying to be hiddenpublic int getDetectScore(MOB seer)
CMFlagLibrary
getDetectScore
in interface CMFlagLibrary
seer
- the mob trying to see hiddenpublic boolean canBeSeenBy(Environmental seen, MOB seer)
CMFlagLibrary
canBeSeenBy
in interface CMFlagLibrary
seen
- the thing to be seen.seer
- the seer who wants to see itpublic boolean canBarelyBeSeenBy(Environmental seen, MOB seer)
CMFlagLibrary
canBarelyBeSeenBy
in interface CMFlagLibrary
seen
- the thing to be seen.seer
- the seer who wants to see itpublic boolean canActAtAll(Tickable affecting)
CMFlagLibrary
canActAtAll
in interface CMFlagLibrary
affecting
- the thing to checkpublic boolean canFreelyBehaveNormal(Tickable affecting)
CMFlagLibrary
canFreelyBehaveNormal
in interface CMFlagLibrary
affecting
- the thing to checkpublic Directions.DirType getDirType(Physical P)
CMFlagLibrary
getDirType
in interface CMFlagLibrary
P
- the object to inspectDirections.DirType
,
CMFlagLibrary.getInDirType(MOB)
public Directions.DirType getInDirType(MOB M)
CMFlagLibrary
getInDirType
in interface CMFlagLibrary
M
- the mob to checkDirections.DirType
,
CMFlagLibrary.getDirType(Physical)
public boolean isSeenTheSameWay(MOB seer, Physical seen1, Physical seen2)
CMFlagLibrary
isSeenTheSameWay
in interface CMFlagLibrary
seer
- the mob who is seeing stuffseen1
- the first object being seenseen2
- the first object being seenpublic boolean isWaterWorthy(Physical P)
CMFlagLibrary
isWaterWorthy
in interface CMFlagLibrary
P
- the item, mob, whatever to checkpublic boolean isInFlight(Physical P)
CMFlagLibrary
isInFlight
in interface CMFlagLibrary
P
- the item, mob, whatever to checkpublic boolean isAnimalIntelligence(MOB M)
CMFlagLibrary
isAnimalIntelligence
in interface CMFlagLibrary
M
- the mob to checkpublic boolean isVegetable(MOB M)
CMFlagLibrary
isVegetable
in interface CMFlagLibrary
M
- the mob to checkpublic boolean isMobile(PhysicalAgent P)
CMFlagLibrary
isMobile
in interface CMFlagLibrary
P
- the mob, item, whatever to checkpublic java.util.List<Behavior> flaggedBehaviors(PhysicalAgent P, long flag)
CMFlagLibrary
flaggedBehaviors
in interface CMFlagLibrary
P
- the mob, item, room, whateverflag
- the behavior flagsBehavior.FLAG_LEGALBEHAVIOR
public java.util.List<Ability> domainAnyAffects(Physical P, int domain)
CMFlagLibrary
domainAnyAffects
in interface CMFlagLibrary
P
- the mob, item, room, whateverdomain
- the ability domainAbility.DOMAIN_ABJURATION
public java.util.List<Ability> domainAffects(Physical P, int domain)
CMFlagLibrary
domainAffects
in interface CMFlagLibrary
P
- the mob, item, room, whateverdomain
- the ability domainAbility.DOMAIN_ABJURATION
public java.util.List<Ability> domainAbilities(MOB M, int domain)
CMFlagLibrary
domainAbilities
in interface CMFlagLibrary
M
- the mob to checkdomain
- the ability domainAbility.DOMAIN_ABJURATION
public java.util.List<Ability> flaggedAnyAffects(Physical P, long flag)
CMFlagLibrary
flaggedAnyAffects
in interface CMFlagLibrary
P
- the mob, item, room, whateverflag
- the ability flagsAbility.flags()
public java.util.List<Ability> matchedAffects(MOB invoker, Physical P, long flag, int abilityCode, int domain)
CMFlagLibrary
matchedAffects
in interface CMFlagLibrary
invoker
- the invoker to search for, or nullP
- the object to check for effects, REQUIREDflag
- -1, or an Ability FlagabilityCode
- -1, or an ability Codedomain
- -1, or an ability domainAbility.DOMAIN_ABJURATION
,
Ability.flags()
,
Ability.ACODE_CHANT
public java.util.List<Ability> flaggedAffects(Physical P, long flag)
CMFlagLibrary
flaggedAffects
in interface CMFlagLibrary
P
- the mob, item, room, whateverflag
- the ability flagsAbility.flags()
public java.util.List<Ability> flaggedAbilities(MOB M, long flag)
CMFlagLibrary
flaggedAbilities
in interface CMFlagLibrary
M
- the mobflag
- the ability flagsAbility.flags()
public boolean canAccess(MOB mob, Area A)
CMFlagLibrary
canAccess
in interface CMFlagLibrary
mob
- the mob who wants to access an areaA
- the area to accesspublic boolean canAccess(MOB mob, Room R)
CMFlagLibrary
canAccess
in interface CMFlagLibrary
mob
- the mob who wants to access a roomR
- the room to accesspublic boolean isMetal(Environmental E)
CMFlagLibrary
isMetal
in interface CMFlagLibrary
E
- the item (or mob) to checkpublic boolean isAiryRoom(Room R)
CMFlagLibrary
isAiryRoom
in interface CMFlagLibrary
R
- the room to checkpublic boolean isWateryRoom(Room R)
CMFlagLibrary
isWateryRoom
in interface CMFlagLibrary
R
- the room to checkpublic boolean isWaterySurfaceRoom(Room R)
isWaterySurfaceRoom
in interface CMFlagLibrary
R
- the room to checkpublic boolean isDeepWateryRoom(Room R)
isDeepWateryRoom
in interface CMFlagLibrary
R
- the room to checkpublic boolean isDeepWaterySurfaceRoom(Room R)
isDeepWaterySurfaceRoom
in interface CMFlagLibrary
R
- the room to checkpublic boolean isUnderWateryRoom(Room R)
isUnderWateryRoom
in interface CMFlagLibrary
R
- the room to checkpublic boolean isInTheGame(Environmental E, boolean reqInhabitation)
CMFlagLibrary
isInTheGame
in interface CMFlagLibrary
E
- the mob, item, whatever to checkreqInhabitation
- true if it must be a in room, false otherwisepublic boolean isInTheGame(MOB M, boolean reqInhabitation)
CMFlagLibrary
isInTheGame
in interface CMFlagLibrary
M
- the MOB to checkreqInhabitation
- true if it must be a in room, false otherwisepublic boolean isInTheGame(Item I, boolean reqInhabitation)
CMFlagLibrary
isInTheGame
in interface CMFlagLibrary
I
- the Item to checkreqInhabitation
- true if it must be a in room, false otherwisepublic boolean isInTheGame(Room E, boolean reqInhabitation)
CMFlagLibrary
isInTheGame
in interface CMFlagLibrary
E
- the Room to checkreqInhabitation
- meaninglesspublic boolean isInTheGame(Area E, boolean reqInhabitation)
CMFlagLibrary
isInTheGame
in interface CMFlagLibrary
E
- the Area to checkreqInhabitation
- meaninglesspublic boolean isEnchanted(Item I)
CMFlagLibrary
isEnchanted
in interface CMFlagLibrary
I
- the item to checkpublic boolean isAgingThing(Physical P)
public boolean isChild(Environmental E)
CMFlagLibrary
isChild
in interface CMFlagLibrary
E
- the potential childpublic boolean isBaby(Environmental E)
CMFlagLibrary
isBaby
in interface CMFlagLibrary
E
- the item to checkpublic boolean isStillAffectedBy(Physical obj, java.util.List<Ability> oneOf, boolean anyTallF)
CMFlagLibrary
isStillAffectedBy
in interface CMFlagLibrary
obj
- the mob, item, room, whateveroneOf
- the list of abilities that might be affectsanyTallF
- true to return true on ANY, false to return true only for ALLpublic java.lang.String getDispositionDescList(Physical obj, boolean useVerbs)
CMFlagLibrary
getDispositionDescList
in interface CMFlagLibrary
obj
- the disposed physical mob, item, whateveruseVerbs
- true to return an active phrase, flags for a state phrasepublic java.lang.String getSensesDescList(Physical obj, boolean useVerbs)
CMFlagLibrary
getSensesDescList
in interface CMFlagLibrary
obj
- the sensing physical mob, item, whateveruseVerbs
- true to return an active phrase, flags for a state phrasepublic int getDispositionIndex(java.lang.String name)
CMFlagLibrary
getDispositionIndex
in interface CMFlagLibrary
name
- the disposition namepublic int getSensesIndex(java.lang.String name)
CMFlagLibrary
getSensesIndex
in interface CMFlagLibrary
name
- the senses namepublic java.lang.String getAbilityType(Ability A)
CMFlagLibrary
getAbilityType
in interface CMFlagLibrary
A
- the AbilityAbility.ACODE_CHANT
public java.lang.String getAbilityType_(Ability A)
CMFlagLibrary
getAbilityType_
in interface CMFlagLibrary
A
- the AbilityAbility.ACODE_CHANT
public java.lang.String getAbilityDomain(Ability A)
CMFlagLibrary
getAbilityDomain
in interface CMFlagLibrary
A
- the AbilityAbility.DOMAIN_DESCS
public int getAbilityType(java.lang.String name)
CMFlagLibrary
getAbilityType
in interface CMFlagLibrary
name
- the name of the given ability typeAbility.ACODE_CHANT
public int getAbilityType_(java.lang.String name)
CMFlagLibrary
getAbilityType_
in interface CMFlagLibrary
name
- the name of the given ability typeAbility.ACODE_CHANT
public int getAbilityDomain(java.lang.String name)
CMFlagLibrary
getAbilityDomain
in interface CMFlagLibrary
name
- the name of the given ability domainAbility.DOMAIN_DESCS
public boolean isAControlledFollower(MOB invoker, MOB mob, Ability A)
CMFlagLibrary
isAControlledFollower
in interface CMFlagLibrary
invoker
- the mob who might be the leadermob
- the mob who is following the leaderA
- the ability that might be causing the controlpublic boolean hasAControlledFollower(MOB invoker, Ability A)
CMFlagLibrary
hasAControlledFollower
in interface CMFlagLibrary
invoker
- the mob who might be the leaderA
- the ability that might be causing the controlpublic boolean isARope(Item I)
CMFlagLibrary
isARope
in interface CMFlagLibrary
I
- the item to checkpublic java.lang.String getDispositionBlurbs(Physical seen, MOB seer)
CMFlagLibrary
getDispositionBlurbs
in interface CMFlagLibrary
seen
- the mob, item, room, whateverseer
- the one seeingprotected boolean isAlcoholEffect(Ability A)
public java.util.List<java.lang.String> getParents(Physical thang)
CMFlagLibrary
getParents
in interface CMFlagLibrary
thang
- the baby or mobpublic boolean isAlcoholic(Physical thang)
CMFlagLibrary
isAlcoholic
in interface CMFlagLibrary
thang
- the mob or item to checkpublic java.lang.String getPresentDispositionVerb(Physical seen, CMFlagLibrary.ComingOrGoing flag_msgType)
CMFlagLibrary
getPresentDispositionVerb
in interface CMFlagLibrary
seen
- the mob (or item) that is verbbingflag_msgType
- whether they are arriving, leaving, or sitting there verbbingpublic java.lang.String getDispositionStateList(MOB mob)
CMFlagLibrary
getDispositionStateList
in interface CMFlagLibrary
mob
- the mob to checkpublic java.lang.String getSensesStateList(MOB mob)
CMFlagLibrary
getSensesStateList
in interface CMFlagLibrary
mob
- the mob to checkpublic boolean isASlave(MOB slaveM, MOB masterM)
CMFlagLibrary
isASlave
in interface CMFlagLibrary
slaveM
- the mob to checkmasterM
- null, or the master to check forpublic boolean isMobileMounted(MOB mob)
CMFlagLibrary
isMobileMounted
in interface CMFlagLibrary
mob
- the mob to check