mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +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:
@@ -107,15 +107,15 @@
|
||||
|
||||
if(victim_mood != MOODLESS_MEMORY) //How the victim felt when it all happend.
|
||||
switch(victim_mood)
|
||||
if(MOOD_LEVEL_SAD4 to MOOD_LEVEL_SAD2)
|
||||
if(MOOD_SAD4 to MOOD_SAD2)
|
||||
story_moods = strings(MEMORY_FILE, "sad")
|
||||
if("[action]_sad" in GLOB.string_cache[MEMORY_FILE])
|
||||
story_moods += strings(MEMORY_FILE, "[action]_sad")
|
||||
if(MOOD_LEVEL_SAD2 to MOOD_LEVEL_HAPPY2)
|
||||
if(MOOD_SAD2 to MOOD_HAPPY2)
|
||||
story_moods = strings(MEMORY_FILE, "neutral")
|
||||
if("[action]_neutral" in GLOB.string_cache[MEMORY_FILE])
|
||||
story_moods += strings(MEMORY_FILE, "[action]_neutral")
|
||||
if(MOOD_LEVEL_HAPPY2 to MOOD_LEVEL_HAPPY4)
|
||||
if(MOOD_HAPPY2 to MOOD_HAPPY4)
|
||||
story_moods = strings(MEMORY_FILE, "happy")
|
||||
if("[action]_happy" in GLOB.string_cache[MEMORY_FILE])
|
||||
story_moods += strings(MEMORY_FILE, "[action]_happy")
|
||||
|
||||
Reference in New Issue
Block a user