Skip to content

POS_TYPE

source

NameValueDescription
POS_TYPE.AIR4

Is a non-solid tile (no need to explicitly add this to everything)

POS_TYPE.ALCOVE16

Has a floor, ceiling and exactly one wall

POS_TYPE.CEILING2

Below solid ceiling

POS_TYPE.DEFAULT4096

FLOOR | SAFE | EMPTY

POS_TYPE.EMPTY1024

Has nothing but decoration and background in it

POS_TYPE.FLOOR1

On top of solid floor

POS_TYPE.HOLE64

Air pocket surrounded by floors

POS_TYPE.LAVA256

Is in lava (otherwise assumed not in lava)

POS_TYPE.PIT32

Has a floor, two walls and no ceiling

POS_TYPE.SAFE512

Avoid hazards, like certain traps, shops and any special floor

POS_TYPE.SOLID2048

Is inside solid floor or activefloor

POS_TYPE.WALL8

Next to a wall

POS_TYPE.WALL_LEFT8192

Next to a wall on the left

POS_TYPE.WALL_RIGHT16384

Next to a wall on the right

POS_TYPE.WATER128

Is in water (otherwise assumed not in water)