RNR: Random number of rooms. If set to "yes", ignores the input in the "Rooms" field.
If the "Traversal depth exceeded" error is encountered it probably means it tried to chain too many hallways together, simply try rolling again.
{% Currentrooms = 0%}
{% Roomnumber = 1%}
{% Corridornumber = 1%}
{% Purpose = {d20}%}
{% Keys = {2d3-1}%}
{% Currentk = 0 %}
{% KC1 = {2d6} %}
{%HD = {{3d2}-{3d2}+{$Level}}%}{% Faction1 = {CHART(116566)} %}{%HD1 = {$HD}%}
{%HD = {{3d2}-{3d2}+{$Level}}%}{% Faction2 ={CHART(116566)} %}{%HD2 = {$HD}%}
{%HD = {{3d2}-{3d2}+{$Level}}%}{% Faction3 ={CHART(116566)} %}{%HD3 = {$HD}%}
{%HD = {{3d2-2}-{3d2}+{$Level}}%}{% Creature1 = {CHART(114250)} %}{%HD4 = {$HD}%}
{%HD = {{3d2-1}-{3d2}+{$Level}}%}{% Creature2 = {CHART(114250)} %}{%HD5 = {$HD}%}
{%HD = {{3d2}-{3d2}+{$Level}}%}{% Creature3 = {CHART(114250)} %}{%HD6 = {$HD}%}
{%HD = {{3d2}-{3d2}+{$Level}}%}{% Creature4 = {CHART(114250)} %}{%HD7 = {$HD}%}
{%HD = {{3d2}-{3d2}+{$Level}}%}{% Creature5 = {CHART(114250)} %}{%HD8 = {$HD}%}
{%HD = {{3d2+1}-{3d2}+{$Level}}%}{% Creature6 = {CHART(114250)} %}{%HD9 = {$HD}%}
{%HD = {{3d2+2}-{3d2}+{$Level}}%}{% Creature7 = {CHART(114250)} %}{%HD10 = {$HD}%}
{% Rel1 = {CHART(114266) } %}
{% Rel2 = {CHART(114266)} %}
{% Rel3 = {CHART(114266)} %}
{%if RNR == "Yes"%}
{% Rooms = {3d20+5} %}
Random number of rooms: {$Rooms}
{%end%}
Originally built by Roll on "Dungeon builders" for Roll on "Dungeon purpose" (dice="d1+{$Purpose}-1"), abandoned due to Roll on "Dungeon abandonment cause"
Faction 1: {$Faction1}s, Motive: Roll on "Faction motive"
Relationships: Faction 2: {$Rel1}, Faction 3: {$Rel3}
Faction 2: {$Faction2}s, Motive: Roll on "Faction motive"
Relationships: Faction 1: {$Rel1}, Faction 3: {$Rel2}
Faction 3: {$Faction3}s, Motive: Roll on "Faction motive"
Relationships: Faction 1: {$Rel3}, Faction 2: {$Rel2}
2: Roll on "Number" (dice="3d4+10-{$Level}+{$HD1}") {$Creature1}
3: Roll on "Number" (dice="3d4+10-{$Level}+{$HD2}") {$Creature2}
4: Roll on "Number" (dice="3d4+10-{$Level}+{$HD3}") {$Creature3}
5: Roll on "Number" (dice="3d4+10-{$Level}+{$HD4}") {$Creature4}
6: Roll on "Number" (dice="3d4+10-{$Level}+{$HD7}") {$Faction1} (Faction 1)
7: [Roll twice and combine]
8: Roll on "Number" (dice="3d4+10-{$Level}+{$HD8}") {$Faction2} (Faction 2)
9: Roll on "Number" (dice="3d4+10-{$Level}+{$HD9}") {$Faction3} (Faction 3)
10: Roll on "Number" (dice="3d4+10-{$Level}+{$HD5}") {$Creature5}
11: Roll on "Number" (dice="3d4+10-{$Level}+{$HD6}") {$Creature6}
12: Roll on "Number" (dice="3d4+10-{$Level}+{$HD10}") {$Creature7}
Entrance 1 (Connects to Room 1): Roll on "Dungeon entrance"
{%if {d6} <= 4%}
Entrance 2 (Connects to Room Roll d{$Rooms}): Roll on "Dungeon entrance"
{%if {d6} <= 2%}
Entrance 3 (Connects to Room Roll d{$Rooms}): Roll on "Dungeon entrance"
{%end%}
{%end%}
{%while Currentk < Keys%}{% Currentk = {{$Currentk}+1} %} Key #{$Currentk}: Roll on "Untitled - Sun 19 Oct 04:25:59"{%end%}
{%while Currentrooms < Rooms%}
{% Leadsto = {CHART(114245)} %}
{%if Leadsto == "Room"%}
{%if {d100} <= {$KC1}%}
{% Key = "1" %}
{% KC1 = 0%}
{%else%}
{% Key = "0" %}
{% KC1 = {{$KC1}+d12} %}
{%end%}
{% Currentrooms = {{$Currentrooms}+1}%}
{%var = {2d6}%}{% Creature = {CHART(name="Creatures", dice="d1+{$var}-1")}%}{% HD = {CHART(name="HD", dice="d1+{$var}-1")}%}
Roll on "Room generator"
{% Roomnumber = {{$Roomnumber}+1}%}
{%end%}
{%if Leadsto == "Corridor"%}
Roll on "Hallway generator"
{% Corridornumber = {{$Corridornumber}+1}%}
{%end%}
{%end%}
| d4 | Result |
|---|---|
1-3 |
Room |
4 |
Corridor |
| 2d6 | Result |
|---|---|
2 |
{$Creature1} |
3 |
{$Creature2} |
4 |
{$Creature3} |
5 |
{$Creature4} |
6 |
{$Faction1} (Faction 1) |
7 |
{$Faction3} (Faction 3) |
8 |
{$Faction2} (Faction 2) |
9 |
{$Creature5} |
10 |
{$Creature6} |
11 |
{$Creature7} |
12 |
Roll on "Creature picker" |
| 2d6 | Result |
|---|---|
2 |
War |
3-5 |
Hostile |
6-8 |
Neutral or indifferent |
9-11 |
Friendly |
12 |
Allied |
| d100 | Result |
|---|---|
1-10 |
2d8 x |
11 |
d12 x |
12 |
2d6 x |
13 |
d8 x |
14 |
2d4 x |
15-16 |
d8 x |
17 |
d6 x |
18 |
2d3 x |
19 |
d4 x |
20 |
d3 x |
21-100 |
1 x |
| d10 | Result |
|---|---|
1 |
Hiding from stronger creature |
2 |
Waiting for wounded members to recover |
3 |
Hoarding a resource |
4 |
Protecting young |
5 |
Expanding their territory |
6 |
Scavenging for food or resources |
7 |
Exploring |
8 |
Got trapped/lost in the dungeon and can't leave |
9 |
Following or hunting another creature |
10 |
Guarding passage from intruders |
| 2d6 | Result |
|---|---|
2 |
{$HD4} |
3 |
{$HD5} |
4 |
{$HD6} |
5 |
{$HD7} |
6 |
{$HD1} |
7 |
{$HD3} |
8 |
{$HD2} |
9 |
{$HD8} |
10 |
{$HD9} |
11 |
{$HD10} |
12 |
{$Level} |