This commit is contained in:
Guti
2024-09-22 15:01:10 +02:00
101 changed files with 7739 additions and 852 deletions
@@ -29,6 +29,12 @@
to_chat(usr,"<span class='danger'>The target's mind is too complex to be affected!</span>")
return
if(ishuman(M))
var/mob/living/carbon/human/H = M
if(H.resleeve_lock && usr.ckey != H.resleeve_lock)
to_chat(src, span_danger("[H] cannot be impersonated!"))
return
if(M.stat == DEAD) //Are they dead?
to_chat(usr,"<span class='warning'>A warning pops up on the device, informing you that [M] is dead, and, as such, the mind transfer can not be done.</span>")
return
@@ -74,7 +74,10 @@
/mob/living/carbon/human/set_id_info(var/obj/item/card/id/id_card)
..()
id_card.age = age
id_card.species = "[custom_species ? "[custom_species] ([species.name])" : species.name]"
if(species.name == SPECIES_HANNER)
id_card.species = "[custom_species ? "[custom_species]" : species.name]"
else
id_card.species = "[custom_species ? "[custom_species] ([species.name])" : species.name]"
id_card.sex = capitalize(name_gender())
/obj/item/card/id/tgui_data(mob/user)