GridTile Members
The GridTile type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
AddItem | |
|
|
DescribeItemLocation | |
|
|
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 quantity is zero.
|
|
|
Label | |
|
|
ProcessWorld | |
|
|
RemoveItem | |
|
|
RevertToBackground | |
|
|
SetBackgroundFeature | |
|
|
SetFeature |
Sets the FeatureType of the tile to a named FloorTileType
|
|
|
TakeOffMessage | |
|
|
ToString |
Fields
| Name | Description | |
|---|---|---|
|
|
BackgroundFeature |
The type of feature in this grid tile
|
|
|
EasyVisibility |
Used within the view code to mark tiles that are "easily" visible
|
|
|
FeatureType |
The type of feature in this grid tile
|
|
|
InRoom |
Set if the grid tile is part of a room
|
|
|
InVault |
Set if the grid tile is part of a vault
|
|
|
IsVisible |
Set if the grid tile is visible to the player
|
|
|
Items |
The index of the first item that is in this grid tile
|
|
|
MonsterIndex |
The index of the monster that is in this grid tile
|
|
|
PlayerLit |
Set if the grid tile is currently lit by the player's light source
|
|
|
PlayerMemorized |
Set if the player should remember the grid's contents
|
|
|
SaveGame | |
|
|
ScentAge |
The time since the player's scent in the tile was calculated
|
|
|
ScentStrength |
The strength of the player's scent in this tile
|
|
|
SelfLit |
Set if the grid tile is lit independently of the player's light source
|
|
|
TempFlag |
Used within the view and light code to mark tiles that might need a redraw
|
|
|
TileFlags |
Flags for the tile
|
|
|
TrapsDetected |
Set if the grid tile has had a Detect Traps used on it
|
|
|
X | |
|
|
Y |
Properties
| Name | Description | |
|---|---|---|
|
|
IsInEquipment | |
|
|
IsInInventory |
Returns false, because the item container doesn't belong to the players inventory.
|