mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
Migrate thermal drill to the new attack chain. (#32261)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user