From 59c5d8c847edea56c686d9d24b8c48da869dc89c Mon Sep 17 00:00:00 2001 From: DeltaFire <46569814+DeltaFire15@users.noreply.github.com> Date: Sun, 3 Dec 2023 03:06:03 +0100 Subject: [PATCH] fluff more soul --- .../ballistic_weapons/revision2/automation.dm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/nsv13/code/modules/munitions/ship_weapons/ballistic_weapons/revision2/automation.dm b/nsv13/code/modules/munitions/ship_weapons/ballistic_weapons/revision2/automation.dm index 89487c88e2e..bc73a314cc3 100644 --- a/nsv13/code/modules/munitions/ship_weapons/ballistic_weapons/revision2/automation.dm +++ b/nsv13/code/modules/munitions/ship_weapons/ballistic_weapons/revision2/automation.dm @@ -150,10 +150,12 @@ if(length(held_components) > 0) var/obj/held_component = held_components[1] if(held_component.type == entering.type) //Please do throw these hungry machines some components. - visible_message("[src] happily adds [entering] to its component storage.") + var/obj/item/entering_item = entering + visible_message("[src] happily adds [entering_item] to its component storage.") playsound(src, 'sound/machines/ping.ogg', 50, 0) - entering.forceMove(src) - held_components += entering + entering_item.do_pickup_animation(src) + entering_item.forceMove(src) + held_components += entering_item return if(!(entering.type in munition_types)) visible_message("[src] shakes its arm melancholically.") @@ -173,6 +175,8 @@ playsound(src, 'sound/machines/buzz-sigh.ogg', 50, 0) return trigger_arm_animation() + do_item_attack_animation(missile_target, used_item = missile_part) + missile_target.state++ //Next step! missile_part.forceMove(missile_target) held_components -= missile_part @@ -191,6 +195,8 @@ playsound(src, 'sound/machines/buzz-sigh.ogg', 50, 0) return trigger_arm_animation() + do_item_attack_animation(torpedo_target, used_item = torpedo_part) + torpedo_target.state++ //Next step! torpedo_part.forceMove(torpedo_target) held_components -= torpedo_part