mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 18:11:47 +00:00
Prints for AI shortcuts. AI shortcuts will also no longer be able to circumvent restrictions on usage.
This commit is contained in:
@@ -138,10 +138,16 @@
|
||||
|
||||
/obj/machinery/power/apc/AICtrlClick() // turns off/on APCs.
|
||||
toggle_breaker()
|
||||
add_fingerprint(usr)
|
||||
|
||||
/obj/machinery/turretid/AICtrlClick() //turns off/on Turrets
|
||||
if(!interact_offline && stat & (NOPOWER|BROKEN))
|
||||
return
|
||||
if(!usr.canUseTopic(src))
|
||||
return
|
||||
src.enabled = !src.enabled
|
||||
src.updateTurrets()
|
||||
add_fingerprint(usr)
|
||||
|
||||
|
||||
/atom/proc/AIAltClick(var/mob/living/silicon/ai/user)
|
||||
@@ -160,8 +166,13 @@
|
||||
return
|
||||
|
||||
/obj/machinery/turretid/AIAltClick() //toggles lethal on turrets
|
||||
if(!interact_offline && stat & (NOPOWER|BROKEN))
|
||||
return
|
||||
if(!usr.canUseTopic(src))
|
||||
return
|
||||
src.lethal = !src.lethal
|
||||
src.updateTurrets()
|
||||
add_fingerprint(usr)
|
||||
|
||||
//
|
||||
// Override TurfAdjacent for AltClicking
|
||||
|
||||
Reference in New Issue
Block a user