Cleans up monkey initialization

This commit is contained in:
mwerezak
2014-11-23 13:44:59 -05:00
parent 8878b3e107
commit feaa27fff1
3 changed files with 15 additions and 11 deletions

View File

@@ -39,21 +39,13 @@
greaterform = "Unathi"
uni_append = list(0x044,0xC5D) // 044C5D
/mob/living/carbon/monkey/initialize()
if (!species)
species = all_species[greaterform]
add_language(species.language)
/mob/living/carbon/monkey/New()
var/datum/reagents/R = new/datum/reagents(1000)
reagents = R
R.my_atom = src
//Ensure that the all_species list has been initialized.
//If not then this must be round-start and initialize() will
//be called directly by the master controller, later.
if (ticker && ticker.current_state >= GAME_STATE_SETTING_UP)
initialize()
species = all_species[greaterform]
add_language(species.language)
if(name == initial(name)) //To stop Pun-Pun becoming generic.
name = "[name] ([rand(1, 1000)])"