java.lang.Cloneable
, CMObject
, java.lang.Comparable<CMObject>
, Contingent
, Decayable
, Environmental
, Expireable
, LiquidHolder
, Modifiable
, MsgListener
, StatsAffecting
, Tickable
Potion
Cow
, GenCow
, GenDrink
, GenEmptyDrink
, GenFountain
, GenLiquidResource
, GenMultiPotion
, GenPerfume
, GenPotion
, GenTub
, GenWater
, GoatDoe
, IndoorShallowWater
, IndoorUnderWater
, IndoorWaterSurface
, IndoorWaterSurfaceColumn
, IndoorWaterThinSurface
, LifeFountain
, Milkable
, OilFlask
, Pan
, Pot
, SaltWaterSurface
, SaltWaterSurfaceColumn
, SaltWaterThinSurface
, ShallowWater
, Spring
, StdDrink
, StdPerfume
, StdPotion
, StdTub
, Swamp
, UnderSaltWater
, UnderWater
, UnderwaterCityStreet
, Waterskin
, WaterSurface
, WaterSurfaceColumn
, WaterThinSurface
, Wineskin
public interface Drink extends Environmental, Decayable, LiquidHolder
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 |
disappearsAfterDrinking() |
Settable only internally, this method returns whether this entire object is
destroyed immediately after it is drank from -- like a potion.
|
void |
setThirstQuenched(int amount) |
Set the amount of thirst points quenched every time this item is drank from.
|
int |
thirstQuenched() |
The amount of thirst points quenched every time this item is drank from.
|
copyOf, ID, initializeClass, newInstance
amDestroyed, destroy, isSavable, setSavable
decayTime, setDecayTime
description, displayText, image, isGeneric, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setImage, setMiscText, setName, text
expirationDate, setExpirationDate
amountTakenToFillMe, containsLiquid, liquidHeld, liquidRemaining, liquidType, setLiquidHeld, setLiquidRemaining, setLiquidType
getSaveStatIndex, getStat, getStatCodes, isStat, setStat
executeMsg, okMessage
affectCharState, affectCharStats, affectPhyStats
getTickStatus, name, tick
int thirstQuenched()
CharState
void setThirstQuenched(int amount)
amount
- of thirst quenchedCharState
boolean disappearsAfterDrinking()