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:
SmArtKar
2026-05-25 01:28:07 +02:00
committed by GitHub
parent 19e8c75223
commit 59e7db756a
@@ -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