diff options
Diffstat (limited to 'crawl-ref/docs')
-rw-r--r-- | crawl-ref/docs/develop/level_design.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/crawl-ref/docs/develop/level_design.txt b/crawl-ref/docs/develop/level_design.txt index f68a1b166f..0788a355f7 100644 --- a/crawl-ref/docs/develop/level_design.txt +++ b/crawl-ref/docs/develop/level_design.txt @@ -736,6 +736,9 @@ FTILE: . = floor_grass:20 / floor_dirt / none destroyed, this floor tile will be used in place of the normal floor. Thus, it can be useful even for non-floor features. + For convenience, multiple glyphs can be specified together as a + group, e.g. ".[{( = floor_orc". + Like COLOUR, this should be used sparingly. RTILE: x = wall_hive:15 / wall_lair / none @@ -1847,6 +1850,17 @@ mons_from_index, change_level_flags, change_branch_flags, set_random_mon_list +Additionally, the dgn module provides a global "grd" variable that +can access the current map glyphs. The top left symbol in the map +can be assigned like this: + + grd[1][1] = 'x' + +The bottom right symbol can be assigned like this: + + grd[width()][height()] = "." + + Lua API - global game state --------------------------- |