mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 17:52:36 +00:00
[MIRROR] Telekinesis can throw non items (vending machines, lockers) only 1 tile far (#2626)
* Telekinesis can throw non items (vending machines, lockers) only 1 tile far (#56063) Telekinesis users can now only throw items 10 tiles, everything else can only be thrown 1 tile * Telekinesis can throw non items (vending machines, lockers) only 1 tile far Co-authored-by: Gamer025 <33846895+Gamer025@users.noreply.github.com>
This commit is contained in:
@@ -93,6 +93,7 @@
|
||||
layer = ABOVE_HUD_LAYER
|
||||
plane = ABOVE_HUD_PLANE
|
||||
|
||||
///Object focused / selected by the TK user
|
||||
var/atom/movable/focus
|
||||
var/mob/living/carbon/tk_user
|
||||
|
||||
@@ -171,7 +172,8 @@
|
||||
else
|
||||
. = TRUE
|
||||
apply_focus_overlay()
|
||||
focus.throw_at(target, 10, 1,user)
|
||||
//Only items can be thrown 10 tiles everything else only 1 tile
|
||||
focus.throw_at(target, focus.tk_throw_range, 1,user)
|
||||
user.changeNext_move(CLICK_CD_MELEE)
|
||||
update_icon()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user