Logs throwing with telekinesis (#59533)

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
This commit is contained in:
Fhaxaris
2021-06-08 12:06:51 -07:00
committed by GitHub
co-authored by Mothblocks Bobbahbrown
parent 5192deaa23
commit 3ecb3e9f11
+3
View File
@@ -173,6 +173,9 @@
apply_focus_overlay()
//Only items can be thrown 10 tiles everything else only 1 tile
focus.throw_at(target, focus.tk_throw_range, 1,user)
var/turf/start_turf = get_turf(focus)
var/turf/end_turf = get_turf(target)
user.log_message("has thrown [focus] from [AREACOORD(start_turf)] towards [AREACOORD(end_turf)] using Telekinesis", LOG_ATTACK)
user.changeNext_move(CLICK_CD_MELEE)
update_appearance()