Changes all access const to be a define

This commit is contained in:
CitadelStationBot
2017-07-16 11:44:47 -05:00
parent 344dc1a061
commit 609ae007ae
106 changed files with 618 additions and 539 deletions
@@ -119,7 +119,7 @@
..()
access_card = new /obj/item/weapon/card/id(src)
//This access is so bots can be immediately set to patrol and leave Robotics, instead of having to be let out first.
access_card.access += GLOB.access_robotics
access_card.access += ACCESS_ROBOTICS
set_custom_texts()
Radio = new/obj/item/device/radio(src)
if(radio_key)
@@ -265,7 +265,7 @@
..()
/obj/machinery/bot_core/cleanbot
req_one_access = list(GLOB.access_janitor, GLOB.access_robotics)
req_one_access = list(ACCESS_JANITOR, ACCESS_ROBOTICS)
/mob/living/simple_animal/bot/cleanbot/get_controls(mob/user)
@@ -59,7 +59,7 @@
shot_delay = 6//Longer shot delay because JESUS CHRIST
check_records = 0//Don't actively target people set to arrest
arrest_type = 1//Don't even try to cuff
bot_core.req_access = list(GLOB.access_maint_tunnels, GLOB.access_theatre)
bot_core.req_access = list(ACCESS_MAINT_TUNNELS, ACCESS_THEATRE)
arrest_type = 1
if((lasercolor == "b") && (name == "\improper ED-209 Security Robot"))//Picks a name if there isn't already a custome one
name = pick("BLUE BALLER","SANIC","BLUE KILLDEATH MURDERBOT")
@@ -385,7 +385,7 @@
..()
/obj/machinery/bot_core/floorbot
req_one_access = list(GLOB.access_construction, GLOB.access_robotics)
req_one_access = list(ACCESS_CONSTRUCTION, ACCESS_ROBOTICS)
/mob/living/simple_animal/bot/floorbot/UnarmedAttack(atom/A)
if(isturf(A))
@@ -539,4 +539,4 @@
declare_cooldown = world.time + 200
/obj/machinery/bot_core/medbot
req_one_access =list(GLOB.access_medical, GLOB.access_robotics)
req_one_access =list(ACCESS_MEDICAL, ACCESS_ROBOTICS)
@@ -748,4 +748,4 @@
#undef DELIGHT
/obj/machinery/bot_core/mulebot
req_access = list(GLOB.access_cargo)
req_access = list(ACCESS_CARGO)
@@ -432,4 +432,4 @@ Auto Patrol: []"},
..()
/obj/machinery/bot_core/secbot
req_access = list(GLOB.access_security)
req_access = list(ACCESS_SECURITY)