Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions code/__DEFINES/dcs/signals/signals_mob/signals_mob_carbon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@
#define COMSIG_CARBON_APPLY_OVERLAY "carbon_apply_overlay"
///Called from remove_overlay(cache_index, overlay)
#define COMSIG_CARBON_REMOVE_OVERLAY "carbon_remove_overlay"
///Called when a carbon checks their mood
#define COMSIG_CARBON_MOOD_CHECK "carbon_mod_check"

// /mob/living/carbon/human signals

Expand Down
3 changes: 3 additions & 0 deletions code/__DEFINES/mood.dm
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,6 @@
#define BLOCK_NEW_MOOD FALSE
/// Return from /be_replaced or /be_refreshed to actually go through and allow the new mood event to be added
#define ALLOW_NEW_MOOD TRUE

#define MOOD_TEXT_ABOVE_CHARACTER "Above Character"
#define MOOD_TEXT_BELOW_CHARACTER "Below Character"
2 changes: 2 additions & 0 deletions code/__HELPERS/_lists.dm
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@

///Initialize the lazylist
#define LAZYINITLIST(L) if (!L) { L = list(); }
///Initialize the lazylist and set it lengths if the list was not already initialized - does not change the length of existing lists
#define LAZYINITLISTLEN(L, V) if (!L) { L = list(); L.len = V; }
///If the provided list is empty, set it to null
#define UNSETEMPTY(L) if (L && !length(L)) L = null
///If the provided key -> list is empty, remove it from the list
Expand Down
Loading
Loading