mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
AI fixes
Telecommunication interruption no longer permanently disables the ability for synths to state laws if they attempt it during the downtime. If a synth attempts to state laws during telecommunication interruption it now receives a clear feedback message about its impossibility. Fixes runtime errors when AIs uses shortcut keys to operate APCs/turret controls when the corresponding window isn't open. Adds missing AI-restriction check for turret controls. Airlocks no longer lie about dropping bolts when they cannot be dropped.
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
holder_type = /obj/machinery/power/apc
|
||||
wire_count = 4
|
||||
|
||||
var/const/APC_WIRE_IDSCAN = 1
|
||||
var/const/APC_WIRE_MAIN_POWER1 = 2
|
||||
var/const/APC_WIRE_MAIN_POWER2 = 4
|
||||
var/const/APC_WIRE_AI_CONTROL = 8
|
||||
#define APC_WIRE_IDSCAN 1
|
||||
#define APC_WIRE_MAIN_POWER1 2
|
||||
#define APC_WIRE_MAIN_POWER2 4
|
||||
#define APC_WIRE_AI_CONTROL 8
|
||||
|
||||
/datum/wires/apc/GetInteractWindow()
|
||||
var/obj/machinery/power/apc/A = holder
|
||||
|
||||
Reference in New Issue
Block a user