kts.MagicMapping

Name

kts.MagicMapping – give current actor a full map of the dungeon

Synopsis

kts.MagicMapping()

Description

If the current actor (as given by cxt.actor) is a knight, then the corresponding player receives a full map of the dungeon. In other words, the location of all "wall" squares in the dungeon will now be visible on their mini-map. The "interiors" of rooms (i.e. the floor squares) are not automatically mapped; this allows the player to distinguish between rooms they have actually visited, and rooms they have only discovered via the magic mapping effect.

For the purposes of mapping, a square is defined as a "wall" if any of the tiles on that square have all of the following properties:

Return Value

None.

Examples

This is one of the possible scroll effects; see magic.lua.

See Also

The cxt table

kts.WipeMap