Makes wayfinding great again (#56055)

Interacting with the wayfinding pinpointer dispenser recently after leaving it untouched basically since I added it I realised it has a bunch of bad design decisions that make it unpleasant to interact with so while this can never solve the lack of desirability of the pinpointers themselves hopefully it prevents the machine from contributing to the problem.
This commit is contained in:
cacogen
2021-01-16 15:19:07 +13:00
committed by GitHub
parent eba6cc5306
commit c871bc742e
3 changed files with 209 additions and 70 deletions
+1 -9
View File
@@ -571,20 +571,12 @@
set name = "Point To"
set category = "Object"
if(!src || !isturf(src.loc))
return FALSE
if(client && !(A in view(client.view, src)))
return FALSE
if(istype(A, /obj/effect/temp_visual/point))
return FALSE
var/turf/tile = get_turf(A)
if (!tile)
return FALSE
var/turf/our_tile = get_turf(src)
var/obj/visual = new /obj/effect/temp_visual/point(our_tile, invisibility)
animate(visual, pixel_x = (tile.x - our_tile.x) * world.icon_size + A.pixel_x, pixel_y = (tile.y - our_tile.y) * world.icon_size + A.pixel_y, time = 1.7, easing = EASE_OUT)
point_at(A)
return TRUE