Pick up fixes (#10922)

Pick up animation now does the little shake at the start correctly.

also cleans up some stuff here and there
This commit is contained in:
Wowzewow (Wezzy)
2021-01-10 18:55:09 +08:00
committed by GitHub
parent 117fb99942
commit e0854fd1e3
7 changed files with 83 additions and 39 deletions

View File

@@ -58,7 +58,7 @@
if(feedback)
to_chat(user, SPAN_NOTICE("You collect \the [I]."))
if(isturf(I.loc) && I.Adjacent(user))
I.do_pickup_animation(user)
I.do_pickup_animation(user, loc)
I.forceMove(src)
wrapped = I
wrapped.pixel_x = 0