mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 21:49:11 +01:00
Fix promie shock mechanic & enables additional footsteps (#19500)
* Shock Absorb flag * Cleans up unused species var * Update species.dm * FOotsteps * Update footsteps.dm * Update footsteps.dm * Flash fix * Update flash.dm * Update human_powers.dm * Gets rid of unused var * Unused variable * Update gun.dm * Unused var * grr * Get rid of duplicate define This was overwritten by the 70 below. * Consolidate these * Update species_helpers.dm
This commit is contained in:
@@ -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
|
||||
..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user