Adds Camera/Alarm monitor NIF programs

Alarm monitors for your engineering staff, and Camera monitors for your security staff. Alarm monitor is set to engine access and camera monitor set to security access.

Has the same pricing as the Crew Monitor program.
This commit is contained in:
Unknown
2019-01-07 16:58:59 -05:00
parent a0cb0a347d
commit f5e6898502
4 changed files with 110 additions and 50 deletions

View File

@@ -1,32 +1,3 @@
/datum/nifsoft/crewmonitor
name = "Crew Monitor"
desc = "A link to the local crew monitor sensors. Useful for finding people in trouble."
list_pos = NIF_CREWMONITOR
access = access_medical
cost = 1250
p_drain = 0.025
var/datum/nano_module/crew_monitor/arscreen
New()
..()
arscreen = new(nif)
Destroy()
QDEL_NULL(arscreen)
return ..()
activate()
if((. = ..()))
arscreen.ui_interact(nif.human,"main",null,1,nif_state)
return TRUE
deactivate()
if((. = ..()))
return TRUE
stat_text()
return "Show Monitor"
/datum/nifsoft/medichines_org
name = "Medichines"
desc = "An internal swarm of nanites to make sure you stay in good shape and to promote healing, or to preserve you if you are critically injured."

View File

@@ -0,0 +1,86 @@
/datum/nifsoft/crewmonitor
name = "Crew Monitor"
desc = "A link to the local crew monitor sensors. Useful for finding people in trouble."
list_pos = NIF_MEDMONITOR
access = access_medical
cost = 1250
p_drain = 0.025
var/datum/nano_module/crew_monitor/arscreen
New()
..()
arscreen = new(nif)
Destroy()
QDEL_NULL(arscreen)
return ..()
activate()
if((. = ..()))
arscreen.ui_interact(nif.human,"main",null,1,nif_state)
return TRUE
deactivate()
if((. = ..()))
return TRUE
stat_text()
return "Show Monitor"
/datum/nifsoft/alarmmonitor
name = "Alarm Monitor"
desc = "A link to the local alarm monitors. Useful for detecting alarms in a pinch."
list_pos = NIF_ENGMONITOR
access = access_engine
cost = 1250
p_drain = 0.025
var/datum/nano_module/alarm_monitor/engineering/arscreen
New()
..()
arscreen = new(nif)
Destroy()
QDEL_NULL(arscreen)
return ..()
activate()
if((. = ..()))
arscreen.ui_interact(nif.human,"main",null,1,nif_state)
return TRUE
deactivate()
if((. = ..()))
return TRUE
stat_text()
return "Show Monitor"
/datum/nifsoft/cameramonitor
name = "Camera Monitor"
desc = "A link to the local camera monitors. Useful for knowing where the trouble is."
list_pos = NIF_SECMONITOR
access = access_security
cost = 1250
p_drain = 0.025
var/datum/nano_module/alarm_monitor/security/arscreen
New()
..()
arscreen = new(nif)
Destroy()
QDEL_NULL(arscreen)
return ..()
activate()
if((. = ..()))
arscreen.ui_interact(nif.human,"main",null,1,nif_state)
return TRUE
deactivate()
if((. = ..()))
return TRUE
stat_text()
return "Show Monitor"