mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 09:42:29 +00:00
[MIRROR] Fixes obsessed hug objective [MDB IGNORE] (#11360)
* Fixes obsessed hug objective (#64701) * Fixes obsessed hug objective Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
This commit is contained in:
@@ -80,10 +80,13 @@
|
|||||||
to_chat(owner, span_warning("Being near [obsession] makes you nervous and you begin to stutter..."))
|
to_chat(owner, span_warning("Being near [obsession] makes you nervous and you begin to stutter..."))
|
||||||
owner.stuttering = max(3, owner.stuttering)
|
owner.stuttering = max(3, owner.stuttering)
|
||||||
|
|
||||||
/datum/brain_trauma/special/obsessed/proc/on_hug(mob/living/hugger, mob/living/hugged)
|
/datum/brain_trauma/special/obsessed/proc/on_hug(datum/source, mob/living/hugger, mob/living/hugged)
|
||||||
SIGNAL_HANDLER
|
SIGNAL_HANDLER
|
||||||
if(hugged == obsession)
|
|
||||||
obsession_hug_count++
|
if(hugged != obsession)
|
||||||
|
return
|
||||||
|
|
||||||
|
obsession_hug_count++
|
||||||
|
|
||||||
/datum/brain_trauma/special/obsessed/proc/on_failed_social_interaction()
|
/datum/brain_trauma/special/obsessed/proc/on_failed_social_interaction()
|
||||||
if(QDELETED(owner) || owner.stat >= UNCONSCIOUS)
|
if(QDELETED(owner) || owner.stat >= UNCONSCIOUS)
|
||||||
|
|||||||
Reference in New Issue
Block a user