"); out(""+city_name+" ("+city_size_name+")"); out(""); out(""); out(""); out(""); out(""); out(""); out("
 Location: "+_loc+"
 Population: Size: "+city_pop+"; "+city_mix+"
 Economy: Limit: "+city_gp_lim+"gp, Assests: "+city_gp_max+"gp
 Authority: "+authority+"; Guards: "+city_gaurds+", Militia: "+city_militia+"
 Power Centers: "+pwrs+"
 NPC Levels:"); out(""); for(i=1;i<=highest;i++) out(""); out(""); for(i=0;i<16;i++) { if (city_lvls[i][0].charAt(0)!="-") { out(""); total=0; for(j=1;j<=highest;j++) if (city_lvls[i][j]==0) out(""); else { out(""); total+=city_lvls[i][j]; } out(""); } } out("
Class                "+lvl(i)+"  Total 
 "+city_lvls[i][0]+"   "+city_lvls[i][j]+" "+total+" 
"); out("

Highlight the table and use cut and paster to insert into a word document."); out("

Click here to return to Generation Form."); out("

Hosted by www.Geocities.ws

"); } function out(x) { document.write(x); } function getFld(x) { return(document.forms[0].elements[x].value); } function d(nof,die,mod) { var roll = 0; for (loop=0; loop < nof; loop++) roll+=Math.floor(Math.random() * die); roll+=mod+nof; return (roll); } function lvl(x) { s="th"; if (x==1) s="st"; if (x==2) s="nd"; if (x==3) s="rd"; return(x+s); }

This form will generate a city based on the Rules set forth on pages 137-140 of the Dungeons Master's Guide.

Name:  
Location:  
Size:   population 
Racial Mix:   Main Race:
1st Power:   alignment
2nd Power:   alignment
3rd Power:   alignment
4th Power:   alignment
Constable:   Gaurds:1/ Militia: 1/
Level Max:  
Highest Levels:
(0=Random)
Brb Rog
Brd Soc
Clr Wiz
Drd Ade
Ftr Ars
Mnk Com
Pal Exp
Rng War
Actions:
Hosted by www.Geocities.ws

1