java.lang.Cloneable, CMObject, java.lang.Comparable<CMObject>, Contingent, Modifiable, MsgListener, TickableChattyBehavior, LegalBehavior, MobileBehaviorActiveTicker, Aggressive, AlignHelper, AntiVagrant, Arrest, Bardness, Beggar, BribeGateGuard, BrotherHelper, ClanHelper, Clericness, CombatAbilities, CombatAssister, CommonSpeaker, Concierge, Conquerable, CorpseEater, CorpseLooter, Decay, DelayedTransporter, DoorwayGuardian, Drowness, Druidness, Emoter, EvilExecutioner, FaithHelper, FasterRecovery, FieryRoom, Fighterness, FightFlee, Follower, GateGuard, GetsAllEquipped, GoldLooter, GoodExecutioner, GoodGuardian, Guard, Healer, Hireling, InstantDeath, ItemGenerator, ItemIdentifier, ItemMender, ItemRefitter, LinkedWeather, Mageness, Mime, MOBEater, MOBHelper, MOBHunter, Mobile, MobileAggressive, MobileGoodGuardian, MOBReSave, MOBTeacher, MoneyChanger, MovingRoom, MudChat, Nanny, NastyAbilities, NeutralAbilities, NiceAbilities, NoCombatAssist, ObjectGuardian, Patroller, PlayerHelper, PokerDealer, ProtectedCitizen, ProtectedCitizens, PuddleMaker, QuestChat, RaceHelper, RandomItems, RandomMonsters, RandomQuests, RandomTeleporter, RandomTraps, ResetWhole, ResourceOverride, ROMGangMember, ROMPatrolman, Sailor, Scavenger, Scriptable, ScriptableEverymob, Skill_Buck, Sounder, StdBehavior, TargetPlayer, TaxCollector, TaxiBehavior, Thiefness, Vagrant, VeryAggressive, WaterCurrents, WeatherAffects, Wimpy, WimpyAggressivepublic interface Behavior extends Tickable, MsgListener, Contingent, Modifiable
Environmental, 
Tickable| Modifier and Type | Field | Description | 
|---|---|---|
| static int | CAN_AREAS | constant mask for the canImprove() and canImproveCode() methods. | 
| static int | CAN_EXITS | constant mask for the canImprove() and canImproveCode() methods. | 
| static int | CAN_ITEMS | constant mask for the canImprove() and canImproveCode() methods. | 
| static int | CAN_MOBS | constant mask for the canImprove() and canImproveCode() methods. | 
| static int | CAN_ROOMS | constant mask for the canImprove() and canImproveCode() methods. | 
| static long | FLAG_LEGALBEHAVIOR | constant mask for the flags() method designating that this behavior makes the host inforce laws @see Behavior#flags() | 
| static long | FLAG_MOBILITY | constant mask for the flags() method designating that this behavior makes the host move @see Behavior#flags() | 
| static long | FLAG_POTENTIALLYAGGRESSIVE | constant mask for the flags() method designating that this behavior makes the host aggressive @see Behavior#flags() | 
| static long | FLAG_POTENTIALLYAUTODEATHING | constant mask for the flags() method designating that this behavior makes the host capable of killing you instantly | 
| static long | FLAG_TROUBLEMAKING | constant mask for the flags() method designating that this behavior makes the host a trouble-maker @see Behavior#flags() | 
idConverterSTATUS_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| Modifier and Type | Method | Description | 
|---|---|---|
| java.lang.String | accountForYourself() | Returns a string describing what this behavior does. | 
| boolean | canImprove(int can_code) | Returns whether this behavior is capable of enhancing the given type
 of object designated by the can_code. | 
| boolean | canImprove(PhysicalAgent E) | Returns whether this behavior is capable of enhancing the given type
 of object designated by E. | 
| void | endBehavior(PhysicalAgent forMe) | Called when a behavior is cleanly removed from a mob,
 such as when a quest does so. | 
| java.util.List<java.lang.String> | externalFiles() | Returns a string list of any external files which
 may be required to make this ability work. | 
| long | flags() | Returns a bitmap made of up Behavior.FLAG_* constant masks which
 designates certain aspects about this behavior the rest of the
 system may need to know. | 
| java.lang.String | getParms() | Returns the raw parameter string for this behavior. | 
| boolean | grantsAggressivenessTo(MOB M) | Returns the result of a very specific test, namely whether this
 behavior would be the direct cause of a malicious act against
 the given MOB object. | 
| java.lang.String | parmsFormat() | Unimplemented as of yet, but will hold a string telling the system what
 the proper format of any parms data. | 
| void | registerDefaultQuest(java.lang.Object questName) | Called after a behavior is added to an Environmental object. | 
| void | setParms(java.lang.String parameters) | Sets the raw parameter string for this behavior. | 
| void | setSavable(boolean truefalse) | Sets whether this behavior can be saved as a permanent aspect of
 its host. | 
| void | startBehavior(PhysicalAgent forMe) | Called after a behavior is added to a Behavable object. | 
copyOf, ID, initializeClass, newInstanceamDestroyed, destroy, isSavablegetSaveStatIndex, getStat, getStatCodes, isStat, setStatexecuteMsg, okMessagegetTickStatus, name, tickstatic final int CAN_MOBS
static final int CAN_ITEMS
static final int CAN_AREAS
static final int CAN_ROOMS
static final int CAN_EXITS
static final long FLAG_MOBILITY
static final long FLAG_TROUBLEMAKING
static final long FLAG_POTENTIALLYAGGRESSIVE
static final long FLAG_LEGALBEHAVIOR
static final long FLAG_POTENTIALLYAUTODEATHING
void startBehavior(PhysicalAgent forMe)
forMe - the object to which this behavior has been addedBehavable.addBehavior(Behavior), 
setParms(String)void endBehavior(PhysicalAgent forMe)
forMe - the object to which this behavior has been removedBehavable.delBehavior(Behavior), 
setParms(String)void registerDefaultQuest(java.lang.Object questName)
questName - the Quest nameQuestjava.lang.String getParms()
setParms(String)void setParms(java.lang.String parameters)
parameters - the parameter string for this behaviorgetParms()java.lang.String parmsFormat()
CMParms, 
getParms(), 
setParms(String)java.util.List<java.lang.String> externalFiles()
setParms(String)void setSavable(boolean truefalse)
setSavable in interface Contingenttruefalse - whether this behavior can be saved as part of its host.Contingent.isSavable()boolean canImprove(PhysicalAgent E)
E - the object to evaluate for this behaviorStdBehavior.canImproveCode()boolean canImprove(int can_code)
can_code - the Behavior.CAN_* mask to evaluate for this behaviorStdBehavior.canImproveCode(), 
Behaviorlong flags()
java.lang.String accountForYourself()
boolean grantsAggressivenessTo(MOB M)
M - the target to test for maliciousness to