[MIRROR] Fix promie shock mechanic & enables additional footsteps (#12802)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-06-04 09:11:57 -04:00
committed by GitHub
co-authored by Cameron Lennox
parent a620b171cc
commit e7e7d5342b
45 changed files with 299 additions and 343 deletions
+5 -1
View File
@@ -48,6 +48,9 @@
/obj/item/flash/Initialize(mapload)
. = ..()
power_supply = new cell_type(src)
if(can_repair)
description_info = "If the device 'clicks' it has either been used too much recently or is out of charge - requiring a recharger. If the bulb is burnt out or broken, it needs to be repaired using a screwdriver."
/obj/item/flash/attackby(obj/item/W, mob/user)
if(W.has_tool_quality(TOOL_SCREWDRIVER) && broken)
@@ -58,8 +61,9 @@
broken = FALSE
update_icon()
playsound(src, W.usesound, 50, 1)
else
user.visible_message(span_infoplain(span_bold("\The [user]") + " fails to repair \the [src]."))
else
user.visible_message(span_infoplain(span_bold("\The [user]") + " stops attempting to repair \the [src]."))
else
..()