mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 06:27:26 +01:00
TG: Some more fixes and tweaks. Ggh.
AI can't mess with the turrets at the satellite now. Revision: r2962 Author: vageyenaman
This commit is contained in:
@@ -299,11 +299,13 @@
|
||||
icon_state = "motion3"
|
||||
anchored = 1
|
||||
density = 0
|
||||
req_access = list(access_ai_upload)
|
||||
var/enabled = 1
|
||||
var/id = ""
|
||||
var/lethal = 0
|
||||
var/locked = 1
|
||||
var/control_area //can be area name, path or nothing.
|
||||
var/ailock = 0 // AI cannot use this
|
||||
req_access = list(access_ai_upload)
|
||||
var/similar_controls
|
||||
var/turrets
|
||||
|
||||
@@ -351,7 +353,10 @@
|
||||
user << "\red Access denied."
|
||||
|
||||
/obj/machinery/turretid/attack_ai(mob/user as mob)
|
||||
return attack_hand(user)
|
||||
if(!ailock)
|
||||
return attack_hand(user)
|
||||
else
|
||||
user << "<span class='notice'>There seems to be a firewall preventing you from accessing this device.</span>"
|
||||
|
||||
/obj/machinery/turretid/attack_hand(mob/user as mob)
|
||||
if ( (get_dist(src, user) > 1 ))
|
||||
|
||||
Reference in New Issue
Block a user