mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
Makes the monkey mutation remember your species through transformations (#55844)
* Makes the monkey mutation remember your species through transformations * Implements suggestions by ghommie
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
////////////////////////// Humanize //////////////////////////////
|
||||
//Could probably be merged with monkeyize but other transformations got their own procs, too
|
||||
|
||||
/mob/living/carbon/proc/humanize()
|
||||
/mob/living/carbon/proc/humanize(species = /datum/species/human)
|
||||
if (notransform || transformation_timer)
|
||||
return
|
||||
|
||||
@@ -45,15 +45,15 @@
|
||||
invisibility = INVISIBILITY_MAXIMUM
|
||||
|
||||
new /obj/effect/temp_visual/monkeyify/humanify(loc)
|
||||
transformation_timer = addtimer(CALLBACK(src, .proc/finish_humanize), TRANSFORMATION_DURATION, TIMER_UNIQUE)
|
||||
transformation_timer = addtimer(CALLBACK(src, .proc/finish_humanize, species), TRANSFORMATION_DURATION, TIMER_UNIQUE)
|
||||
|
||||
/mob/living/carbon/proc/finish_humanize()
|
||||
/mob/living/carbon/proc/finish_humanize(species = /datum/species/human)
|
||||
transformation_timer = null
|
||||
to_chat(src, "<B>You are now a human.</B>")
|
||||
notransform = FALSE
|
||||
icon = initial(icon)
|
||||
invisibility = 0
|
||||
set_species(/datum/species/human)
|
||||
set_species(species)
|
||||
return src
|
||||
|
||||
/mob/living/carbon/human/AIize(transfer_after = TRUE, client/preference_source)
|
||||
|
||||
Reference in New Issue
Block a user