From: <dp...@us...> - 2008-11-30 02:18:25
|
Revision: 7691 http://crawl-ref.svn.sourceforge.net/crawl-ref/?rev=7691&view=rev Author: dploog Date: 2008-11-30 02:18:23 +0000 (Sun, 30 Nov 2008) Log Message: ----------- Make permanent bazaars more rare. The bazaar timer now depends on depth (and is more generous at shallow depths). Modified Paths: -------------- trunk/crawl-ref/source/dat/bazaar.des trunk/crawl-ref/source/dat/icecave.des Modified: trunk/crawl-ref/source/dat/bazaar.des =================================================================== --- trunk/crawl-ref/source/dat/bazaar.des 2008-11-29 21:17:35 UTC (rev 7690) +++ trunk/crawl-ref/source/dat/bazaar.des 2008-11-30 02:18:23 UTC (rev 7691) @@ -2,14 +2,6 @@ # bazaar.des - Bazaar entry vaults and bazaar layouts. ############################################################################### -# To do: -# 1) Ideally, the portal duration should depend on absolute depth (the deeper, -# the less time the player gets). I suggest a duration of -# 100 + 10*(30-abs.depth) + rn(100*(30-abs.depth)) -# 2) I think there should be more bazaars: each shop should have a chance of -# (abs.depth-10)/30 of becoming a portal (with negative chance==0), and at -# most one bazaar per level -# 3) The above would (and should) include bazaars outside of the dungeon. ############################################################################### # Bazaar entries @@ -20,10 +12,12 @@ function bazaar_portal() local messager = bell_clock_msg { initmsg="You hear coins being counted." } - if not crawl.one_chance_in(3) then + local blow = 200 + 30*(40 - you.absdepth()) + crawl.random2(200) + local bhigh = blow + crawl.random2(blow) + 100 + if not crawl.one_chance_in(6) then local pdesc = 'flickering gateway to a bazaar' return timed_marker { - low=1000, high=1500, msg=messager, + low=blow, high=bhigh, msg=messager, disappear='The gate to the bazaar disappears!', desc = pdesc, dst = 'bazaar', floor = 'stone_arch' @@ -401,7 +395,7 @@ xx..www..xxxxxx.a.xxxxxxxxx.c.xxxxxxxxx.e.xxxxxx..lll..xx x<.wwwww..+...........+...........+...........+..lllll.>x xx..www..xxxxxx.b.xxxxxxxxx.d.xxxxxxxxx.f.xxxxxx..lll..xx -xx......xxxxxxx...xxxxxxxxx...xxxxxxxxx...xxxxxxx.....xxx +xxx.....xxxxxxx...xxxxxxxxx...xxxxxxxxx...xxxxxxx.....xxx xxxxxxxxxxxxxxxxBxxxxxxxxxxxDxxxxxxxxxxxFxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ENDMAP Modified: trunk/crawl-ref/source/dat/icecave.des =================================================================== --- trunk/crawl-ref/source/dat/icecave.des 2008-11-29 21:17:35 UTC (rev 7690) +++ trunk/crawl-ref/source/dat/icecave.des 2008-11-30 02:18:23 UTC (rev 7691) @@ -49,7 +49,15 @@ end }} +# Using this function will turn any ^ glyph on the map into a fog generator +# of the following kind: +#{{ +#function place_vapours() +#subst("^ = lua:fog_machine{ pow_max = 20, delay_min = 50, delay_max = 300, size = 12, #start_clouds = 1, cloud_type = "freezing vapour"} ") +#end +#}} + # Entries ########################################## NAME: portal_ice_cave_entry_animals_and_master This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |