Migrate thermal drill to the new attack chain. (#32261)

This commit is contained in:
Alan
2026-07-24 19:40:37 +00:00
committed by GitHub
parent fa6d060bf8
commit 9ae30f0666
@@ -10,6 +10,7 @@
var/datum/looping_sound/thermal_drill/soundloop
var/datum/effect_system/spark_spread/spark_system
var/datum/song/song
new_attack_chain = TRUE
/obj/item/thermal_drill/Initialize(mapload)
. = ..()
@@ -25,9 +26,12 @@
QDEL_NULL(song)
return ..()
/obj/item/thermal_drill/attack_self__legacy__attackchain(mob/user)
/obj/item/thermal_drill/activate_self(mob/user)
if(..())
return ITEM_INTERACT_COMPLETE
add_fingerprint(user)
ui_interact(user)
return ITEM_INTERACT_COMPLETE
/obj/item/thermal_drill/ui_data(mob/user)
return song.ui_data(user)