Suggested stuff

This commit is contained in:
E-MonaRhg
2021-07-09 19:44:02 +02:00
parent 7dfde6b40d
commit f83b8ae14e
3 changed files with 7 additions and 12 deletions
+5 -10
View File
@@ -260,7 +260,6 @@
paddles.unwield()
toggle_paddles()
update_icon()
return
/obj/item/defibrillator/compact/advanced/loaded/Initialize(mapload)
. = ..()
@@ -269,22 +268,18 @@
/obj/item/defibrillator/compact/advanced/emag_act(mob/user)
if(world.time > next_emag_message)
to_chat(user, "<span class='warning'>You try to silently disable [src]'s safety protocols with the card but it rejects your attempt. Uh oh...")
atom_say("Warning: Unauthorised software modification is not advised and might result in the warranty becoming void.")
playsound(get_turf(src), 'sound/machines/defib_saftyon.ogg', 50)
to_chat(user, "<span class='warning'>You try to silently disable [src]'s safety protocols with the card but it rejects your attempt. Uh oh...</span>")
atom_say("Warning: Unauthorised software modification is not advised and may result in the warranty becoming void.")
playsound(src, 'sound/machines/defib_saftyon.ogg', 50)
next_emag_message = world.time + 1 MINUTES
else
to_chat(user, "<span class='warning'>You try to silently disable [src]'s safety protocols with the card but nothing happens.")
to_chat(user, "<span class='warning'>You try to silently disable [src]'s safety protocols with the card but nothing happens.</span>")
/obj/item/defibrillator/compact/advanced/emp_act(severity)
if(world.time > next_emp_message)
atom_say("Warning: Electromagnetic pulse detected. Integrated shielding prevented all potential hardware damage.")
playsound(get_turf(src), 'sound/machines/defib_saftyon.ogg', 50)
playsound(src, 'sound/machines/defib_saftyon.ogg', 50)
next_emp_message = world.time + 5 SECONDS
else
return
/obj/item/defibrillator/compact/advanced/attackby(obj/item/W, mob/user, params)
if(W == paddles)
+1 -1
View File
@@ -288,7 +288,7 @@
name = "self-charging bluespace power cell"
desc = "An experimental, self-charging, transdimensional power cell."
origin_tech = "powerstorage=10;bluespace=10"
self_recharge = 1
self_recharge = TRUE
/obj/item/stock_parts/cell/infinite
name = "infinite-capacity power cell!"
@@ -74,7 +74,7 @@
/datum/design/compact_defib
name = "Compact Defibrillator"
desc = "A belt-mounted defibrillator that can be rapidly deployed."
desc = "A belt-mounted defibrillator for rapid deployment."
id = "compact_defib"
req_tech = list("materials" = 7, "biotech" = 7, "powerstorage" = 6)
build_type = PROTOLATHE