woah monke flip (#24537)

This commit is contained in:
Vladisvell
2024-03-10 18:54:16 +05:00
committed by GitHub
parent 42012c5359
commit cfc8b04307
+1 -3
View File
@@ -150,12 +150,10 @@
var/turf/newloc = G.affecting.loc
if(isturf(oldloc) && isturf(newloc))
user.SpinAnimation(5, 1)
user.glide_for(0.6 SECONDS) // This and the glide_for below are purely arbitrary. Pick something that looks aesthetically pleasing.
var/old_pass = user.pass_flags
user.pass_flags |= (PASSMOB | PASSTABLE)
user.pass_flags |= (PASSTABLE)
step(user, get_dir(oldloc, newloc))
user.pass_flags = old_pass
G.glide_for(0.6 SECONDS)
message = "flips over [G.affecting]!"
return ..()