summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/test
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-10-07 17:35:41 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-10-07 17:35:41 +0200
commit41d041dbf14552fd3a465617a8fbf9b9a8b3d0da (patch)
treead729a2304f5d9f900ec54924cf1194d409e3846 /crawl-ref/source/test
parent221f82edb2bbfd667bc9a842dc4ca0cf82c18066 (diff)
downloadcrawl-ref-41d041dbf14552fd3a465617a8fbf9b9a8b3d0da.tar.gz
crawl-ref-41d041dbf14552fd3a465617a8fbf9b9a8b3d0da.zip
Override monster spawns in the abyss bot.
The setting is applied only on reload, every 1000 time turns. This means that after a newarea shift you'll get only ordinary abyssal monsters, but that's good enough. Why Forest and newCrypt got such a huge weight is left as an exercise to the reader.
Diffstat (limited to 'crawl-ref/source/test')
-rw-r--r--crawl-ref/source/test/stress/abyss.rc10
1 files changed, 10 insertions, 0 deletions
diff --git a/crawl-ref/source/test/stress/abyss.rc b/crawl-ref/source/test/stress/abyss.rc
index 918c95383f..03c9104e36 100644
--- a/crawl-ref/source/test/stress/abyss.rc
+++ b/crawl-ref/source/test/stress/abyss.rc
@@ -68,6 +68,16 @@ function ready()
"debug.disable('death')" .. eol ..
"debug.disable('hunger')" .. eol ..
"debug.disable('afflictions')" .. eol .. esc)
+ crawl.call_dlua("dgn.set_random_mon_list('place:Abyss:$ /" ..
+ "place:D:13 / place:D:20 / place:D:27 /" ..
+ "place:Orc:$ / place:Elf:$ / place:Lair:$ /" ..
+ "place:Swamp:$ / place:Shoals:$ / place:Snake:$ /" ..
+ "place:Spider:$ / place:Slime:$ / place:Vaults:$ /" ..
+ "place:Blade:$ w:1 / place:Crypt w:50 /" ..
+ "place:Forest:$ w:100 / place:Tomb:$ w:3 /" ..
+ "place:Hell w:5 / place:Coc:$ w:5 / place:Tar:$ w:5 /" ..
+ "place:Dis:$ w:5 / place:Geh:$ w:5 / place:Zot w:20 /" ..
+ "place:Pan')")
end
if you.turns() ~= last_turn then
command = 1