Opened 10 years ago

Closed 9 years ago

#356 closed change (fixed (in master))

Test rig for dungeon generation

Reported by: takkaria Owned by: takkaria
Milestone: 3.1.0 Keywords: tmj
Cc:

Description

Implement a statistics generator for the dungeon:

  • collects data on how many/what items are generated on a given dungeon level, on average
  • ditto for monsters
  • counts drop flags on monsters to gather suggested probabilities of how many items would be dropped on a given level
  • ability to average these out over many generations, and do this without user interaction.

This will be useful for e.g. #276, and also for working out how many items should appear on the floor and/or what effect reducing dungeon size would have.

Change History (6)

comment:1 Changed 10 years ago by takkaria

  • Milestone changed from 3.2.0 to 3.1.0

comment:2 Changed 10 years ago by konijn_

Hmmm,

great minds think the same, except that I was planning on murdering all monsters and analyzed drops instead of checking out drop flags.

I guess I will make some #if magic so that the generic binary doesnt get affected by that.

Cheers,
T,

comment:3 Changed 10 years ago by takkaria

If you do this in Hellband, then could you make a note here of what revisions and what bits of the code you've added? I can steal it from you that way.

comment:4 Changed 9 years ago by takkaria

  • Owner set to takkaria
  • Status changed from new to assigned

[15fc603] (SVN r593) adds something basic that probably isn't anything close to good.

comment:5 Changed 9 years ago by takkaria

  • Type changed from bug to feature

comment:6 Changed 9 years ago by takkaria

  • Resolution set to fixed
  • Status changed from assigned to closed

[15fc603] (SVN r593) has everything that's needed even if the code isn't the nicest. So, fixed.

Note: See TracTickets for help on using tickets.