Replaces the mood component with a mood datum (#68592)

About The Pull Request

Mood was abusing signals and get component pretty badly, so I redid it as a datum to stop this.
Why It's Good For The CODEBASE

Better code pratices, also gives admins easier tools to manage mood
Changelog

cl
admin: Added two new procs into the VV dropdown menu to add and remove mood events from living mobs.
/cl
This commit is contained in:
Seth Scherer
2022-08-12 08:59:20 +12:00
committed by GitHub
parent 92dc954ab5
commit 34b4034777
121 changed files with 968 additions and 858 deletions
+1 -1
View File
@@ -43,7 +43,7 @@
if(damagetype & SHAME)
adjustStaminaLoss(200)
set_suicide(FALSE)
SEND_SIGNAL(src, COMSIG_ADD_MOOD_EVENT, "shameful_suicide", /datum/mood_event/shameful_suicide)
add_mood_event("shameful_suicide", /datum/mood_event/shameful_suicide)
return
if(damagetype & MANUAL_SUICIDE_NONLETHAL) //Make sure to call the necessary procs if it does kill later