mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-22 05:25:15 +01:00
[NONMODULAR] Nanites can now infect all MOB_HUMANOIDs. (#3334)
* HATRED * Update nanites.dm
This commit is contained in:
@@ -29,10 +29,10 @@
|
||||
//Nanites without hosts are non-interactive through normal means
|
||||
if(isliving(parent))
|
||||
host_mob = parent
|
||||
|
||||
if(!(host_mob.mob_biotypes & (MOB_ORGANIC|MOB_UNDEAD))) //Shouldn't happen, but this avoids HUD runtimes in case a silicon gets them somehow.
|
||||
//SKYRAT EDIT START - FIXING THIS
|
||||
if(!(host_mob.mob_biotypes & (MOB_ORGANIC|MOB_UNDEAD|MOB_HUMANOID))) //Shouldn't happen, but this avoids HUD runtimes in case a silicon gets them somehow.
|
||||
return COMPONENT_INCOMPATIBLE
|
||||
|
||||
//SKYRAT EDIT END
|
||||
start_time = world.time
|
||||
|
||||
host_mob.hud_set_nanite_indicator()
|
||||
@@ -319,10 +319,10 @@
|
||||
|
||||
/datum/component/nanites/proc/check_viable_biotype()
|
||||
SIGNAL_HANDLER
|
||||
|
||||
if(!(host_mob.mob_biotypes & (MOB_ORGANIC|MOB_UNDEAD)))
|
||||
//SKYRAT EDIT START - FIXING THIS
|
||||
if(!(host_mob.mob_biotypes & (MOB_ORGANIC|MOB_UNDEAD|MOB_HUMANOID)))
|
||||
qdel(src) //bodytype no longer sustains nanites
|
||||
|
||||
//SKYRAT EDIT END
|
||||
/datum/component/nanites/proc/check_access(datum/source, obj/O)
|
||||
SIGNAL_HANDLER
|
||||
|
||||
|
||||
Reference in New Issue
Block a user