Skip to content

#TileFlags

VariableTileRead-onlyStringNeeds client
Set by
Tile

Also searchable as: #TileFlags · TileFlags · tile flags · impassable · wet

#TileFlags lists the properties of the tile as names joined by _, for example Impassable_Surface. It is filled by tile get for the tile asked for. Test a property with in.

The possible names are: Background, Weapon, Transparent, Translucent, Wall, Damaging, Impassable, Wet, Unknown, Surface, Bridge, GenericStackable, Window, NoShoot, PrefixA, PrefixAn, Internal, Foliage, PartialHue, Unknown1, Map, Container, Wearable, LightSource, Animated, NoDiagonal, Unknown2, Armor, Roof, Door, StairBack, StairRight.

set %x #CharPosX
set %y #CharPosY - 1 ; the tile north of you
tile init
tile get %x %y 1
if Impassable in #TileFlags
display ok Cannot walk there.
halt

See also

Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.