mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +01:00
Makes looting/attacking SSD players more obvious
This commit is contained in:
@@ -270,7 +270,9 @@
|
||||
msg += "[t_He] [t_has] a stupid expression on [t_his] face.\n"
|
||||
|
||||
if(species.show_ssd && (!species.has_organ["brain"] || get_int_organ(/obj/item/organ/internal/brain)) && stat != DEAD)
|
||||
if(istype(src, /mob/living/carbon/human/interactive))
|
||||
if(src.player_logged)
|
||||
msg += "<span class='deadsay'>[t_He] [t_is] fast asleep, suffering from Space Sleep Disorder.</span>\n"
|
||||
else if(istype(src, /mob/living/carbon/human/interactive))
|
||||
msg += "<span class='deadsay'>[t_He] appears to be some sort of sick automaton: [t_his] eyes are glazed over and [t_his] mouth is slightly agape.</span>\n"
|
||||
else if(!key)
|
||||
msg += "<span class='deadsay'>[t_He] [t_is] fast asleep. It doesn't look like they are waking up anytime soon.</span>\n"
|
||||
|
||||
@@ -672,6 +672,8 @@
|
||||
if(silent)
|
||||
put_in_hands(what)
|
||||
add_logs(who, src, "stripped", addition="of [what]")
|
||||
if(who.player_logged)
|
||||
to_chat(src,"<span class='adminhelp'>Warning: looting from SSD players (like [who]) is forbidden unless you have ahelped first and got permission.</span>")
|
||||
|
||||
// The src mob is trying to place an item on someone
|
||||
// Override if a certain mob should be behave differently when placing items (can't, for example)
|
||||
|
||||
@@ -34,6 +34,13 @@
|
||||
return 1
|
||||
return 0
|
||||
|
||||
proc/isSSD(A)
|
||||
if(istype(A,/mob))
|
||||
var/mob/M = A
|
||||
if (M.player_logged)
|
||||
return 1
|
||||
return 0
|
||||
|
||||
proc/isAntag(A)
|
||||
if(istype(A, /mob/living/carbon))
|
||||
var/mob/living/carbon/C = A
|
||||
|
||||
Reference in New Issue
Block a user