On Wed, Dec 29, 2010 at 12:09:00PM +0300, Vsevolod Kozlov wrote:
> On Wed, Dec 29, 2010 at 12:13:46AM +0100, Adam Borowski wrote:
> > Is anyone against just making the Abyss, Pan and so on regular branches
> > code-wise?  It would stop bugs like this, make it easier to save multiple
> > levels (stacked troves, etc), and let us have sane depths in Ziggurats
> > (currently duplicated in Lua, badly).
> 
> We have discussed this on IRC previously, and we haven't been able to reach
> consensus regarding how to do branches for portal vaults.  The idea that I 
> liked
> was introducing the ability to create branches dynamically, but that sounds 
> like
> a lot of work, too.

Portal vaults are such dynamic branches already.
This sometimes works well (1 level vaults) and sometimes fails spectacularly
(Ziggurats).

> Also, bugs like this one could also be resolved by setting you.where_are_you 
> to
> something like NUM_BRANCHES when setting level_type to non-LEVEL_DUNGEON.

Except you still won't be able to have more than one level per level_type,
as that's hard-coded in a number of places.  That's the core problem here.

> It's also questionable whether having special cases for branches is actually
> better than having special cases for different level_types, and many special
> cases (for example, those related to monster generation) wouldn't go away
> easily.

Of course, they would still be special, it won't get rid of all special
caseing -- just some.

-- 
1KB             // Microsoft corollary to Hanlon's razor:
                //      Never attribute to stupidity what can be
                //      adequately explained by malice.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Crawl-ref-discuss mailing list
Crawl-ref-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crawl-ref-discuss

Reply via email to