Affectable
, java.lang.Cloneable
, CMObject
, java.lang.Comparable<CMObject>
, Contingent
, Environmental
, Expireable
, Modifiable
, MsgListener
, Physical
, StatsAffecting
, Tickable
Container
, DeadBody
, DeckOfCards
, Exit
, FuelConsumer
, HandOfCards
, PrepositionExit
AjarDoor
, Backpack
, BagOfEndlessness
, BagOfHolding
, BandedArmor
, Bed
, Boat
, ChainMailArmor
, ChainMailVest
, Chair
, ClimbableExit
, CloseableContainer
, Corpse
, Door
, Dress
, DrowChainMailArmor
, EternityBarkArmor
, EternityLeafArmor
, EternityLeafShield
, FieldPlate
, FlyingExit
, FullPlate
, GapExit
, Gate
, GenAirLock
, GenArmor
, GenBagOfEndlessness
, GenBagOfHolding
, GenBed
, GenBelt
, GenBoardable
, GenBoat
, GenCage
, GenCageRideable
, GenCannon
, GenCaravan
, GenCastle
, GenChair
, GenCigar
, GenClanArmor
, GenClanCastle
, GenClanCommonContainer
, GenClanConcierge
, GenClanContainer
, GenClanSailorsCap
, GenClanTabbard
, GenCloak
, GenCompGenerator
, GenCompLauncher
, GenComputerConsole
, GenContainer
, GenCorpse
, GenCurtain
, GenDoor
, GenDress
, GenDrink
, GenElecContainer
, GenElecPanel
, GenEmptyDrink
, GenExit
, GenFountain
, GenFurniture
, GenGangline
, GenGiftContainer
, GenGrapples
, GenLiquidResource
, GenMobilePortal
, GenMultiPotion
, GenNavigableBoardable
, GenPants
, GenPerfume
, GenPiano
, GenPipe
, GenPortal
, GenPotion
, GenRideable
, GenSailingShip
, GenScale
, GenShield
, GenShipEngine
, GenShipPanel
, GenShipThruster
, GenShirt
, GenShoes
, GenSiegableBoardable
, GenSiegeWeapon
, GenSpaceShip
, GenStove
, GenTable
, GenTent
, GenTriCorder
, GenTub
, GenWater
, GlovesSpeed
, GlowingMageArmor
, GoodyBag
, Grate
, GreatHelm
, Hat
, Hat_Intelligence
, Helmet
, HerbChest
, HiddenClosedDoorway
, HiddenWalkway
, HideArmor
, HoleInTheGround
, Hood
, HorseCart
, Impassable
, Ingredients
, LargeChest
, LargeSack
, LeatherArmor
, LeatherBoots
, LeatherBracers
, LeatherCap
, LeatherGauntlets
, LifeFountain
, LockableContainer
, LockedDoor
, LockedGate
, MetalBracers
, MichaelsMithrilChain
, NamedRedirectable
, NeedleChest
, NeedleDoor
, OilFlask
, Open
, OpenDescriptable
, OpenNameable
, OpenPrepositional
, PaddedArmor
, Pan
, Pants
, PitOpen
, PortableHole
, Pot
, RingMail
, Robes
, ScaleMail
, Shirt
, Shoes
, Skyway
, SmallChest
, SmallSack
, SplintMail
, Spring
, StdArmor
, StdBoardable
, StdCage
, StdCageRideable
, StdClanArmor
, StdClanCommonContainer
, StdClanConcierge
, StdClanContainer
, StdClanSailorsCap
, StdClanTabbard
, StdClosedDoorway
, StdCompFuelConsumer
, StdCompGenerator
, StdCompLauncher
, StdCompPanel
, StdComputerConsole
, StdContainer
, StdContainerWrapper
, StdDeckOfCards
, StdDrink
, StdElecCompContainer
, StdElecContainer
, StdElecPanel
, StdExit
, StdGrapples
, StdHandOfCards
, StdLockedDoorway
, StdNavigableBoardable
, StdOpenDoorway
, StdPerfume
, StdPortal
, StdPortalWrapper
, StdPotion
, StdRideable
, StdRideableWrapper
, StdShield
, StdShipEngine
, StdShipThruster
, StdSiegableBoardable
, StdSiegeWeapon
, StdSmokable
, StdTriCorder
, StdTub
, SteelGauntlets
, StuddedLeatherArmor
, ThreadbareRobes
, TrappedChest
, TrappedDoor
, TrappedLockedDoor
, UnseenWalkway
, WalkingBoots
, Waterskin
, Wineskin
public interface CloseableLockable extends Physical
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 |
---|---|---|
boolean |
defaultsClosed() |
For exits with a door, this returns whether this
defaults in a closed state.
|
boolean |
defaultsLocked() |
For exits with a door and lock, this returns whether this
defaults in a closed and locked state.
|
boolean |
hasADoor() |
Returns whether this has a door, and must be opened before
being used.
|
boolean |
hasALock() |
Returns whether this has a lock on it, and, if locked,
must be unlocked before being used.
|
boolean |
isLocked() |
Returns whether this is LOCKED, and must be unlocked before
being used.
|
boolean |
isOpen() |
Returns whether this is OPEN and may be accessed or travelled through
|
java.lang.String |
keyName() |
For things with doors and locks, this returns the unique string
representing the key code required to unlock/lock it.
|
int |
openDelayTicks() |
Returns the number of ticks that this remains open when a mob
or player changes it from a closed to an open state, and this thing
defaults in a closed state.
|
void |
setDoorsNLocks(boolean hasADoor,
boolean isOpen,
boolean defaultsClosed,
boolean hasALock,
boolean isLocked,
boolean defaultsLocked) |
Modifies the various door/lock settings for this thing.
|
void |
setKeyName(java.lang.String keyName) |
For things with doors and locks, this sets the unique string
representing the key code required to unlock/lock it.
|
void |
setOpenDelayTicks(int numTicks) |
Sets the number of ticks that this will remain open when a mob
or player changes it from a closed to an open state, and this thing
defaults in a closed state.
|
addEffect, addNonUninvokableEffect, basePhyStats, delAllEffects, delEffect, eachEffect, effects, fetchEffect, fetchEffect, numEffects, phyStats, recoverPhyStats, setBasePhyStats
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
getSaveStatIndex, getStat, getStatCodes, isStat, setStat
executeMsg, okMessage
description, displayText, genericName, name
affectCharState, affectCharStats, affectPhyStats
getTickStatus, name, tick
boolean isOpen()
boolean isLocked()
hasADoor()
,
hasALock()
boolean hasADoor()
isOpen()
,
isLocked()
boolean hasALock()
isOpen()
,
isLocked()
,
hasADoor()
boolean defaultsLocked()
hasADoor()
,
defaultsClosed()
boolean defaultsClosed()
hasADoor()
,
defaultsLocked()
void setDoorsNLocks(boolean hasADoor, boolean isOpen, boolean defaultsClosed, boolean hasALock, boolean isLocked, boolean defaultsLocked)
hasADoor
- whether this has a doorisOpen
- whether this is open for usedefaultsClosed
- whether this defaults closedhasALock
- whether this has a lockisLocked
- whether this is presently lockeddefaultsLocked
- whether this defaults closed and locked.isOpen()
,
isLocked()
,
hasADoor()
,
hasALock()
,
defaultsClosed()
,
defaultsLocked()
java.lang.String keyName()
setKeyName(String)
void setKeyName(java.lang.String keyName)
keyName
- the new key codekeyName()
int openDelayTicks()
setOpenDelayTicks(int)
,
Tickable.TICKID_EXIT_REOPEN
void setOpenDelayTicks(int numTicks)
numTicks
- the number of ticks this will remain openopenDelayTicks()
,
Tickable.TICKID_EXIT_REOPEN