This commit is contained in:
ESwordTheCat
2014-05-25 03:45:41 -08:00
parent 67d7da52c3
commit 84a8b2056d
18 changed files with 144 additions and 214 deletions

View File

@@ -144,17 +144,9 @@
if(((world.timeofday - last_tick) > 30) || ((world.timeofday - last_tick) < 0))
last_tick = world.timeofday
if(!src.loc)
on = 0
else
var/area/A = src.loc.loc
if(!A || !isarea(A) || !A.master)
on = 0
else
on = A.master.powered(EQUIP) // set "on" to the power status
on = areaMaster.powered(EQUIP) // set "on" to the power status
update_icon()
/obj/item/weapon/intercom_electronics
name = "intercom electronics"
icon = 'icons/obj/doors/door_assembly.dmi'