mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-16 18:45:22 +01:00
Adds conversion and deconversion logging to Lunatics (#96133)
## About The Pull Request Closes #96115 ## Changelog 🆑 admin: Added conversion and deconversion logging to Lunatics /🆑
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
var/datum/objective/lunatic/lunatic_obj
|
||||
|
||||
/datum/antagonist/lunatic/on_gain()
|
||||
owner.current.log_message("has become a Lunatic!", LOG_ATTACK, color="red")
|
||||
// Masters gain an objective before so we dont want duplicates
|
||||
for(var/objective in objectives)
|
||||
if(!istype(objective, /datum/objective/lunatic))
|
||||
@@ -27,6 +28,10 @@
|
||||
lunatic_obj = loony
|
||||
return ..()
|
||||
|
||||
/datum/antagonist/lunatic/on_removal()
|
||||
owner?.current?.log_message("lost their Lunatic status!", LOG_ATTACK, color="red")
|
||||
return ..()
|
||||
|
||||
/// Runs when the moon heretic creates us, used to give the lunatic a master
|
||||
/datum/antagonist/lunatic/proc/set_master(datum/mind/heretic_master, mob/living/carbon/human/heretic_body)
|
||||
src.ascended_heretic = heretic_master
|
||||
|
||||
Reference in New Issue
Block a user