mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-01-23 15:33:34 +00:00
TG: AI can now ctrl-click APCs to turn them off.
Purge module no longer gives robocop laws. Revision: r3524 Author: VivianFoxfoot
This commit is contained in:
@@ -789,7 +789,7 @@
|
||||
return 0
|
||||
return 1
|
||||
|
||||
/obj/machinery/power/apc/Topic(href, href_list)
|
||||
/obj/machinery/power/apc/Topic(href, href_list, var/usingUI = 1)
|
||||
if (!can_use(usr))
|
||||
return
|
||||
src.add_fingerprint(usr)
|
||||
@@ -822,6 +822,7 @@
|
||||
if (ticker.mode.config_tag == "malfunction")
|
||||
if (src.z == 1) //if (is_type_in_list(get_area(src), the_station_areas))
|
||||
operating ? ticker.mode:apcs++ : ticker.mode:apcs--
|
||||
|
||||
src.update()
|
||||
updateicon()
|
||||
|
||||
@@ -897,7 +898,9 @@
|
||||
else if (href_list["deoccupyapc"])
|
||||
malfvacate()
|
||||
|
||||
src.updateDialog()
|
||||
if(usingUI)
|
||||
src.updateDialog()
|
||||
|
||||
return
|
||||
|
||||
/obj/machinery/power/apc/proc/malfoccupy(var/mob/living/silicon/ai/malf)
|
||||
|
||||
Reference in New Issue
Block a user