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.
Or something. I'm just brainstorming a bit while coffee #2 sinks down.
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.