Monster Members
The Monster type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
AddItem | |
![]() |
BreatheAtMonster |
Use a breath weapon on another monster
|
![]() |
BreatheAtPlayer |
Breathe on the player
|
![]() |
DescribeItemLocation | |
![]() |
FireBallAtPlayer |
Fire some kind of ball attack at the player
|
![]() |
FireBoltAtMonster |
Fire a bolt of some kind at another monster
|
![]() |
FireBoltAtPlayer |
Cast a bolt spell at the player
|
![]() |
ForgetSmartness |
Forget what the monster has seen, clearing all smart flags except for ally and clone
|
![]() |
GetMonsterIndex |
Returns the index of this monster in the monster list. This method is provided for backwards compatability and should NOT be used. Will be deleted when no longer needed.
|
![]() |
ItemDescribe |
Renders a description of the item. For a non-inventory slot, the description is rendered as the player viewing the item.
|
![]() |
ItemIncrease |
Modifies the quantity of an item. No player stats are modified.
|
![]() |
ItemOptimize |
Checks the quantity of an item and removes it, when the quanity is zero.
|
![]() |
Label | |
![]() |
MonsterAttackPlayer |
Have a monster make an attack on the player
|
![]() |
ProcessMonster |
Have an individual monster take its turn
|
![]() |
ProcessWorld | |
![]() |
RemoveItem | |
![]() |
SanityBlast | |
![]() |
TakeDamageFromAnotherMonster |
Take damage after being hit by another monster
|
![]() |
TakeOffMessage | |
![]() |
TeleportAway |
Fields
Name | Description | |
---|---|---|
![]() |
ConfusionLevel | |
![]() |
DistanceFromPlayer |
How far away from the player the monster is
|
![]() |
Energy | |
![]() |
FearLevel | |
![]() |
Generation | |
![]() |
Health | |
![]() |
IndividualMonsterFlags | |
![]() |
IsVisible | |
![]() |
Items | |
![]() |
MapX | |
![]() |
MapY | |
![]() |
MaxHealth | |
![]() |
Race | |
![]() |
SleepLevel |
How deeply the monster is sleeping
|
![]() |
SmCloned | |
![]() |
SmFriendly | |
![]() |
SmImmAcid | |
![]() |
SmImmCold | |
![]() |
SmImmElec | |
![]() |
SmImmFire | |
![]() |
SmImmFree | |
![]() |
SmImmMana | |
![]() |
SmImmReflect | |
![]() |
SmImmXxx5 | |
![]() |
SmOppAcid | |
![]() |
SmOppCold | |
![]() |
SmOppElec | |
![]() |
SmOppFire | |
![]() |
SmOppPois | |
![]() |
SmOppXXx1 | |
![]() |
SmResAcid | |
![]() |
SmResBlind | |
![]() |
SmResChaos | |
![]() |
SmResCold | |
![]() |
SmResConf | |
![]() |
SmResDark | |
![]() |
SmResDisen | |
![]() |
SmResElec | |
![]() |
SmResFear | |
![]() |
SmResFire | |
![]() |
SmResLight | |
![]() |
SmResNeth | |
![]() |
SmResNexus | |
![]() |
SmResPois | |
![]() |
SmResShard | |
![]() |
SmResSound | |
![]() |
Speed | |
![]() |
StolenGold | |
![]() |
StunLevel |
Properties
Name | Description | |
---|---|---|
![]() |
IndefiniteVisibleName |
Returns the indefinite name for the monster, assuming the monster is visible.
|
![]() |
IndefiniteWhenHiddenName |
Returns the indefinite name for the monster, when the monster is hidden.
|
![]() |
IndefinitionWhenVisibleName |
Returns the indefinite name fo the monster, when the monster is visible.
|
![]() |
IsInEquipment | |
![]() |
IsInInventory |
Returns false, because the item container doesn't belong to the players inventory.
|
![]() |
Name |
Returns the name of the monster.
|
![]() |
PossessiveName |
Returns a possessive or reflexive name for the monster.
|
![]() |
VisibleName |
Return the name of the monster, assuming the monster is visible.
|