Merge pull request #7999 from Birdtalon/door-remote

Buffs the HoP Door remote
This commit is contained in:
Fox McCloud
2017-08-28 18:23:55 -04:00
committed by GitHub
4 changed files with 18 additions and 10 deletions
+8 -7
View File
@@ -246,13 +246,14 @@
///Access Region Codes///
#define REGION_ALL 0
#define REGION_GENERAL 1
#define REGION_SECURITY 2
#define REGION_MEDBAY 3
#define REGION_RESEARCH 4
#define REGION_ENGINEERING 5
#define REGION_SUPPLY 6
#define REGION_COMMAND 7
#define REGION_CENTCOMM 8
#define REGION_HOP 2
#define REGION_SECURITY 3
#define REGION_MEDBAY 4
#define REGION_RESEARCH 5
#define REGION_ENGINEERING 6
#define REGION_SUPPLY 7
#define REGION_COMMAND 8
#define REGION_CENTCOMM 9
//used for maploader
#define MAP_MINX 1
+2
View File
@@ -263,6 +263,8 @@ var/const/access_trade_sol = 160
return get_all_accesses()
if(REGION_GENERAL) //station general
return list(access_kitchen, access_bar, access_hydroponics, access_janitor, access_chapel_office, access_crematorium, access_library, access_theatre, access_lawyer, access_magistrate, access_clown, access_mime)
if(REGION_HOP)
return list(access_kitchen, access_bar, access_hydroponics, access_janitor, access_chapel_office, access_crematorium, access_library, access_theatre, access_clown, access_mime, access_mailsorting, access_mining, access_mining_station, access_mineral_storeroom, access_cargo, access_qm, access_hop)
if(REGION_SECURITY) //security
return list(access_sec_doors, access_weapons, access_security, access_brig, access_armory, access_forensics_lockers, access_court, access_pilot, access_hos)
if(REGION_MEDBAY) //medbay
+7 -2
View File
@@ -101,11 +101,16 @@
icon_state = "gangtool-blue"
region_access = REGION_MEDBAY
/obj/item/weapon/door_remote/civillian
name = "civillian door remote"
/obj/item/weapon/door_remote/civilian
name = "civilian door remote"
icon_state = "gangtool-white"
region_access = REGION_GENERAL
/obj/item/weapon/door_remote/head_of_personnel
name = "personnel door remote"
icon_state ="gangtool-white"
region_access = REGION_HOP
/obj/item/weapon/door_remote/centcomm
name = "centcomm door remote"
desc = "High-ranking NT officials only."
@@ -56,7 +56,7 @@
new /obj/item/weapon/gun/energy/gun(src)
new /obj/item/device/flash(src)
new /obj/item/clothing/accessory/petcollar(src)
new /obj/item/weapon/door_remote/civillian(src)
new /obj/item/weapon/door_remote/head_of_personnel(src)
/obj/structure/closet/secure_closet/hop2
name = "head of personnel's attire"