Modifier and Type | Method and Description |
---|---|
Long |
AC()
Armor class – lower is better.
|
Alignment |
alignment()
Returns the player's current alignment.
|
Boolean |
canEat(IItem food)
True if the player can eat the food with no ill effects.
|
Boolean |
canEatWithBenefit(IItem corpse)
True if the player can gain intrinsics or stats by eating the corpse.
|
Boolean |
canEnhance()
True if there are skills that can be Enhanced.
|
Long |
carryingCapacity()
How much weight the player can carry before getting burdened.
|
Encumbrance |
encumbrance()
Returns the current outstanding encumbrance status (possibly null).
|
Long |
experienceLevel()
The player's level.
|
Long |
getDisplayedStr()
The displayed value of strenght – may be something like 18/10 or 18/**
|
Long |
getStat(Stat stat)
Get the effective integer value of stat.
|
Boolean |
hasHands()
False when polymorphed into a handless or limbless monster.
|
Boolean |
hasHurtLegs()
True if the player has wounded legs.
|
Boolean |
hasIntrinsic(Intrinsic intrinsic)
Returns true if the player has the given intrinsic.
|
Boolean |
hasLycantrophy()
True if the player is a were-something.
|
Long |
HP()
The amount of hit points remanining.
|
Hunger |
hunger()
Returns the current hunger status (possibly null).
|
Map<Character,IItem> |
inventory()
The player's inventory.
|
Boolean |
isBlind()
True if the player is blinded.
|
Boolean |
isBlindExternally()
True if the player is blinded by a cream pie or venom.
|
Boolean |
isBurdened()
True if the player is burdened or worse.
|
Boolean |
isDizzy()
True if the player is confused or stunned.
|
Boolean |
isEngulfed()
True if the player is engulfed by a monster.
|
Boolean |
isHungry()
True if the player is hungry or worse.
|
Boolean |
isIll()
True if the player is deathly sick (including food poisoning).
|
Boolean |
isOverloaded()
True if the player is overloaded.
|
Boolean |
isOvertaxed()
True if the player is overtaxed or worse.
|
Boolean |
isStatDrained()
True if the player has restorable drained stats.
|
Boolean |
isStoning()
True if the player is about to turn into stone.
|
Boolean |
isStrained()
True if the player is strained or worse.
|
Boolean |
isStressed()
True if the player is stressed or worse.
|
Boolean |
isStunned()
True if the player is stunned.
|
Boolean |
isTrapped()
True if the player is stuck in a trap.
|
Boolean |
isWeak()
True if the hunger status is WEAK or worse
|
Long |
maxHP()
The maximum amount of hit points.
|
Long |
maxPW()
The maximum amount of magic power.
|
String |
nickname()
Name displayed on the status line.
|
IMonsterType |
polymorphed()
Returns the monster type into which the player is currently polymorphed.
|
Long |
protection()
How many times the player bought divine protection.
|
Long |
PW()
The amount of magic power.
|
String |
title()
Title displayed on the status line.
|
Map.Entry<Character,IItem> |
wielding()
The slot-item pair for item wielded in hand.
|
Alignment alignment()
Hunger hunger()
Encumbrance encumbrance()
Boolean canEnhance()
Boolean hasHands()
Boolean hasHurtLegs()
Boolean isOverloaded()
Boolean isOvertaxed()
Boolean isStrained()
Boolean isStressed()
Boolean isBurdened()
Boolean isWeak()
Boolean isHungry()
Boolean isBlindExternally()
Boolean isEngulfed()
IMonsterType polymorphed()
Boolean hasIntrinsic(Intrinsic intrinsic)
String nickname()
String title()
Long HP()
Long maxHP()
Long PW()
Long maxPW()
Long AC()
Long experienceLevel()
Map<Character,IItem> inventory()
Map.Entry<Character,IItem> wielding()
Boolean isTrapped()
Boolean isStatDrained()
Boolean hasLycantrophy()
polymorphed()
Boolean isStoning()
Boolean isBlind()
isBlindExternally()
Boolean isStunned()
Boolean isIll()
Boolean isDizzy()
Boolean canEat(IItem food)
Boolean canEatWithBenefit(IItem corpse)
Long carryingCapacity()
Long getStat(Stat stat)
getDisplayedStr()
Long getDisplayedStr()
Long protection()