mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-21 19:19:12 +01:00
Merge pull request #8703 from PsiOmegaDelta/Map
Area/Camera network refactor - Part 1
This commit is contained in:
@@ -1362,35 +1362,35 @@ area/space/atmosalert()
|
||||
icon_state = "security"
|
||||
|
||||
/area/security/lobby
|
||||
name = "\improper Security lobby"
|
||||
name = "\improper Security Lobby"
|
||||
icon_state = "security"
|
||||
|
||||
/area/security/brig
|
||||
name = "\improper Brig"
|
||||
name = "\improper Security - Brig"
|
||||
icon_state = "brig"
|
||||
|
||||
/area/security/prison
|
||||
name = "\improper Prison Wing"
|
||||
name = "\improper Security - Prison Wing"
|
||||
icon_state = "sec_prison"
|
||||
|
||||
/area/security/warden
|
||||
name = "\improper Warden"
|
||||
name = "\improper Security - Warden's Office"
|
||||
icon_state = "Warden"
|
||||
|
||||
/area/security/armoury
|
||||
name = "\improper Armory"
|
||||
name = "\improper Security - Armory"
|
||||
icon_state = "Warden"
|
||||
|
||||
/area/security/detectives_office
|
||||
name = "\improper Detective's Office"
|
||||
name = "\improper Security - Forensic Office"
|
||||
icon_state = "detective"
|
||||
|
||||
/area/security/range
|
||||
name = "\improper Firing Range"
|
||||
name = "\improper Security - Firing Range"
|
||||
icon_state = "firingrange"
|
||||
|
||||
/area/security/tactical
|
||||
name = "\improper Tactical Equipment"
|
||||
name = "\improper Security - Tactical Equipment"
|
||||
icon_state = "Tactical"
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
// PRESETS
|
||||
var/global/list/station_networks = list("SS13","Engineering Outpost","MINE","Research Outpost","Prison","Security")
|
||||
|
||||
/obj/machinery/camera/network/prison
|
||||
network = list("Prison")
|
||||
|
||||
/obj/machinery/camera/network/security
|
||||
network = list("Security")
|
||||
|
||||
// EMP
|
||||
|
||||
@@ -32,13 +39,16 @@
|
||||
// AUTONAME
|
||||
|
||||
/obj/machinery/camera/autoname/engineering_outpost
|
||||
network = list("SS13", "Engineering Outpost")
|
||||
network = list("Engineering Outpost")
|
||||
|
||||
/obj/machinery/camera/autoname/mining_outpost
|
||||
network = list("SS13", "MINE")
|
||||
network = list("MINE")
|
||||
|
||||
/obj/machinery/camera/autoname/research_outpost
|
||||
network = list("SS13", "Research Outpost")
|
||||
network = list("Research Outpost")
|
||||
|
||||
/obj/machinery/camera/autoname/security
|
||||
network = list("Security")
|
||||
|
||||
/obj/machinery/camera/autoname
|
||||
var/number = 0 //camera number in area
|
||||
|
||||
@@ -12,11 +12,16 @@
|
||||
icon_state = "cameras"
|
||||
var/obj/machinery/camera/current = null
|
||||
var/last_pic = 1.0
|
||||
var/list/network = list("SS13")
|
||||
var/list/network
|
||||
var/mapping = 0//For the overview file, interesting bit of code.
|
||||
circuit = /obj/item/weapon/circuitboard/security
|
||||
var/camera_cache = null
|
||||
|
||||
New()
|
||||
if(!network)
|
||||
network = station_networks
|
||||
..()
|
||||
|
||||
attack_ai(var/mob/user as mob)
|
||||
return attack_hand(user)
|
||||
|
||||
@@ -235,7 +240,7 @@
|
||||
name = "engineering camera monitor"
|
||||
desc = "Used to monitor fires and breaches."
|
||||
icon_state = "engineeringcameras"
|
||||
network = list("Engineering","Power Alarms","Atmosphere Alarms","Fire Alarms")
|
||||
network = list("Engineering","Engineering Outpost","Power Alarms","Atmosphere Alarms","Fire Alarms")
|
||||
circuit = /obj/item/weapon/circuitboard/security/engineering
|
||||
|
||||
/obj/machinery/computer/security/nuclear
|
||||
|
||||
Reference in New Issue
Block a user