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:
Alberyk
2018-05-09 10:22:51 +02:00
committed by Werner
parent 8189a5125b
commit 03cf84880c
10 changed files with 53 additions and 27 deletions
+1 -1
View File
@@ -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()