From 28efc383ffafb625b0bc8e2932184aec0afd17fa Mon Sep 17 00:00:00 2001 From: dploog Date: Fri, 28 Nov 2008 09:16:09 +0000 Subject: Moved unused documentational lua code to a separate file. Added some words to "how to help" in the README. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7667 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/README.txt | 7 +++-- crawl-ref/source/dat/didact.des | 54 +++++++++++++++++++++++++++++++++++++++ crawl-ref/source/dat/ziggurat.des | 48 ---------------------------------- 3 files changed, 59 insertions(+), 50 deletions(-) create mode 100644 crawl-ref/source/dat/didact.des diff --git a/crawl-ref/README.txt b/crawl-ref/README.txt index c32c404beb..de29d3fa52 100644 --- a/crawl-ref/README.txt +++ b/crawl-ref/README.txt @@ -145,12 +145,15 @@ branches. * Tiles. Since version 0.4, tiles are integrated within Crawl. Having variants of often-used glyphs is always good. If you want to give this a shot, please -contact us via the mailing list. +contact us via the mailing list. In case you drew some tiles of your own, +tell us via the list. * Patches. If you like to, you can download the source code and apply patches. Both patches for bug fixes as well as implementation of new features are very much -welcome. +welcome. If you want to code a cool feature that is likely to be accepted but +unlikely to be coded by the devteam, search the Feature Requests tracker on +the Sourceforge site for Groups "Patches Welcome". Please be sure to read docs/coding_conventions.txt first. Thank you, and have fun crawling! 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...