Made a Python version of "Get a random blockland name":
#!/usr/bin/python
import random
numbers = raw_input("Put numbers at end of name? [y/n]: ")
if numbers is "y":
numbers = True
while True:
digits = int(raw_input(" > How many digits should be appended to the name? [number 1-10]: "))
if digits < 1 or digits > 10:
print " > Out of bounds (1-10)."
else:
break
else:
numbers = False
part0 = ['Constant', 'Crystallized', 'Abstract', 'Dynamic', 'Firey', 'Icy', 'Cool', 'Unique', 'Blurred']
part1 = ['Gamma', 'Ice', 'Fire', 'Aspect', 'Day', 'Night', 'Error', 'Flight', 'Failure', 'Approach']
name = part0[int(random.random() * len(part0))] + part1[int(random.random() * len(part1))]
if numbers:
for digit in xrange(digits):
name = name + str(int(random.random() * 9))
print name
EDIT: Made version that can create multiple names at the same time cause I'm bored.
#!/usr/bin/python
import random
numbers = raw_input("Put numbers at end of name? [y/n]: ")
if numbers is "y":
numbers = True
while True:
digits = int(raw_input(" > How many digits should be appended to the name? [number 1-10]: "))
if digits < 1 or digits > 10:
print " > Out of bounds (1-10)."
else:
break
else:
numbers = False
while True:
count = int(raw_input("How many names should be generated? [number 1-inf]: "))
if count < 1:
print " > Out of bounds (1-inf)."
else:
break
part0 = ['Constant', 'Crystallized', 'Abstract', 'Dynamic', 'Firey', 'Icy', 'Cool', 'Unique', 'Blurred']
part1 = ['Gamma', 'Ice', 'Fire', 'Aspect', 'Day', 'Night', 'Error', 'Flight', 'Failure', 'Approach']
for i in xrange(count):
name = part0[int(random.random() * len(part0))] + part1[int(random.random() * len(part1))]
if numbers:
for digit in xrange(digits):
name = name + str(int(random.random() * 9))
print name