Initial Commit
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
|
||||
var/mob/living/L = chamber.occupant
|
||||
|
||||
if(!(MOB_ORGANIC in L.mob_biotypes) && !(MOB_UNDEAD in L.mob_biotypes))
|
||||
if(!(L.mob_biotypes & (MOB_ORGANIC|MOB_UNDEAD)))
|
||||
data["status_msg"] = "Occupant not compatible with nanites."
|
||||
return data
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
if(!parts.len)
|
||||
return FALSE
|
||||
else
|
||||
if(!(MOB_ROBOTIC in host_mob.mob_biotypes))
|
||||
if(!(host_mob.mob_biotypes & MOB_ROBOTIC))
|
||||
return FALSE
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -137,7 +137,7 @@
|
||||
var/mob/living/L = occupant
|
||||
if(SEND_SIGNAL(L, COMSIG_HAS_NANITES))
|
||||
return
|
||||
if((MOB_ORGANIC in L.mob_biotypes) || (MOB_UNDEAD in L.mob_biotypes))
|
||||
if(L.mob_biotypes & (MOB_ORGANIC | MOB_UNDEAD))
|
||||
inject_nanites()
|
||||
|
||||
/obj/machinery/public_nanite_chamber/open_machine()
|
||||
|
||||
Reference in New Issue
Block a user