mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
@@ -1169,7 +1169,7 @@ About the new airlock wires panel:
|
|||||||
return
|
return
|
||||||
|
|
||||||
src.add_fingerprint(user)
|
src.add_fingerprint(user)
|
||||||
if((istype(C, /obj/item/weapon/weldingtool) && !( src.operating ) && src.density))
|
if((istype(C, /obj/item/weapon/weldingtool) && !( src.operating > 0 ) && src.density))
|
||||||
var/obj/item/weapon/weldingtool/W = C
|
var/obj/item/weapon/weldingtool/W = C
|
||||||
if(W.remove_fuel(0,user))
|
if(W.remove_fuel(0,user))
|
||||||
if(!src.welded)
|
if(!src.welded)
|
||||||
@@ -1198,7 +1198,7 @@ About the new airlock wires panel:
|
|||||||
beingcrowbarred = 1 //derp, Agouri
|
beingcrowbarred = 1 //derp, Agouri
|
||||||
else
|
else
|
||||||
beingcrowbarred = 0
|
beingcrowbarred = 0
|
||||||
if( beingcrowbarred && (density && welded && operating != 1 && src.p_open && (!src.arePowerSystemsOn() || stat & NOPOWER) && !src.locked) )
|
if( beingcrowbarred && (operating == -1 || density && welded && operating != 1 && src.p_open && (!src.arePowerSystemsOn() || stat & NOPOWER) && !src.locked) )
|
||||||
playsound(src.loc, 'sound/items/Crowbar.ogg', 100, 1)
|
playsound(src.loc, 'sound/items/Crowbar.ogg', 100, 1)
|
||||||
user.visible_message("[user] removes the electronics from the airlock assembly.", "You start to remove electronics from the airlock assembly.")
|
user.visible_message("[user] removes the electronics from the airlock assembly.", "You start to remove electronics from the airlock assembly.")
|
||||||
if(do_after(user,40))
|
if(do_after(user,40))
|
||||||
@@ -1245,6 +1245,7 @@ About the new airlock wires panel:
|
|||||||
ae.loc = src.loc
|
ae.loc = src.loc
|
||||||
if(operating == -1)
|
if(operating == -1)
|
||||||
ae.icon_state = "door_electronics_smoked"
|
ae.icon_state = "door_electronics_smoked"
|
||||||
|
operating = 0
|
||||||
|
|
||||||
del(src)
|
del(src)
|
||||||
return
|
return
|
||||||
@@ -1252,7 +1253,7 @@ About the new airlock wires panel:
|
|||||||
user << "\blue The airlock's motors resist your efforts to force it."
|
user << "\blue The airlock's motors resist your efforts to force it."
|
||||||
else if(locked)
|
else if(locked)
|
||||||
user << "\blue The airlock's bolts prevent it from being forced."
|
user << "\blue The airlock's bolts prevent it from being forced."
|
||||||
else if( !welded && operating != 1 )
|
else if( !welded && !operating )
|
||||||
if(density)
|
if(density)
|
||||||
if(beingcrowbarred == 0) //being fireaxe'd
|
if(beingcrowbarred == 0) //being fireaxe'd
|
||||||
var/obj/item/weapon/twohanded/fireaxe/F = C
|
var/obj/item/weapon/twohanded/fireaxe/F = C
|
||||||
|
|||||||
@@ -219,7 +219,7 @@
|
|||||||
|
|
||||||
/obj/machinery/door/proc/close()
|
/obj/machinery/door/proc/close()
|
||||||
if(density) return 1
|
if(density) return 1
|
||||||
if(operating) return
|
if(operating > 0) return
|
||||||
operating = 1
|
operating = 1
|
||||||
|
|
||||||
animate("closing")
|
animate("closing")
|
||||||
|
|||||||
@@ -5,9 +5,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/obj/item/device/debugger
|
/obj/item/device/debugger
|
||||||
name = "multitool"
|
icon = 'icon/obj/hacktool.dmi'
|
||||||
desc = "Used for pulsing wires to test which to cut. Not recommended by doctors."
|
name = "debugger"
|
||||||
icon_state = "multitool"
|
desc = "Used to debug electronic equipment."
|
||||||
|
icon_state = "hacktool-g"
|
||||||
flags = FPRINT | TABLEPASS| CONDUCT
|
flags = FPRINT | TABLEPASS| CONDUCT
|
||||||
force = 5.0
|
force = 5.0
|
||||||
w_class = 2.0
|
w_class = 2.0
|
||||||
@@ -24,21 +25,21 @@
|
|||||||
if(istype(O, /obj/machinery/power/apc))
|
if(istype(O, /obj/machinery/power/apc))
|
||||||
var/obj/machinery/power/apc/A = O
|
var/obj/machinery/power/apc/A = O
|
||||||
if(A.emagged || A.malfhack)
|
if(A.emagged || A.malfhack)
|
||||||
usr << "\red There is a software error with the device."
|
user << "\red There is a software error with the device."
|
||||||
else
|
else
|
||||||
usr << "\blue The device's software appears to be fine."
|
user << "\blue The device's software appears to be fine."
|
||||||
return 1
|
return 1
|
||||||
if(istype(O, /obj/machinery/door))
|
if(istype(O, /obj/machinery/door))
|
||||||
var/obj/machinery/door/D = O
|
var/obj/machinery/door/D = O
|
||||||
if(D.operating == -1)
|
if(D.operating == -1)
|
||||||
usr << "\red There is a software error with the device."
|
user << "\red There is a software error with the device."
|
||||||
else
|
else
|
||||||
usr << "\blue The device's software appears to be fine."
|
user << "\blue The device's software appears to be fine."
|
||||||
return 1
|
return 1
|
||||||
else if(istype(O, /obj/machinery))
|
else if(istype(O, /obj/machinery))
|
||||||
var/obj/machinery/A = O
|
var/obj/machinery/A = O
|
||||||
if(A.emagged)
|
if(A.emagged)
|
||||||
usr << "\red There is a software error with the device."
|
user << "\red There is a software error with the device."
|
||||||
else
|
else
|
||||||
usr << "\blue The device's software appears to be fine."
|
user << "\blue The device's software appears to be fine."
|
||||||
return 1
|
return 1
|
||||||
@@ -2,7 +2,7 @@ datum/event/organ_failure
|
|||||||
var/severity = 1
|
var/severity = 1
|
||||||
|
|
||||||
datum/event/organ_failure/setup()
|
datum/event/organ_failure/setup()
|
||||||
announceWhen = rand(0, 3000)
|
announceWhen = rand(0, 300)
|
||||||
endWhen = announceWhen + 1
|
endWhen = announceWhen + 1
|
||||||
severity = rand(1, 3)
|
severity = rand(1, 3)
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
sleep(200)
|
sleep(200)
|
||||||
|
|
||||||
command_alert("The station has entered the radiation belt. Please report to medbay if you experience any unusual symptoms.", "Anomaly Alert")
|
command_alert("The station has entered the radiation belt. Please remain in a sheltered area until we have passed the radiation belt.", "Anomaly Alert")
|
||||||
for(var/i = 0, i < 10, i++)
|
for(var/i = 0, i < 10, i++)
|
||||||
for(var/mob/living/carbon/human/H in living_mob_list)
|
for(var/mob/living/carbon/human/H in living_mob_list)
|
||||||
var/turf/T = get_turf(H)
|
var/turf/T = get_turf(H)
|
||||||
@@ -42,4 +42,4 @@
|
|||||||
sleep(50)
|
sleep(50)
|
||||||
|
|
||||||
|
|
||||||
command_alert("The station has passed the radiation belt", "Anomaly Alert")
|
command_alert("The station has passed the radiation belt. Please report to medbay if you experience any unusual symptoms.", "Anomaly Alert")
|
||||||
@@ -5,7 +5,7 @@ datum/event/wallrot
|
|||||||
var/severity = 1
|
var/severity = 1
|
||||||
|
|
||||||
datum/event/wallrot/setup()
|
datum/event/wallrot/setup()
|
||||||
announceWhen = rand(0, 3000)
|
announceWhen = rand(0, 300)
|
||||||
endWhen = announceWhen + 1
|
endWhen = announceWhen + 1
|
||||||
severity = rand(5, 10)
|
severity = rand(5, 10)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user