Modifier and Type | Method and Description |
---|---|
Long |
AC()
How much the item lowers your AC (lower AC = better).
|
List<String> |
appearances()
Initial possible appearances of the item.
|
IItemType |
baseType()
For artifact items – return the base type.
|
Character |
glyph()
Glyph representation of the item type.
|
Boolean |
isArtifact()
True if the item type is an artifact.
|
Boolean |
isSafe()
If true generally won't cause any immediate bad effects upon use.
|
Boolean |
isStackable()
True if items of this type may stack.
|
Boolean |
isTwohanded()
True if the item requires both hands to wield.
|
ItemKind |
kind()
Returns the item category.
|
Long |
MC()
Magic cancellation – how well the item protects against magical attack
effects
|
IMonsterType |
monster()
For corpses, tins, eggs, statues and figurines may return the monster type
if known.
|
String |
name()
Name of the item type.
|
Long |
nutrition()
For edible items.
|
Long |
price()
Base price for items of this type.
|
ItemSubtype |
subtype()
Armor slot or item category.
|
Long |
weight()
How much the item weights.
|
String name()
IItemType baseType()
Character glyph()
Long price()
ItemKind kind()
Long weight()
List<String> appearances()
Boolean isStackable()
Boolean isArtifact()
baseType()
Boolean isSafe()
Boolean isTwohanded()
Long AC()
Long MC()
ItemSubtype subtype()
IMonsterType monster()
Long nutrition()