This change moves the logic for when a level or branch prohibits

teleport control from the C++ code into the vault .des files. This is done with the additions of two things:

  • Changeable, persistent per-level and per-branch flags which affect game play.

  • Dungeon events for the killing of monsters, picking up of objects and changing of features.

The current level and branch flags are for teleport control prevention, making a level unmappable (like the Abyss or a Labyrinth), and preventing magic mapping from working (like the Abyss or a Labyrinth).

Some related changes:

  • The new .des header KMASK allows for dungeon grid masks like no_monster_gen to be applied to specific symbols rather than the entire vault.

  • If the wizard mapping command (&{) is used in a place which is unmappable, it will ask if you wish to force the area to be mappable (so you can see what an entire Labyrinth or Abyss level looks like without having to hack the source).

  • A new wizard-mode level-map command, 'T', will teleport the player to wherever the cursor is pointing.

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2146 c06c8d41-db1a-0410-9941-cceddc491573

Created by  zelgadis  on September 19, 2007
ED62QWGKBPORWVKDFOQRKJXEIWZVNGR3O4KWQBDSRNPT36AYOQYAC
Dependencies
In channels
main
Change contents