Kerbal Space Program rules for generating names of kerbals

Kerbins all have randomly generated names with pseudo-randomly generated stats, with a 10% chance of having the badass stat, except for the three starting crew whose names and stats are fixed:

Jebediah Kerman, stupidity 50%, courage 50%, badass

Bill Kerman, stupidity 80%, courage 50%

Bob Kerman, stupidity 10%, courage 30%

1/20 chance of having a 'proper' name, chosen from a list

19/20 chance of name being prefix+suffix

all last names are Kerman

additionally, names containing the following are immediately rejected and a new name will be generated: "Kerbal", "Kerman", "eee", "rrr", and "Dildo"

--- LIST OF PROPER NAMES ---

Adam

Al

Alan

Archibald

Buzz

Carson

Chad

Charlie

Chris

Chuck

Dean

Ed

Edan

Edlu

Frank

Franklin

Gus

Hans

Jack

James

Jim

Kirk

Kurt

Lars

Luke

Mac

Matt

Phil

Randall

Scott

Scott

Sean

Steve

Tom

Will

--- END OF PROPER NAMES ---

--- LIST OF PREFIXES FOR RANDOMLY GENERATED NAMES ---

Ad

Al

Ald

An

Bar

Bart

Bil

Billy-Bob

Bob

Bur

Cal

Cam

Chad

Cor

Dan

Der

Des

Dil

Do

Don

Dood

Dud

Dun

Ed

El

En

Er

Fer

Fred

Gene

Geof

Ger

Gil

Greg

Gus

Had

Hal

Han

Har

Hen

Her

Hud

Jed

Jen

Jer

Joe

John

Jon

Jor

Kel

Ken

Ker

Kir

Lan

Lem

Len

Lo

Lod

Lu

Lud

Mac

Mal

Mat

Mel

Mer

Mil

Mit

Mun

Ned

Neil

Nel

New

Ob

Or

Pat

Phil

Ray

Rib

Rich

Ro

Rod

Ron

Sam

Sean

See

Shel

Shep

Sher

Sid

Sig

Son

Thom

Thomp

Tom

Wehr

Wil

--- END OF PREFIXES FOR RANDOMLY GENERATED NAMES ---

--- LIST OF SUFFIXES FOR RANDOMLY GENERATED NAMES ---

ald

bal

bald

bart

bas

berry

bert

bin

ble

bles

bo

bree

brett

bro

bur

burry

bus

by

cal

can

cas

cott

dan

das

den

din

do

don

dorf

dos

dous

dred

drin

dun

ely

emone

emy

eny

fal

fel

fen

field

ford

fred

frey

frey

frid

frod

fry

furt

gan

gard

gas

gee

gel

ger

gun

hat

ing

ke

kin

lan

las

ler

ley

lie

lin

lin

lo

lock

long

lorf

ly

mal

man

min

ming

mon

more

mund

my

nand

nard

ner

ney

nie

ny

oly

ory

rey

rick

rie

righ

rim

rod

ry

sby

sel

sen

sey

ski

son

sted

ster

sy

ton

top

trey

van

vey

vin

vis

well

wig

win

wise

zer

zon

zor