## Ogre Dungeon # file format design by Maarten Meuris # width of the map # x=width x=15 # height of de map # y=height y=14 #theater setting #terrain=name of the terrain tiles folder terrain=dungeon # wall - indicates which character on the map is used for impassable terrain. # See as a bumpmap: # 1 is high, is wall, is impassable # 0 is low, is path, is passable. # wall=identifying character wall=* # hero - indicates which character on the map gives the position of the hero. # If it appears multiple times the last one is used. # hero=identifying character hero=h # monster list - makes a list of all monsters types that appear on the map, tied to an # identifying character. A monster in the list can be used several times on the map. # monster=monster name,identifying character monster=ogre,o monster=imp,i # [map] indicates the beginning of the map-section. # After [map], no more other settings are read. [map] # map - creates a playing field using the previously configured dimensions and characters. # All characters that aren't "wall" are filled with open space, including premature ends of # lines, and any missing lines if the number of "map=" lines is less than the Y setting. # map=string of identifying characters and whitespace map=*************** map=h ** * map= ** *** * * map=****o** *** * * map=* * * * map=* ******* o * * map=* *** *i* map=***** ******* * map=* o ** * map=* * ** * * map=* ***** * *** map=* i* * *** map=*****i ** o * map=***************