Skip to content

Commit

Permalink
woah monke flip (ParadiseSS13#24537)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladisvell authored Mar 10, 2024
1 parent 42012c5 commit cfc8b04
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions code/modules/mob/mob_emote.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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 ..()

Expand Down

0 comments on commit cfc8b04

Please sign in to comment.