Cave generator

[main]

15,General: [general] Cavern  Entrance: [entrance] [cavern] 25,General: [general] Cavern 1  Entrance: [entrance] [cavern]  Cavern 2  [cavern] 20,General: [general] Cavern 1  Entrance: [entrance] [cavern]  Cavern 2  [cavern]  Cavern 3  [cavern] 15,General: [general] Cavern 1  Entrance: [entrance] [cavern]  Cavern 2  [cavern]  Cavern 3  [cavern]  Cavern 4  [cavern] 15,General: [general] Cavern 1  Entrance: [entrance] [cavern]  Cavern 2  [cavern]  Cavern 3  [cavern]  Cavern 4  [cavern]  Cavern 5  [cavern] 10,General: [general] Cavern 1  Entrance: [entrance] [cavern]  Cavern 2  [cavern]  Cavern 3  [cavern]  Cavern 4  [cavern]  Cavern 6  [cavern]
 * main

3,caverns are alive, fleshy, veiny 3,lava, very hot 9,crystals protruding from walls 7,veins of attractive-looking minerals 8,soft-looking rocks and boulders (probably granite) 9,sandy and porous rock (probably limestone) 8,local rock type 10,wet caverns, filled with lots of pools and dripping stalactites 9,root protruding through rock 8,smooth marble 5,caverns walls and ceilings covered in markings, symbols, graffiti 5,abundant vegetation, mostly ferns and fungi 5,seemingly abandoned humanoid habitations: beds, shacks, firepits, rags, refuse, graffiti, furs, etc. 5,seemingly abandoned animal habitation: nests, skins, fur, hair, eggs, holes, droppings, etc. 5,ruins [ruins]
 * general

32,human 32,dwarf 21,rockmen 15,mysterious other
 * ruins

1,Linking Tunnel [tunnel]; features [tf] Shape: [shape] Light Source: [light] Size: [size] [exits]
 * cavern

8,tiny (humans must crawl) 12,small (1 person abreast) 10,dry, dusty rock 9,slippery and wet or otherwise moldy rock 9,stream/river 10,hard, jagged crystaline mineral formation (good for climbing, may cut ropes) 10,bats, insects, or others pests 10,vegetation (mushrooms and ferns complicate climbing) 6,[light] 6,old used ropes or hanging vines/roots 4,trap
 * tunnel

25,pit 25,domed 30,rectangular 20,spherical, 10,winding tunnel
 * shape

10,bright natural light 20,dim natural light 60,pitch black 10,unnatural light
 * light

10,tiny (10' x 10') 20,small (30' x 40') 30,medium (50' x 50') 15,large (70' x 70') 25,huge (100' x 100')
 * size

37,Exit:[exitlocation] 38,Exit 1:[exitlocation], Exit 2:[exitlocation] 25,Exit 1:[exitlocation], Exit 2:[exitlocation], Exit 3:[exitlocation],
 * exits

12,On the lowest part of the floor 13,On the highest point of the ceiling 25,Left of the original entrance 25,Right of the original entrance 25,Opposite the original entrance
 * exitlocation