POS_TYPE
| Name | Value | Description |
|---|---|---|
POS_TYPE.AIR | 4 | Is a non-solid tile (no need to explicitly add this to everything) |
POS_TYPE.ALCOVE | 16 | Has a floor, ceiling and exactly one wall |
POS_TYPE.CEILING | 2 | Below solid ceiling |
POS_TYPE.DEFAULT | 4096 | FLOOR | SAFE | EMPTY |
POS_TYPE.EMPTY | 1024 | Has nothing but decoration and background in it |
POS_TYPE.FLOOR | 1 | On top of solid floor |
POS_TYPE.HOLE | 64 | Air pocket surrounded by floors |
POS_TYPE.LAVA | 256 | Is in lava (otherwise assumed not in lava) |
POS_TYPE.PIT | 32 | Has a floor, two walls and no ceiling |
POS_TYPE.SAFE | 512 | Avoid hazards, like certain traps, shops and any special floor |
POS_TYPE.SOLID | 2048 | Is inside solid floor or activefloor |
POS_TYPE.WALL | 8 | Next to a wall |
POS_TYPE.WALL_LEFT | 8192 | Next to a wall on the left |
POS_TYPE.WALL_RIGHT | 16384 | Next to a wall on the right |
POS_TYPE.WATER | 128 | Is in water (otherwise assumed not in water) |