Page 1 of 1

One weird trick to make pandemonium faster

PostPosted: Thursday, 12th October 2017, 00:42
by Hellmonk
Pan is too damn long. Supposedly an average game takes ~27 levels to generate all four unique panlords. That's already an unreasonable amount of floors, but since it's only an average there's a reasonably high chance of getting a 35-40 floor visit (or more!) which is just ridiculous. I'm aware that there are various extended rework proposals in the works that will probably address this if they ever get implemented. But it only takes one line of code to fix the problem now.

The chance of placing a unique panlord level is determined by one statement in dungeon.cc:
  Code:
if (x_chance_in_y(1 + place_info.levels_seen, 65 + place_info.levels_seen * 2) && !all_demons_generated)

Change this formula to something that takes fewer floors. I suggest x_chance_in_y(1 + place_info.levels_seen, 20 + place_info.levels_seen). That ups the odds of getting a unique lord to 1/20 on the first floor and just over 1/3 per floor after 10 floors. This one line change suddenly makes Pan a more reasonable length, there's no commitment to any specific extended rework and you're not doing a lot of work that will have to be undone later. You don't even have to commit to stopping people from scumming Pan for experience. There's no need to wait for a comprehensive rework. Make Pan better today.

Re: One weird trick to make pandemonium faster

PostPosted: Thursday, 12th October 2017, 00:56
by Shard1697
Having had it happen to me, I don't want anyone else to ever have to do 45 pan floors to get the runes again

Re: One weird trick to make pandemonium faster

PostPosted: Thursday, 12th October 2017, 04:09
by gammafunk
Merged in this commit, thanks. This is obviously just a quick tweak and Pan needs more substantial work, which will likely include making the branch finite. Until then, at least people won't have to slog through so many levels (most of the time).

Re: One weird trick to make pandemonium faster

PostPosted: Thursday, 12th October 2017, 04:16
by Implojin
I have been waiting for this change since, like, 0.10.

Hellmonk, the saviour of Crawl~

Re: One weird trick to make pandemonium faster

PostPosted: Thursday, 12th October 2017, 08:58
by nago
gammafunk wrote:Merged in this commit, thanks. This is obviously just a quick tweak and Pan needs more substantial work, which will likely include making the branch finite. Until then, at least people won't have to slog through so many levels (most of the time).


Crosspost:

image.png
image.png (89.74 KiB) Viewed 3315 times

I really don't get it.

It is annoying to scum abyss to find unique lords' floors because because after surviving a dozen of its level it's probable a char can survive as many as he want, but it's reasonable and fun to made necessary to scum and clear a great number of floors after collecting all the runes?


I mean, ok, the difficulty after that may drastically increase if the runes were stolen due the Lords' chasing, but I still don't get it, it wasn't better to keep the slog reduced also after you actually finished with that place?

Heck, I'd love if an exit would be placed on the player title after he collect the 5th rune, but I fear that is a far dream!

Re: One weird trick to make pandemonium faster

PostPosted: Thursday, 12th October 2017, 11:06
by ion_frigate
How about just putting exits on every level of Pan? The "you're trapped here for a while" shtick was meaningful back when item destruction and item weight (shudder) were still things. Now it's just tedious.

Alternately, an idea that also accomplishes making the branch finite: once you have (or have generated) all the runes, all exits are rerouted back to the dungeon. Once you go back to the dungeon, Pan is sealed off forever. Before then, all exits just go to other levels of Pandemonium. This way, the branch is finite, and the player is forced to get (or forgo) all the Pan runes in one go. It's a cleaner, more linear design that would allow for the branch to be balanced more easily.

Re: One weird trick to make pandemonium faster

PostPosted: Thursday, 12th October 2017, 11:27
by Majang
nago wrote:I mean, ok, the difficulty after that may drastically increase if the runes were stolen due the Lords' chasing, but I still don't get it, it wasn't better to keep the slog reduced also after you actually finished with that place?

The way I understand it is you don't have to slog around too long. Exit to Abyss would be available at least on three out of four Pan levels by the time you collect the last rune.

Re: One weird trick to make pandemonium faster

PostPosted: Thursday, 12th October 2017, 16:09
by Siegurt
Majang wrote:
nago wrote:I mean, ok, the difficulty after that may drastically increase if the runes were stolen due the Lords' chasing, but I still don't get it, it wasn't better to keep the slog reduced also after you actually finished with that place?

The way I understand it is you don't have to slog around too long. Exit to Abyss would be available at least on three out of four Pan levels by the time you collect the last rune.

Exit to abyss is 3:4 and exit directly back to the dungeon is 1:5, total chance of any exit 4:5.