diff options
Diffstat (limited to 'crawl-ref/source/dat/didact.des')
-rw-r--r-- | crawl-ref/source/dat/didact.des | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/crawl-ref/source/dat/didact.des b/crawl-ref/source/dat/didact.des new file mode 100644 index 0000000000..df6a4cbad9 --- /dev/null +++ b/crawl-ref/source/dat/didact.des @@ -0,0 +1,54 @@ +############################################################################## +# +# This file contains vaults and lua for didactical purposes -- +# it is not included in clua/loadmaps.lua (and shouldn't be!). +# +############################################################################## + +################################################################### +# Multilevel portal vault structure: +# This is how a multilevel portal vault should be laid out. All +# stairs are one-way; the player cannot return to a level once left. + +NAME: multilevel_portal_vault_entry +# Demo vault, disabled. +WEIGHT: 0 +MARKER: O = lua:one_way_stair { \ + dst="multilevel portal vault", \ + desc="An entrance to a multilevel portal vault" \ + } +KFEAT: O = enter_portal_vault +MAP +O +ENDMAP + +NAME: portal_level_1 +TAGS: multilevel_portal_vault +: portal_vault(_G, "multilevel_portal_vault") +# portal_next() links all downstairs to the vault with the specified tag. +: portal_next(_G, "multilevel_portal_vault_b") +MAP +xxxxxx +xA..]x +xxxxxx +ENDMAP + +NAME: portal_level_2 +: portal_vault(_G, "multilevel_portal_vault_b") +: portal_next(_G, "multilevel_portal_vault_c") +MAP +xxxxxx +xAWW]x +xxxxxx +ENDMAP + +NAME: portal_level_3 +: portal_vault(_G, "multilevel_portal_vault_c") +KFEAT: < = exit_portal_vault +MAP +xxxxxxx +xlllllx +xA...<x +xlllllx +xxxxxxx +ENDMAP |