mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 22:12:58 +01:00
Radiojammer Stationbound Blocking (#10246)
* AI Firedoor Rebalance * Update geeves-because-the-question-is-incorrect.yml * improve the implementation considerably * Update geeves-because-the-question-is-incorrect.yml * put this back * jammer UI
This commit is contained in:
@@ -57,6 +57,8 @@
|
||||
src.updateUsrDialog()
|
||||
|
||||
/obj/machinery/computer/am_engine/attack_ai(var/mob/user as mob)
|
||||
if(!ai_can_interact(user))
|
||||
return
|
||||
src.add_hiddenprint(user)
|
||||
return src.attack_hand(user)
|
||||
|
||||
|
||||
@@ -45,6 +45,8 @@
|
||||
to_chat(user, "<span class='bad'>It seems to be offline.</span>")
|
||||
|
||||
/obj/machinery/power/breakerbox/attack_ai(mob/user)
|
||||
if(!ai_can_interact(user))
|
||||
return
|
||||
if(update_locked)
|
||||
to_chat(user, "<span class='bad'>System locked. Please try again later.</span>")
|
||||
return
|
||||
|
||||
@@ -143,6 +143,8 @@
|
||||
add_avail(effective_gen)
|
||||
|
||||
/obj/machinery/power/generator/attack_ai(mob/user)
|
||||
if(!ai_can_interact(user))
|
||||
return
|
||||
attack_hand(user)
|
||||
|
||||
/obj/machinery/power/generator/attackby(obj/item/W as obj, mob/user as mob)
|
||||
|
||||
@@ -82,6 +82,8 @@
|
||||
|
||||
|
||||
/obj/machinery/power/generator_type2/attack_ai(mob/user)
|
||||
if(!ai_can_interact(user))
|
||||
return
|
||||
if(stat & (BROKEN|NOPOWER)) return
|
||||
interact(user)
|
||||
|
||||
|
||||
@@ -424,6 +424,8 @@
|
||||
// ai attack - make lights flicker, because why not
|
||||
|
||||
/obj/machinery/light/attack_ai(mob/user)
|
||||
if(!ai_can_interact(user))
|
||||
return
|
||||
src.flicker(1)
|
||||
return
|
||||
|
||||
|
||||
@@ -319,6 +319,8 @@
|
||||
ui_interact(user)
|
||||
|
||||
/obj/machinery/power/port_gen/pacman/attack_ai(mob/user)
|
||||
if(!ai_can_interact(user))
|
||||
return
|
||||
ui_interact(user)
|
||||
|
||||
/obj/machinery/power/port_gen/pacman/vueui_data_change(var/list/data, var/mob/user, var/datum/vueui/ui)
|
||||
|
||||
@@ -297,6 +297,8 @@
|
||||
|
||||
|
||||
/obj/machinery/power/smes/attack_ai(mob/user)
|
||||
if(!ai_can_interact(user))
|
||||
return
|
||||
add_hiddenprint(user)
|
||||
ui_interact(user)
|
||||
|
||||
|
||||
@@ -103,7 +103,9 @@
|
||||
// Proc: attack_ai()
|
||||
// Parameters: None
|
||||
// Description: AI requires the RCON wire to be intact to operate the SMES.
|
||||
/obj/machinery/power/smes/buildable/attack_ai()
|
||||
/obj/machinery/power/smes/buildable/attack_ai(mob/user)
|
||||
if(!ai_can_interact(user))
|
||||
return
|
||||
if(RCon)
|
||||
..()
|
||||
else // RCON wire cut
|
||||
|
||||
Reference in New Issue
Block a user