mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-05 23:12:26 +00:00
Merge branch 'master' of https://github.com/PolarisSS13/Polaris into battery_things
This commit is contained in:
@@ -681,13 +681,10 @@
|
||||
else
|
||||
flick("apc-spark", src)
|
||||
if (do_after(user,6))
|
||||
if(prob(50))
|
||||
emagged = 1
|
||||
locked = 0
|
||||
to_chat(user,"<span class='notice'>You emag the APC interface.</span>")
|
||||
update_icon()
|
||||
else
|
||||
to_chat(user,"<span class='warning'>The APC interface refused to unlock.</span>")
|
||||
emagged = 1
|
||||
locked = 0
|
||||
to_chat(user,"<span class='notice'>You emag the APC interface.</span>")
|
||||
update_icon()
|
||||
return 1
|
||||
|
||||
/obj/machinery/power/apc/attack_hand(mob/user)
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
than the alternative."
|
||||
icon_state = "gridchecker_on"
|
||||
circuit = /obj/item/weapon/circuitboard/grid_checker
|
||||
density = 1
|
||||
anchored = 1
|
||||
var/power_failing = FALSE // Turns to TRUE when the grid check event is fired by the Game Master, or perhaps a cheeky antag.
|
||||
// Wire stuff below.
|
||||
var/datum/wires/grid_checker/wires
|
||||
|
||||
Reference in New Issue
Block a user