diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-14 19:43:42 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-14 19:43:42 +0000 |
commit | 35e9236db1397f7c0526b20e8db6af718a7a5ee7 (patch) | |
tree | e2788f8c03d27d68c884f933c5287d6c240e41f1 /crawl-ref/source/dat | |
parent | f5ecdf95ee8b9bb98f8a4cdea49a05cf5ecbaaf0 (diff) | |
download | crawl-ref-35e9236db1397f7c0526b20e8db6af718a7a5ee7.tar.gz crawl-ref-35e9236db1397f7c0526b20e8db6af718a7a5ee7.zip |
Apply evktalo's patch in [2586241]: Update level_design.txt and tweak
.des files.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9078 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dat')
-rw-r--r-- | crawl-ref/source/dat/icecave.des | 14 | ||||
-rw-r--r-- | crawl-ref/source/dat/large.des | 6 | ||||
-rw-r--r-- | crawl-ref/source/dat/sewer.des | 2 |
3 files changed, 11 insertions, 11 deletions
diff --git a/crawl-ref/source/dat/icecave.des b/crawl-ref/source/dat/icecave.des index 8927340283..f85a8fa8b4 100644 --- a/crawl-ref/source/dat/icecave.des +++ b/crawl-ref/source/dat/icecave.des @@ -450,7 +450,7 @@ MONS: polar bear simulacrum w:3 generate_awake / \ MONS: ice statue ITEM: wand of frost / wand of cold w:5 ITEM: ring of ice / staff of cold -: if crawl.random2(2) == 0 then +: if crawl.coinflip() then ITEM: manual of ice magic ITEM: nothing : else @@ -592,7 +592,7 @@ TAGS: ice_cave no_item_gen no_monster_gen no_pool_fixup WEIGHT: 5 ORIENT: encompass # A bit of layout randomization. -: if crawl.random2(2) == 0 then +: if crawl.coinflip() then SUBST: ' = x SUBST: - = . SUBST: _ = . @@ -603,7 +603,7 @@ SUBST: _ = w : end : ice_cave_colours(_G) # Two different populations: undead/demon and natural/giant. -: if crawl.random2(2) == 0 then +: if crawl.coinflip() then : ice_cave_random_monster_list_undead_demon(_G) : ice_cave_caverns_undead_demon_monster_set(_G) ITEM: cloak ego:fire_resistance good_item / wizard hat good_item / \ @@ -659,13 +659,13 @@ TAGS: ice_cave no_item_gen no_monster_gen no_pool_fixup WEIGHT: 5 ORIENT: encompass # Some layout randomization. -: if crawl.random2(2) == 0 then +: if crawl.coinflip() then SUBST: '=x , -=. : else SUBST: '=. , -=x : end # Two different populations: undead/demon and natural/giant. -: if crawl.random2(2) == 0 then +: if crawl.coinflip() then : ice_cave_random_monster_list_undead_demon(_G) : ice_cave_caverns_undead_demon_monster_set(_G) ITEM: cloak ego:fire_resistance good_item / wizard hat good_item / \ @@ -727,13 +727,13 @@ TAGS: ice_cave no_item_gen no_monster_gen no_pool_fixup WEIGHT: 5 ORIENT: encompass # A bit of layout randomization for the middle part. -: if crawl.random2(2) == 0 then +: if crawl.coinflip() then SUBST: '=x , -=. : else SUBST: '=. , -=x : end # Two different populations: undead/demon and natural/giant. -: if crawl.random2(2) == 0 then +: if crawl.coinflip() then : ice_cave_random_monster_list_undead_demon(_G) : ice_cave_caverns_undead_demon_monster_set(_G) ITEM: cloak ego:fire_resistance good_item / wizard hat good_item / \ diff --git a/crawl-ref/source/dat/large.des b/crawl-ref/source/dat/large.des index 6b96b487da..0ddadfcd0e 100644 --- a/crawl-ref/source/dat/large.des +++ b/crawl-ref/source/dat/large.des @@ -217,7 +217,7 @@ DEPTH: D:3-14 # This chooses between closed+populated and open+deserted variations - # the populated version is more fun, the deserted version is easier. # Shallow vaults and some deeper ones get the deserted version: -: if you.absdepth()<7 or crawl.random2(6)==0 then +: if you.absdepth()<7 or crawl.one_chance_in(6) then SUBST: T=., A=., a=., M=., m=., H=., h=., F=., f=., S=., s=., B=. SUBST: b=., W=., w=., Z=., z=., G=., D=., d=. : end @@ -997,10 +997,10 @@ KMONS: z = killer bee KMONS: Z = bumblebee KITEM: z = royal jelly / honeycomb w:20 / nothing w:120 KITEM: Z = royal jelly / honeycomb w:20 / nothing w:120 -: if crawl.random2(3) == 0 then +: if crawl.one_chance_in(3) then KMONS: ! = orc / orc warrior / orc knight / nothing w:30 KMONS: & = orc warlord / orc knight / nothing w:20 -: elseif crawl.random2(2) == 0 then +: elseif crawl.coinflip() then KMONS: ! = yaktaur / nothing KMONS: & = yaktaur captain / nothing : else diff --git a/crawl-ref/source/dat/sewer.des b/crawl-ref/source/dat/sewer.des index af71f91c63..322a1c0634 100644 --- a/crawl-ref/source/dat/sewer.des +++ b/crawl-ref/source/dat/sewer.des @@ -153,7 +153,7 @@ NAME: sewer_kobolds TAGS: sewer no_item_gen no_monster_gen no_pool_fixup WEIGHT: 50 ORIENT: encompass -: if crawl.random2(12) == 0 then +: if crawl.one_chance_in(12) then SUBST: C=c, X=w, V=W, v=w, *=f : else SUBST: X=c, C=x, V=x, v=x, *=x |