summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/arena.des
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-02 18:00:23 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-02 18:00:23 +0000
commit99f7bcaeb42ec9b6c22f6f24be42b43ed3a28fa4 (patch)
treefaacf0ce68d0ebadefae6b112cfd2104c18712fa /crawl-ref/source/dat/arena.des
parent748d46d89bf76acd85c117b95579ea9c477fce9d (diff)
downloadcrawl-ref-99f7bcaeb42ec9b6c22f6f24be42b43ed3a28fa4.tar.gz
crawl-ref-99f7bcaeb42ec9b6c22f6f24be42b43ed3a28fa4.zip
Miscellaneous arena improvements: items, lua preludes, tiles fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8123 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dat/arena.des')
-rw-r--r--crawl-ref/source/dat/arena.des62
1 files changed, 62 insertions, 0 deletions
diff --git a/crawl-ref/source/dat/arena.des b/crawl-ref/source/dat/arena.des
index aa500d1f0f..b860911ca2 100644
--- a/crawl-ref/source/dat/arena.des
+++ b/crawl-ref/source/dat/arena.des
@@ -1,3 +1,34 @@
+lua {{
+function randomise_colours(e)
+ local colours = {
+ "blue", "green", "cyan", "red", "magenta", "brown",
+ "lightgrey", "darkgrey", "lightblue", "lightgreen", "lightcyan",
+ "lightred", "lightmagenta", "yellow", "white"
+ }
+
+ local walls = {
+ "wall_normal", "wall_hall", "wall_hive", "wall_ice", "wall_lair",
+ "wall_orc", "wall_snake", "wall_swamp", "wall_tomb", "wall_vault",
+ "wall_zot_blue", "wall_zot_cyan", "wall_zot_gray", "wall_zot_green",
+ "wall_zot_magenta", "wall_zot_red", "wall_zot_yellow", "wall_flesh",
+ "wall_vines", "wall_pebble_red", "wall_yellow_rock", "wall_brick_gray",
+ "wall_stone_gray", "wall_undead"
+ }
+
+ local floors = {
+ "floor_normal", "floor_hall", "floor_hive", "floor_ice", "floor_lair",
+ "floor_orc", "floor_snake", "floor_swamp", "floor_tomb", "floor_vault",
+ "floor_vines", "floor_rough_red", "floor_sand_stone", "floor_grass",
+ "floor_nerves", "floor_dirt"
+ }
+
+ e.rockcol(util.random_from(colours))
+ e.floorcol(util.random_from(colours))
+ e.rocktile(util.random_from(walls))
+ e.floortile(util.random_from(floors))
+end
+}}
+
NAME: arena_default
TAGS: arena_default no_mons_gen
MARKER: A = feat: stone_stairs_up_i
@@ -329,3 +360,34 @@ o.o.o.o.o.o.o.o.o
o...o...A...o...o
ooooooooooooooooo
ENDMAP
+
+NAME: arena_items
+TAGS: arena_items no_mons_gen no_item_gen
+MARKER: A = feat: stone_stairs_up_i
+MARKER: B = feat: stone_stairs_down_i
+MARKER: O = feat: escape_hatch_up
+SUBST: A = ., B = ., O = .
+ORIENT: encompass
+ITEM: any
+ITEM: any potion
+ITEM: any wand
+: randomise_colours(_G)
+MAP
+XXXXXXXXXXXXXXXXX
+XX.............XX
+X.......B.......X
+X.....ddddd.....X
+X.....eeeee.....X
+X......fff......X
+X......ddd......X
+X...............X
+X.......O.......X
+X...............X
+X......ddd......X
+X......fff......X
+X.....eeeee.....X
+X.....ddddd.....X
+X.......A.......X
+XX.............XX
+XXXXXXXXXXXXXXXXX
+ENDMAP