mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
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:
@@ -17,31 +17,33 @@
|
|||||||
#define NIF_FLASHPROT 13
|
#define NIF_FLASHPROT 13
|
||||||
//Health-related
|
//Health-related
|
||||||
#define NIF_BACKUP 14
|
#define NIF_BACKUP 14
|
||||||
#define NIF_CREWMONITOR 15
|
#define NIF_MEDMONITOR 15
|
||||||
#define NIF_ORGANIC_HEAL 16
|
#define NIF_ENGMONITOR 16
|
||||||
#define NIF_SYNTH_HEAL 17
|
#define NIF_SECMONITOR 17
|
||||||
#define NIF_AUTOSTASIS 18 //These two are just part of
|
#define NIF_ORGANIC_HEAL 18
|
||||||
#define NIF_MED_ALARM 19 //medichines right now
|
#define NIF_SYNTH_HEAL 19
|
||||||
#define NIF_TOXHEAL 20 //And this, for organics
|
#define NIF_AUTOSTASIS 20 //These two are just part of
|
||||||
#define NIF_SPAREBREATH 21
|
#define NIF_MED_ALARM 21 //medichines right now
|
||||||
|
#define NIF_TOXHEAL 22 //And this, for organics
|
||||||
|
#define NIF_SPAREBREATH 23
|
||||||
//Combat Related
|
//Combat Related
|
||||||
#define NIF_BRUTEARMOR 22
|
#define NIF_BRUTEARMOR 24
|
||||||
#define NIF_BURNARMOR 23
|
#define NIF_BURNARMOR 25
|
||||||
#define NIF_PAINKILLERS 24
|
#define NIF_PAINKILLERS 26
|
||||||
#define NIF_HARDCLAWS 25
|
#define NIF_HARDCLAWS 27
|
||||||
#define NIF_HIDDENLASER 26
|
#define NIF_HIDDENLASER 28
|
||||||
//Other
|
//Other
|
||||||
#define NIF_COMMLINK 27
|
#define NIF_COMMLINK 29
|
||||||
#define NIF_APCCHARGE 28
|
#define NIF_APCCHARGE 30
|
||||||
#define NIF_PRESSURE 29
|
#define NIF_PRESSURE 31
|
||||||
#define NIF_HEATSINK 30
|
#define NIF_HEATSINK 32
|
||||||
#define NIF_COMPLIANCE 31
|
#define NIF_COMPLIANCE 33
|
||||||
#define NIF_SIZECHANGE 32
|
#define NIF_SIZECHANGE 34
|
||||||
#define NIF_SOULCATCHER 33
|
#define NIF_SOULCATCHER 35
|
||||||
#define NIF_WORLDBEND 34
|
#define NIF_WORLDBEND 36
|
||||||
|
|
||||||
// Must be equal to the highest number above
|
// Must be equal to the highest number above
|
||||||
#define TOTAL_NIF_SOFTWARE 34
|
#define TOTAL_NIF_SOFTWARE 36
|
||||||
|
|
||||||
//////////////////////
|
//////////////////////
|
||||||
// NIF flag list hints
|
// NIF flag list hints
|
||||||
|
|||||||
@@ -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
|
/datum/nifsoft/medichines_org
|
||||||
name = "Medichines"
|
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."
|
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."
|
||||||
|
|||||||
86
code/modules/nifsoft/software/06_screens.dm
Normal file
86
code/modules/nifsoft/software/06_screens.dm
Normal 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"
|
||||||
@@ -2377,6 +2377,7 @@
|
|||||||
#include "code\modules\nifsoft\nifsoft.dm"
|
#include "code\modules\nifsoft\nifsoft.dm"
|
||||||
#include "code\modules\nifsoft\software\01_vision.dm"
|
#include "code\modules\nifsoft\software\01_vision.dm"
|
||||||
#include "code\modules\nifsoft\software\05_health.dm"
|
#include "code\modules\nifsoft\software\05_health.dm"
|
||||||
|
#include "code\modules\nifsoft\software\06_screens.dm"
|
||||||
#include "code\modules\nifsoft\software\10_combat.dm"
|
#include "code\modules\nifsoft\software\10_combat.dm"
|
||||||
#include "code\modules\nifsoft\software\13_soulcatcher.dm"
|
#include "code\modules\nifsoft\software\13_soulcatcher.dm"
|
||||||
#include "code\modules\nifsoft\software\14_commlink.dm"
|
#include "code\modules\nifsoft\software\14_commlink.dm"
|
||||||
|
|||||||
Reference in New Issue
Block a user