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
@@ -17,8 +17,8 @@
cast_on.mind.miming = !cast_on.mind.miming
if(cast_on.mind.miming)
to_chat(cast_on, span_notice("You make a vow of silence."))
SEND_SIGNAL(cast_on, COMSIG_CLEAR_MOOD_EVENT, "vow")
cast_on.clear_mood_event("vow")
else
to_chat(cast_on, span_notice("You break your vow of silence."))
SEND_SIGNAL(cast_on, COMSIG_ADD_MOOD_EVENT, "vow", /datum/mood_event/broken_vow)
cast_on.add_mood_event("vow", /datum/mood_event/broken_vow)
cast_on.update_action_buttons_icon()