Dungeon Generator- Rougelike games

Miscellaneous Forums/Blitz Showcase/Dungeon Generator- Rougelike games

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Will it place items and monsters for you too?
Would be nice. People could feed the generator with strings and the probability of it showing up on the map.
map = new TMap
map.set_rooms( 10 )
map.add_entity( "Ogre", 10 ) ' 10% chance that one will be added
map.add_entity( "Pile o gold", 75 )
map.add_entity( "The one ring (fake)", 50, 10 ) ' 50% chance, no more than 10 rings allowed
map.add_entity( "The one ring (fo real!)", 1, 1 ) ' 1% chance of it being added, and an upper limit of 1

Or something. I'm just brainstorming a bit while coffee #2 sinks down.