Files
Bubberstation/code/datums/mood_events/_mood_event.dm
2020-07-16 03:02:40 +03:00

26 lines
827 B
Plaintext

/datum/mood_event
var/description ///For descriptions, use the span classes bold nicegreen, nicegreen, none, warning and boldwarning in order from great to horrible.
var/mood_change = 0
var/timeout = 0
var/hidden = FALSE//Not shown on examine
var/category //string of what category this mood was added in as
var/special_screen_obj //if it isn't null, it will replace or add onto the mood icon with this (same file). see happiness drug for example
var/special_screen_replace = TRUE //if false, it will be an overlay instead
var/mob/owner
/datum/mood_event/New(mob/M, ...)
owner = M
var/list/params = args.Copy(2)
add_effects(arglist(params))
/datum/mood_event/Destroy()
remove_effects()
owner = null
return ..()
/datum/mood_event/proc/add_effects(param)
return
/datum/mood_event/proc/remove_effects()
return