mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Somehow missed some shit
This commit is contained in:
@@ -136,7 +136,7 @@
|
||||
time_since_fail = 0
|
||||
|
||||
/obj/machinery/shield_capacitor/Topic(href, href_list[])
|
||||
if(usr.z != z) return 1
|
||||
if(!isAI(usr) && usr.z != z) return 1
|
||||
..()
|
||||
if( href_list["close"] )
|
||||
usr << browse(null, "window=shield_capacitor")
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
/obj/machinery/shield_gen/attack_ghost(mob/user)
|
||||
if(isAdminGhost(user)) src.attack_hand(user)
|
||||
return
|
||||
|
||||
|
||||
/obj/machinery/shield_gen/interact(mob/user)
|
||||
if ( (get_dist(src, user) > 1 ) || (stat & (BROKEN|NOPOWER)) )
|
||||
if (!istype(user, /mob/living/silicon))
|
||||
@@ -188,7 +188,7 @@
|
||||
average_field_strength = 0
|
||||
|
||||
/obj/machinery/shield_gen/Topic(href, href_list[])
|
||||
if(usr.z != z) return 1
|
||||
if(!isAI(usr) && usr.z != z) return 1
|
||||
..()
|
||||
if( href_list["close"] )
|
||||
usr << browse(null, "window=shield_generator")
|
||||
|
||||
@@ -182,7 +182,7 @@ Outlet Temperature: [round(circ2.air2.temperature, 0.1)] K<BR>"}
|
||||
|
||||
|
||||
/obj/machinery/power/generator/Topic(href, href_list)
|
||||
if(usr.z != z) return 1
|
||||
if(!isAI(usr) && usr.z != z) return 1
|
||||
if("close" in href_list)
|
||||
usr << browse(null, "window=teg")
|
||||
usr.unset_machine()
|
||||
|
||||
@@ -282,7 +282,7 @@
|
||||
ui.set_auto_update(1)
|
||||
|
||||
/obj/machinery/power/smes/Topic(href, href_list)
|
||||
if(usr.z != z) return 1
|
||||
if(!isAI(usr) && usr.z != z) return 1
|
||||
..()
|
||||
if(href_list["close"])
|
||||
if(usr.machine == src) usr.unset_machine()
|
||||
|
||||
@@ -169,7 +169,7 @@
|
||||
return
|
||||
|
||||
/obj/machinery/power/turbine/Topic(href, href_list)
|
||||
if(usr.z != z) return 1
|
||||
if(!isAI(usr) && usr.z != z) return 1
|
||||
..()
|
||||
if(stat & BROKEN)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user