mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
[MIRROR] replaces a cursed proc in trauma code with a blessed signal (#1184)
* replaces a cursed proc in trauma code with a blessed signal (#54208) code: some cursed snowflake proc call now uses a blessed signal in trauma code * replaces a cursed proc in trauma code with a blessed signal Co-authored-by: Qustinnus <Floydje123@hotmail.com>
This commit is contained in:
@@ -56,8 +56,3 @@
|
||||
SIGNAL_HANDLER
|
||||
|
||||
UnregisterSignal(owner, COMSIG_MOB_SAY)
|
||||
|
||||
|
||||
//Called when hugging. expand into generally interacting, where future coders could switch the intent?
|
||||
/datum/brain_trauma/proc/on_hug(mob/living/hugger, mob/living/hugged)
|
||||
return
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
//antag stuff//
|
||||
antagonist.forge_objectives(obsession.mind)
|
||||
antagonist.greet()
|
||||
RegisterSignal(owner, COMSIG_CARBON_HUG, .proc/on_hug)
|
||||
|
||||
/datum/brain_trauma/special/obsessed/on_life()
|
||||
if(!obsession || obsession.stat == DEAD)
|
||||
@@ -76,7 +77,7 @@
|
||||
if(mood && mood.sanity >= SANITY_GREAT && social_interaction())
|
||||
speech_args[SPEECH_MESSAGE] = ""
|
||||
|
||||
/datum/brain_trauma/special/obsessed/on_hug(mob/living/hugger, mob/living/hugged)
|
||||
/datum/brain_trauma/special/obsessed/proc/on_hug(mob/living/hugger, mob/living/hugged)
|
||||
if(hugged == obsession)
|
||||
obsession_hug_count++
|
||||
|
||||
|
||||
Reference in New Issue
Block a user