Update cable_coil.dm (#31906)

This commit is contained in:
CRUNCH
2026-04-29 00:46:54 +01:00
committed by GitHub
parent 58467b3ed1
commit feb9c7313c
+4
View File
@@ -14,6 +14,7 @@ GLOBAL_LIST_INIT(cable_coil_recipes, list (new/datum/stack_recipe/cable_restrain
icon_state = "coil"
inhand_icon_state = "coil"
belt_icon = "cable_coil"
hitsound = 'sound/weapons/whip.ogg'
amount = MAXCOIL
max_amount = MAXCOIL
merge_type = /obj/item/stack/cable_coil // This is here to let its children merge between themselves
@@ -42,6 +43,9 @@ GLOBAL_LIST_INIT(cable_coil_recipes, list (new/datum/stack_recipe/cable_restrain
recipes = GLOB.cable_coil_recipes
update_wclass()
/obj/item/stack/cable_coil/should_play_hitsound(damage)
return TRUE
/obj/item/stack/cable_coil/random/change_stack(mob/user, amount)
var/obj/item/stack/cable_coil/new_stack = ..()
new_stack.color = color