Affectable
, Behavable
, java.lang.Cloneable
, CMObject
, java.lang.Comparable<CMObject>
, Contingent
, Environmental
, Expireable
, ItemCollection
, Modifiable
, MsgListener
, Physical
, PhysicalAgent
, StatsAffecting
, Tickable
Deity
, GridLocale
, LocationRoom
, MOB
, Room
Alligator
, AngryCitizen
, Ape
, Assassin
, Beaver
, Bee
, BlackBear
, BlackDragon
, BlueDragon
, BrassDragon
, BronzeDragon
, BrownBear
, BrownSnake
, Buck
, Buffalo
, Bugbear
, Bull
, Cat
, CaveGrid
, CaveMaze
, CaveRoom
, CaveSeaPort
, CaveSurface
, Centaur
, Centipede
, Cheetah
, Chicken
, Chimp
, Citizen
, CityStreet
, ClimbableLedge
, ClimbableSurface
, Cobra
, CombatDummy
, CommonBat
, CopperDragon
, Cougar
, Cow
, Coyote
, Crocodile
, DarkStoneRoom
, Deer
, Desert
, DesertGrid
, DesertMaze
, DesertThinGrid
, DireWolf
, Doe
, Dog
, Dolphin
, Doppleganger
, Dragon
, DrowElf
, DrowPriestess
, DrowWarrior
, DrowWizard
, Duck
, Elephant
, EndlessOcean
, EndlessSky
, EndlessThinOcean
, EndlessThinSky
, Falcon
, FireGiant
, FlyingInsect
, Fox
, Frog
, FrostGiant
, FrozenMountains
, FrozenPlains
, GardenSnake
, GenAuctioneer
, GenBanker
, GenCow
, GenDeity
, GenHorse
, GenLibrarian
, GenMob
, GenPostman
, GenRideable
, GenRideableUndead
, GenShopkeeper
, GenUndead
, GiantBat
, GiantScorpion
, Gnoll
, Goat
, GoatDoe
, Goblin
, GoldDragon
, Gorilla
, GreatLake
, GreatThinLake
, GreenDragon
, Hawk
, HeavenlyServent
, HideoutShelter
, HillGiant
, Hills
, HillsGrid
, HillsThinGrid
, Hornet
, Horse
, HotRoom
, IcePlains
, IceRoom
, IndoorInTheAir
, IndoorShallowWater
, IndoorUnderWater
, IndoorUnderWaterColumnGrid
, IndoorUnderWaterGrid
, IndoorUnderWaterThinGrid
, IndoorWaterSurface
, IndoorWaterSurfaceColumn
, IndoorWaterThinSurface
, InTheAir
, InvisibleStalker
, Jaguar
, Jungle
, JungleGrid
, JungleThinGrid
, Kitten
, LargeBat
, LargeCaveRoom
, LargeStoneRoom
, LargeWoodRoom
, Lion
, Lizard
, LizardMan
, LizardManShaman
, LongerRoad
, LongestRoad
, LongRoad
, MagicFreeRoom
, MagicShelter
, MetalRoom
, MetalRoomMaze
, Minotaur
, Monkey
, MountainLion
, Mountains
, MountainsGrid
, MountainsMaze
, MountainsThinGrid
, MountainSurface
, MountainSurfaceGrid
, MountainSurfaceThinGrid
, Mouse
, Naga
, OceanGrid
, OceanThinGrid
, Ogre
, Orc
, OverTheLedge
, Owl
, Panther
, Parakeet
, Pegasus
, PegasusGreater
, Penguin
, Pig
, Plains
, PlainsGrid
, PlainsThinGrid
, Puppy
, Python
, Rabbit
, Rat
, Rattlesnake
, Raven
, RedDragon
, Road
, RoadGrid
, RoadThinGrid
, Rooster
, SaltWaterSurface
, SaltWaterSurfaceColumn
, SaltWaterThinSurface
, Scorpion
, Seal
, SeaPort
, SewerMaze
, SewerRoom
, ShallowWater
, Shark
, Sheep
, ShipDeck
, ShipHeavyGunDeck
, ShipHold
, ShipLightGunDeck
, ShipMagazine
, ShipMedGunDeck
, ShipQuarter
, Shore
, ShoreGrid
, SilverDragon
, Skeleton
, Snake
, SpacePort
, Spider
, Squirrel
, StdAuctioneer
, StdBanker
, StdDeity
, StdFactoryMOB
, StdGrid
, StdLibrarian
, StdMaze
, StdMOB
, StdMobWrapper
, StdPostman
, StdRideable
, StdRideableWrapper
, StdRoom
, StdShopKeeper
, StdThinGrid
, StoneGiant
, StoneGolem
, StoneGrid
, StoneMaze
, StoneRoom
, StoneThinGrid
, Swamp
, SwampGrid
, SwampThinGrid
, Swordfish
, Teacher
, ThinRoom
, Tiger
, Toad
, TreeSurface
, Troll
, Turtle
, UmberHulk
, Undead
, UndergroundCityStreet
, UnderSaltWater
, UnderSaltWaterColumnGrid
, UnderSaltWaterGrid
, UnderSaltWaterMaze
, UnderSaltWaterThinGrid
, UnderWater
, UnderwaterCityStreet
, UnderWaterColumnGrid
, UnderWaterGrid
, UnderWaterMaze
, UnderWaterThinGrid
, Void
, Vulture
, Walrus
, WaterSurface
, WaterSurfaceColumn
, WaterThinSurface
, WetCaveGrid
, WetCaveMaze
, WetCaveRoom
, Whale
, Whirlpool
, WhiteBear
, WhiteDragon
, WildEagle
, Wolf
, Wolverine
, WoodenDeck
, WoodRoom
, WoodRoomGrid
, WoodRoomMaze
, WoodRoomThinGrid
, Woods
, WoodSeaPort
, WoodsGrid
, WoodsMaze
, WoodsThinGrid
, Worm
, Wyvern
, Zombie
public interface ItemPossessor extends PhysicalAgent, ItemCollection
Modifier and Type | Interface | Description |
---|---|---|
static class |
ItemPossessor.Expire |
Constants for the addItem methods to denote how long the item
lives before expiring.
|
static class |
ItemPossessor.Find |
constant for the findItem/findItems method denoting special modifying flags on the search
|
static class |
ItemPossessor.Move |
constant for the moveItemTo methods to denote flags are being given -- normal operation
|
idConverter
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
Modifier and Type | Method | Description |
---|---|---|
void |
addItem(Item item,
ItemPossessor.Expire expire) |
Adds a new item to its possessor, with an expiration code.
|
java.lang.String |
getContextName(Environmental E) |
Generates a specific search-string name for the given
object in this possessor.
|
void |
moveItemTo(Item container) |
Intelligently removes an item from its current location and
moves it to this possessor, managing any container contents.
|
void |
moveItemTo(Item container,
ItemPossessor.Expire expire,
ItemPossessor.Move... moveFlags) |
Intelligently removes an item from its current location and
moves it to this possessor, managing any container contents,
and possibly followers/riders if the item is a cart.
|
addEffect, addNonUninvokableEffect, basePhyStats, delAllEffects, delEffect, eachEffect, effects, fetchEffect, fetchEffect, numEffects, phyStats, recoverPhyStats, setBasePhyStats
addBehavior, addScript, behaviors, delAllBehaviors, delAllScripts, delBehavior, delScript, eachBehavior, eachScript, fetchBehavior, fetchBehavior, fetchScript, numBehaviors, numScripts, scripts
copyOf, ID, initializeClass, newInstance
amDestroyed, destroy, isSavable, setSavable
description, displayText, image, isGeneric, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setImage, setMiscText, setName, text
expirationDate, setExpirationDate
addItem, delAllItems, delItem, eachItem, findItem, findItem, findItems, findItems, getItem, getRandomItem, isContent, items, numItems
getSaveStatIndex, getStat, getStatCodes, isStat, setStat
executeMsg, okMessage
description, displayText, genericName, name
affectCharState, affectCharStats, affectPhyStats
getTickStatus, name, tick
void addItem(Item item, ItemPossessor.Expire expire)
item
- the item to addexpire
- the expiration argument to decide when it will get cleaned upItemPossessor.Expire
void moveItemTo(Item container, ItemPossessor.Expire expire, ItemPossessor.Move... moveFlags)
container
- the item to addexpire
- the expiration codemoveFlags
- any flags related to the moveItemPossessor.Expire
void moveItemTo(Item container)
container
- the item to addItemPossessor.Expire
java.lang.String getContextName(Environmental E)
E
- the mob or item to return a search string for