The Cathedral of Attnam

Changes

Jump to navigation Jump to search
3 bytes removed ,  10:40, 8 May 2016
The shop in the gloomy caves is a good example of how to manually lay out a specific room in the script. The shop is declared as a simple room. The size is set to 5 tiles wide by 9 tiles high. Because it is a shop, and Mellis is the god of trade and politics, the divine master is set to Mellis. No altars, fountains, locked doors or booby trapped doors will generate here. This will generate a bare room (see adjacent image). It generates doors and lanterns by itself, because this is specified in the default parameters for rooms in the dungeon.
 
{| class="wikitable"
We then lay the types out in a 3x7 ascii map. White spaces are ignored, full-stops represent no character, and g and s represent the guard and the shop keeper. We can place the guard in the shop many times over, and we will place one of them in each corner. We probably only want one shop keeper, and so he is placed in the middle of the map.
 
{| class="wikitable"
We can then populate our 3x7 item map with the types we specified, and using a full-stop to leave some spaces for the character types we placed in the character map for the shop.
 
{| class="wikitable"
158

edits

Navigation menu