Removed the CONDUCT flag.

Use Siemens, you dolts.
This is the start of completely redoing the flag system, but it starts with removing these oldcode flags.
This commit is contained in:
ComicIronic
2014-12-26 18:13:52 +00:00
parent 755d8456ce
commit 5e5bbf03fd
104 changed files with 343 additions and 187 deletions

View File

@@ -19,7 +19,7 @@
affected_mob << "\red You feel a slight shock course through your body."
if(prob(2))
for(var/obj/M in orange(2,affected_mob))
if(!M.anchored && (M.flags & CONDUCT))
if(!M.anchored && (M.is_conductor()))
step_towards(M,affected_mob)
for(var/mob/living/silicon/S in orange(2,affected_mob))
if(istype(S, /mob/living/silicon/ai)) continue
@@ -41,7 +41,7 @@
affected_mob << "\red You feel like clowning around."
if(prob(4))
for(var/obj/M in orange(4,affected_mob))
if(!M.anchored && (M.flags & CONDUCT))
if(!M.anchored && (M.is_conductor()))
var/i
var/iter = rand(1,2)
for(i=0,i<iter,i++)
@@ -69,7 +69,7 @@
affected_mob << "\red You query upon the nature of miracles."
if(prob(8))
for(var/obj/M in orange(6,affected_mob))
if(!M.anchored && (M.flags & CONDUCT))
if(!M.anchored && (M.is_conductor()))
var/i
var/iter = rand(1,3)
for(i=0,i<iter,i++)