Files
vgstation13/code/defines/procs/command_name.dm
uhangi@gmail.com 93eef4cbf0 Adding two new helpful procs
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2017 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-16 06:58:02 +00:00

32 lines
758 B
Plaintext

var/command_name = null
/proc/command_name()
if (command_name)
return command_name
var/name = ""
if (prob(10))
name += pick("Super", "Ultra")
name += " "
// Prefix
if (name)
name += pick("", "Central", "System", "Home", "Primary", "Alpha", "Friend", "Science", "Renegade")
else
name += pick("Central", "System", "Home", "Primary", "Alpha", "Friend", "Science", "Renegade")
if (name)
name += " "
// Suffix
name += pick("Federation", "Command", "Alliance", "Unity", "Empire", "Confederation", "Kingdom", "Monarchy", "Complex", "Protectorate", "Commonwealth", "Imperium", "Republic")
name += " "
command_name = name
return name
/proc/change_command_name(var/name)
command_name = name
return name