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:
Geeves
2020-11-14 12:10:35 +01:00
committed by GitHub
parent aee1f0bcb2
commit b3891901ea
88 changed files with 289 additions and 67 deletions
@@ -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)
+2
View File
@@ -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
+2
View File
@@ -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)
+2
View File
@@ -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)
+2
View File
@@ -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
+2
View File
@@ -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)
+2
View File
@@ -297,6 +297,8 @@
/obj/machinery/power/smes/attack_ai(mob/user)
if(!ai_can_interact(user))
return
add_hiddenprint(user)
ui_interact(user)
+3 -1
View File
@@ -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