summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/bazaar.des
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-21 12:17:29 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-21 12:17:29 +0000
commit9843737e73a47ef6f1da0554b7ca73018d52d345 (patch)
tree9381ef8b914bc801386f62ce2713c59c17b6a9e8 /crawl-ref/source/dat/bazaar.des
parentb27a757b68bf8a1dcbcb9b3a5cfea5c1278c9bb4 (diff)
downloadcrawl-ref-9843737e73a47ef6f1da0554b7ca73018d52d345.tar.gz
crawl-ref-9843737e73a47ef6f1da0554b7ca73018d52d345.zip
Updated level-design.txt.
Moved map markers to mapmark.cc. Added support for timer markers that remove a feature after a certain timeout. Need to hook up messaging to Lua. Added bazaars (need more bazaar layouts). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1899 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dat/bazaar.des')
-rw-r--r--crawl-ref/source/dat/bazaar.des67
1 files changed, 67 insertions, 0 deletions
diff --git a/crawl-ref/source/dat/bazaar.des b/crawl-ref/source/dat/bazaar.des
new file mode 100644
index 0000000000..94eb6a33ad
--- /dev/null
+++ b/crawl-ref/source/dat/bazaar.des
@@ -0,0 +1,67 @@
+###############################################################################
+# bazaar.des - Bazaar entry vaults and bazaar layouts.
+###############################################################################
+
+###############################################################################
+# Bazaar entries
+
+# Utility functions
+
+lua {{
+ function check_expire_marker(e)
+ if not crawl.one_chance_in(3) then
+ e.marker("O = timer: 1000")
+ end
+ end
+}}
+
+default-depth: D:10-27
+
+###############################################################################
+# Dummy entry
+
+NAME: bzr_entry_dummy
+TAGS: bzr_entry transparent
+ORIENT: float
+: check_expire_marker(_G)
+MAP
+O
+ENDMAP
+
+###############################################################################
+# A simple water entry.
+NAME: bzr_entry_001
+TAGS: bzr_entry no_pool_fixup
+ORIENT: float
+SHUFFLE: wwl
+: check_expire_marker(_G)
+MAP
+ www
+w.w.w
+wwOww
+w.w.w
+ www
+ENDMAP
+
+###############################################################################
+# Bazaar layouts.
+#
+# "encompass" levels are recommended, and can be as small or large as you like.
+# No monsters are pre-placed in bazaars, and monsters do not spawn in bazaars,
+# but you can place monsters in your maps if you know what you're doing.
+
+NAME: bazaar_001
+TAGS: bazaar
+ORIENT: encompass
+KFEAT: A = any shop
+MAP
+xxxxxxxxx
+xxxx>xxxx
+xxx...xxx
+xx..A..xx
+x<.A.A.>x
+xx..A..xx
+xxx...xxx
+xxxx>xxxx
+xxxxxxxxx
+ENDMAP