grid_bordersides

“grid_bordersides” is an int attribute. It specifies which sides of the square should be drawn for for this room on the map.

You shouldn’t need to set this directly, as there are types set up to make it easier to choose the correct value.

The default (as defined by defaultobject) draws all four sides of the square. To draw different sides, use one of these types:

gridborder_path_ew
An East-West path (so draw top and bottom)

gridborder_path_e
A path goes East (so draw top, bottom, left)

gridborder_path_w
A path goes West (so draw top, bottom, right)

gridborder_path_ns
A North-South path (so draw left and right)

gridborder_path_n
A path goes North (so draw left, right, bottom)

gridborder_path_s
A path goes South (so draw left, right, top)

The attribute value itself encodes the sides as individual bits (for NESW).