Initial Commit

This commit is contained in:
Artur
2020-02-13 20:51:52 +02:00
parent 821496e67c
commit 7964d768fa
92 changed files with 136 additions and 123 deletions
@@ -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()