mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Adds separate MMI/borg messages for damaged brains (#41306)
* Adds separate MMI/borg messages for damaged brains * better switch toggle msg, M.brain?.damaged_brain * ree * thanks helen * I hate Mondays * Update code/modules/mob/living/brain/MMI.dm Co-Authored-By: 81Denton <32391752+81Denton@users.noreply.github.com> * condenses vars
This commit is contained in:
committed by
yogstation13-bot
parent
dd7e51cddd
commit
6877c7a609
@@ -254,10 +254,14 @@
|
||||
to_chat(user, "<span class='warning'>The MMI indicates that their mind is currently inactive; it might change!</span>")
|
||||
return
|
||||
|
||||
if(BM.stat == DEAD || BM.suiciding || (M.brain && (M.brain.brain_death || M.brain.damaged_brain || M.brain.suicided)))
|
||||
if(BM.stat == DEAD || BM.suiciding || (M.brain && (M.brain.brain_death || M.brain.suicided)))
|
||||
to_chat(user, "<span class='warning'>Sticking a dead brain into the frame would sort of defeat the purpose!</span>")
|
||||
return
|
||||
|
||||
if(M.brain?.damaged_brain)
|
||||
to_chat(user, "<span class='warning'>The MMI indicates that the brain is damaged!</span>")
|
||||
return
|
||||
|
||||
if(jobban_isbanned(BM, "Cyborg") || QDELETED(src) || QDELETED(BM) || QDELETED(user) || QDELETED(M) || !Adjacent(user))
|
||||
if(!QDELETED(M))
|
||||
to_chat(user, "<span class='warning'>This [M.name] does not seem to fit!</span>")
|
||||
|
||||
Reference in New Issue
Block a user