fixes EVA

This commit is contained in:
Fox McCloud
2020-07-02 12:28:52 -04:00
parent b7bcf49c6e
commit e57cdbb9dd
2 changed files with 12 additions and 0 deletions
+4
View File
@@ -78169,6 +78169,10 @@
pixel_x = -22
},
/obj/item/stack/tape_roll,
/obj/machinery/camera/motion{
c_tag = "EVA Motion Sensor";
dir = 4
},
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
+8
View File
@@ -16,12 +16,16 @@
upgradeXRay()
// MOTION
/obj/machinery/camera/motion
name = "motion-sensitive security camera"
/obj/machinery/camera/motion/Initialize(mapload)
. = ..()
upgradeMotion()
// ALL UPGRADES
/obj/machinery/camera/all
icon_state = "xraycamera" //mapping icon.
/obj/machinery/camera/all/Initialize(mapload)
. = ..()
@@ -78,6 +82,10 @@
// If you are upgrading Motion, and it isn't in the camera's New(), add it to the machines list.
/obj/machinery/camera/proc/upgradeMotion()
if(isMotion())
return
if(name == initial(name))
name = "motion-sensitive security camera"
assembly.upgrades.Add(new /obj/item/assembly/prox_sensor(assembly))
setPowerUsage()
// Add it to machines that process