 randomElem = (list) -> list[randomInt(list.length)]
 
 module.exports = ->
-	name = randomElem(prefixes) + randomElem(suffixes)
-	name = name.replace "--", "-"
-	r = Math.random()
-	name = "#{randomElem adjectives} #{name}" if r < 0.2
-	name = "#{name} #{randomElem end}" if r > 0.85
-	name
+  name = randomElem(prefixes) + randomElem(suffixes)
+  name = name.replace "--", "-"
+  r = Math.random()
+  name = "#{randomElem adjectives} #{name}" if r < 0.2
+  name = "#{name} #{randomElem end}" if r > 0.85
+  name
 

# The robot prefix, suffix and adjective lists are far from complete. Patches more than welcome :D

prefixes = [
	"Person"
	"C-"
	"R2-"
	"K-"
	"Evo"
	"Blast"
	"Percept"
	"Sky"
	"Quick"
  "Gun"
  "Metal"
  "Iron"

]

adjectives = [
  "Mechanical"
  "Cyborg"
  "Zeta"
  "Optimus"
  "Alpha"
  "Omega"
  "Galaxy"
  "Star"
