From: <dp...@us...> - 2009-01-22 05:50:36
|
Revision: 8679 http://crawl-ref.svn.sourceforge.net/crawl-ref/?rev=8679&view=rev Author: dploog Date: 2009-01-22 05:50:32 +0000 (Thu, 22 Jan 2009) Log Message: ----------- Fixed (and higher) chances for portals to Ziggurats. No more Ziggurats in Zot, but much better chances in Pan. Faster monster generation per depth in Ziggurats. Modified Paths: -------------- trunk/crawl-ref/source/dat/clua/ziggurat.lua trunk/crawl-ref/source/dat/ziggurat.des Modified: trunk/crawl-ref/source/dat/clua/ziggurat.lua =================================================================== --- trunk/crawl-ref/source/dat/clua/ziggurat.lua 2009-01-22 05:46:57 UTC (rev 8678) +++ trunk/crawl-ref/source/dat/clua/ziggurat.lua 2009-01-22 05:50:32 UTC (rev 8679) @@ -90,7 +90,7 @@ function ziggurat_portal(e) local d = crawl.roll_dice local entry_fee = - 10 * math.floor(100 + d(3,200) / 3 + d(10) * d(10) * d(10)) + 10 * math.floor(200 + d(3,200) / 3 + d(10) * d(10) * d(10)) local function stair() return toll_stair { @@ -340,7 +340,8 @@ local function ziggurat_create_monsters(p, mfn) local depth = zig_depth() - local hd_pool = depth * (depth + 8) + local hd_pool = depth * (depth + 8) + depth*depth*depth +-- (was depth * (depth + 8) before and too easy) local nth = 1 Modified: trunk/crawl-ref/source/dat/ziggurat.des =================================================================== --- trunk/crawl-ref/source/dat/ziggurat.des 2009-01-22 05:46:57 UTC (rev 8678) +++ trunk/crawl-ref/source/dat/ziggurat.des 2009-01-22 05:50:32 UTC (rev 8679) @@ -8,17 +8,26 @@ : require("clua/ziggurat.lua") ### Entry vaults to ziggurats########################################## -default-depth: D:21-27, Zot, Pan +# +# Chances for Ziggurat portals are as follows: +# among D:3-20 -- 0.5% +# among D:21-27 -- 5% +# in a Pan level -- 8% -NAME: enter_the_ziggurat +# Dummy for the trowel card +NAME: enter_the_ziggurat TAGS: trowel_portal -WEIGHT: 1 : ziggurat_portal(_G) MAP O ENDMAP +### Deep entry vaults to ziggurats ############################################ +default-depth: D:21-27 + NAME: enter_ziggurat_a +CHANCE: 5% +TAGS: chance_zig COLOUR: ; : cyan / lightblue COLOUR: ' = blue FTILE: ; = floor_hall @@ -36,7 +45,8 @@ ENDMAP NAME: enter_ziggurat_b -TAGS: no_pool_fixup +CHANCE: 5% +TAGS: chance_zig no_pool_fixup SHUFFLE: wW' / l;_ COLOUR: ; = red COLOUR: _ : blue / lightred @@ -57,6 +67,8 @@ ENDMAP NAME: enter_ziggurat_c +CHANCE: 5% +TAGS: chance_zig MONS: lich / ancient lich MONS: angel / daeva MONS: eye of draining / eye of devastation / giant eyeball / \ @@ -77,6 +89,8 @@ ENDMAP NAME: enter_ziggurat_d +CHANCE: 5% +TAGS: chance_zig MONS: lich / ancient lich MONS: angel / daeva MONS: eye of draining / eye of devastation / giant eyeball / \ @@ -96,11 +110,12 @@ ... ENDMAP -### Shallow entry vaults to ziggurats########################################## +### Shallow entry vaults to ziggurats ######################################### default-depth: D:3-20 -NAME: enter_ziggurat_a_teaser -WEIGHT: 1 +NAME: enter_shallow_ziggurat_a +CHANCE: 50 +TAGS: chance_shallow_zig COLOUR: ; : cyan / lightblue COLOUR: ' = blue FTILE: ; = floor_hall @@ -117,8 +132,9 @@ ....... ENDMAP -NAME: enter_ziggurat_c_teaser -WEIGHT: 1 +NAME: enter_shallow_ziggurat_c +CHANCE: 50 +TAGS: chance_shallow_zig MONS: angel / nothing w:20 : ziggurat_portal(_G) MAP @@ -133,8 +149,9 @@ ... ENDMAP -NAME: enter_ziggurat_d_teaser -WEIGHT: 1 +NAME: enter_shallow_ziggurat_d +CHANCE: 50 +TAGS: chance_shallow_zig MONS: angel / nothing w:20 : ziggurat_portal(_G) MAP @@ -149,7 +166,95 @@ ... ENDMAP +### Pan entry vaults to ziggurats ############################################# +default-depth: Pan +NAME: enter_ziggurat_pan_a +CHANCE: 8% +TAGS: chance_pan_zig +COLOUR: ; : cyan / lightblue +COLOUR: ' = blue +FTILE: ; = floor_hall +SUBST: ' = . +SUBST: ; = . +: ziggurat_portal(_G) +MAP +....... +.;;;;;. +.;''';. +.;'O';. +.;''';. +.;;;;;. +....... +ENDMAP + +NAME: enter_ziggurat_pan_b +CHANCE: 8% +TAGS: chance_pan_zig no_pool_fixup +SHUFFLE: wW' / l;_ +COLOUR: ; = red +COLOUR: _ : blue / lightred +COLOUR: ' = cyan +FTILE: ' = floor_hall, _ = floor_hall, ; = floor_hall, O = floor_hall +SUBST: '=. , ;=. , _=. +: ziggurat_portal(_G) +MAP + ..'.. + ..'W'.. + ..'WwW'.. +..'WwwwW'.. +.'WwwOwwW'. +..'WwwwW'.. + ..'WwW'.. + ..'W'.. + ..'.. +ENDMAP + +NAME: enter_ziggurat_pan_c +CHANCE: 8% +TAGS: chance_pan_zig +MONS: lich / ancient lich +MONS: angel / daeva +MONS: eye of draining / eye of devastation / giant eyeball / \ + great orb of eyes / shining eye +SHUFFLE: 123 +SUBST: 1=1, 2=22. +: ziggurat_portal(_G) +MAP + ... + ..m.. + ..mmm.. + ..mm1mm.. +..mm1O1nn.. + ..mm1mm.. + ..mmm.. + ..m.. + ... +ENDMAP + +NAME: enter_ziggurat_pan_d +CHANCE: 8% +TAGS: chance_pan_zig +MONS: lich / ancient lich +MONS: angel / daeva +MONS: eye of draining / eye of devastation / giant eyeball / \ + great orb of eyes / shining eye +SHUFFLE: 123 +SUBST: 1=1.., 2=2., 3=33. +: ziggurat_portal(_G) +MAP + ... + ..n.. + .nnnnn. + ..n111n.. +..nn1O1nn.. + ..n111n.. + .nnnnn. + ..n.. + ... +ENDMAP + + # Empty default-depth as vaults below may not occur randomly in the dungeon. default-depth: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |