diff --git a/code/game/machinery/camera/camera.dm b/code/game/machinery/camera/camera.dm index 0b9c2d06fe..43387172fd 100644 --- a/code/game/machinery/camera/camera.dm +++ b/code/game/machinery/camera/camera.dm @@ -49,7 +49,7 @@ /obj/machinery/camera/emp_act(severity) if(!isEmpProof()) if(prob(100/severity)) - icon_state = "cameraemp" + icon_state = "[initial(icon_state)]emp" network = null //Not the best way but it will do. I think. cameranet.removeCamera(src) stat |= EMPED @@ -98,7 +98,7 @@ for(var/mob/O in viewers(user, null)) O.show_message("\The [user] slashes at [src]!", 1) playsound(src.loc, 'sound/weapons/slash.ogg', 100, 1) - icon_state = "camera1" + icon_state = "[initial(icon_state)]1" add_hiddenprint(user) deactivate(user,0) @@ -111,6 +111,7 @@ panel_open = !panel_open user.visible_message("[user] screws the camera's panel [panel_open ? "open" : "closed"]!", "You screw the camera's panel [panel_open ? "open" : "closed"].") + playsound(src.loc, 'sound/items/Screwdriver.ogg', 50, 1) else if((iswirecutter(W) || ismultitool(W)) && panel_open) interact(user) @@ -183,13 +184,13 @@ for(var/mob/O in viewers(user, null)) O.show_message(text("\red [] has deactivated []!", user, src), 1) playsound(src.loc, 'sound/items/Wirecutter.ogg', 100, 1) - icon_state = "camera1" + icon_state = "[initial(icon_state)]1" add_hiddenprint(user) else for(var/mob/O in viewers(user, null)) O.show_message(text("\red [] has reactivated []!", user, src), 1) playsound(src.loc, 'sound/items/Wirecutter.ogg', 100, 1) - icon_state = "camera" + icon_state = initial(icon_state) add_hiddenprint(user) // now disconnect anyone using the camera //Apparently, this will disconnect anyone even if the camera was re-activated. @@ -213,18 +214,6 @@ for(var/mob/living/silicon/S in mob_list) S.cancelAlarm("Camera", get_area(src), list(src), src) -/obj/machinery/camera/proc/toggle_panel(var/mob/user) - if(busy) - return 0 - playsound(src.loc, 'sound/items/Screwdriver.ogg', 50, 1) - busy = 1 - if(do_after(user, 30)) - panel_open = !panel_open - busy = 0 - return 1 - busy = 0 - return 0 - /obj/machinery/camera/proc/can_use() if(!status) return 0 @@ -295,24 +284,4 @@ return 0 return 1 busy = 0 - return 0 - - - -/obj/machinery/camera/autoname - var/number = 0 //camera number in area - -//This camera type automatically sets it's name to whatever the area that it's in is called. -/obj/machinery/camera/autoname/New() - ..() - spawn(10) - number = 1 - var/area/A = get_area(src) - if(A) - for(var/obj/machinery/camera/autoname/C in world) - if(C == src) continue - var/area/CA = get_area(C) - if(CA.type == A.type) - if(C.number) - number = max(number, C.number+1) - c_tag = "[A.name] #[number]" \ No newline at end of file + return 0 \ No newline at end of file diff --git a/code/game/machinery/camera/presets.dm b/code/game/machinery/camera/presets.dm index 5733a72c90..3ec4f4b8b5 100644 --- a/code/game/machinery/camera/presets.dm +++ b/code/game/machinery/camera/presets.dm @@ -1,23 +1,54 @@ // PRESETS +// EMP + /obj/machinery/camera/emp_proof/New() ..() upgradeEmpProof() +// X-RAY + +/obj/machinery/camera/xray + icon_state = "xraycam" // Thanks to Krutchen for the icons. + /obj/machinery/camera/xray/New() ..() upgradeXRay() +// MOTION + /obj/machinery/camera/motion/New() ..() upgradeMotion() +// ALL UPGRADES + /obj/machinery/camera/all/New() ..() upgradeEmpProof() upgradeXRay() upgradeMotion() +// AUTONAME + +/obj/machinery/camera/autoname + var/number = 0 //camera number in area + +//This camera type automatically sets it's name to whatever the area that it's in is called. +/obj/machinery/camera/autoname/New() + ..() + spawn(10) + number = 1 + var/area/A = get_area(src) + if(A) + for(var/obj/machinery/camera/autoname/C in world) + if(C == src) continue + var/area/CA = get_area(C) + if(CA.type == A.type) + if(C.number) + number = max(number, C.number+1) + c_tag = "[A.name] #[number]" + // CHECKS diff --git a/code/game/objects/structures/window.dm b/code/game/objects/structures/window.dm index 6ddbf1eac6..7b8ef0713a 100644 --- a/code/game/objects/structures/window.dm +++ b/code/game/objects/structures/window.dm @@ -419,7 +419,7 @@ return /obj/structure/window/temperature_expose(datum/gas_mixture/air, exposed_temperature, exposed_volume) - if(exposed_temperature > T0C + 600) + if(exposed_temperature > T0C + 800) hit(round(exposed_volume / 100), 0) ..() diff --git a/html/changelog.html b/html/changelog.html index 93c5dacab4..d1be8d9701 100644 --- a/html/changelog.html +++ b/html/changelog.html @@ -59,6 +59,7 @@ should be listed in the changelog upon commit tho. Thanks. -->
  • You can now get flares from red emergency toolboxes. Has a 50% chance of a flash-light or a flare spawning.
  • Flare icon by Ausops!
  • Thanks to RavingManiac (Smoke Carter), Roros now lay eggs which can grow into baby roros or be used for cooking recipes. Scientists will need to expose the egg to plasma for it to hatch; while it is orange (grown).
  • +
  • A new icon for the map spawned x-ray cameras. Icon by Krutchen.
  • diff --git a/icons/obj/monitors.dmi b/icons/obj/monitors.dmi index 094bd162d1..940051fea1 100644 Binary files a/icons/obj/monitors.dmi and b/icons/obj/monitors.dmi differ