mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user