mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
Adds weaponry permission access and a bit more (#4665)
-adds weaponry permission access, that is used by the securitron to check if the person can use a weapon, added to all security roles, the head of personnel and the captain -added a firing pin that checks for access -fixed the ert id having access to things they should not
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
icon_state = "secbot0"
|
||||
maxHealth = 50
|
||||
health = 50
|
||||
req_one_access = list(access_security, access_forensics_lockers)
|
||||
req_one_access = list(access_security, access_forensics_lockers, access_weapons)
|
||||
botcard_access = list(access_security, access_sec_doors, access_forensics_lockers, access_morgue, access_maint_tunnels)
|
||||
|
||||
var/mob/target
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
scrambledcodes = 1
|
||||
lawupdate = 0
|
||||
lawpreset = /datum/ai_laws/nanotrasen_aggressive
|
||||
idcard_type = /obj/item/weapon/card/id/centcom/ERT
|
||||
idcard_type = /obj/item/weapon/card/id/ert
|
||||
key_type = /obj/item/device/encryptionkey/ert
|
||||
|
||||
/mob/living/silicon/robot/combat/ert/init()
|
||||
|
||||
Reference in New Issue
Block a user