[MIRROR] Nerfs monkey spam (#6084)
* Merge pull request #36380 from vuonojenmustaturska/sauerbraten Nerfs monkey spam * Nerfs monkey spam
This commit is contained in:
committed by
Poojawa
parent
33f24d9e2d
commit
80d5cc2884
@@ -16,7 +16,7 @@
|
||||
|
||||
|
||||
|
||||
/mob/living/carbon/monkey/Initialize()
|
||||
/mob/living/carbon/monkey/Initialize(mapload, cubespawned=FALSE, mob/spawner)
|
||||
verbs += /mob/living/proc/mob_sleep
|
||||
verbs += /mob/living/proc/lay_down
|
||||
|
||||
@@ -31,9 +31,20 @@
|
||||
|
||||
. = ..()
|
||||
|
||||
if (cubespawned)
|
||||
if (LAZYLEN(SSmobs.cubemonkeys) > SSmobs.cubemonkeycap)
|
||||
if (spawner)
|
||||
to_chat(spawner, "<span class='warning'>Bluespace harmonics prevent the spawning of more than [SSmobs.cubemonkeycap] monkeys on the station at one time!</span>")
|
||||
return INITIALIZE_HINT_QDEL
|
||||
SSmobs.cubemonkeys += src
|
||||
|
||||
create_dna(src)
|
||||
dna.initialize_dna(random_blood_type())
|
||||
|
||||
/mob/living/carbon/monkey/Destroy()
|
||||
SSmobs.cubemonkeys -= src
|
||||
return ..()
|
||||
|
||||
/mob/living/carbon/monkey/create_internal_organs()
|
||||
internal_organs += new /obj/item/organ/appendix
|
||||
internal_organs += new /obj/item/organ/lungs
|
||||
|
||||
Reference in New Issue
Block a user