Skip to content

Commit

Permalink
Revert "Adds a grab and throw animation + sound"
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsurupeta committed Jul 30, 2024
1 parent 66c8473 commit 673341c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions code/modules/mob/living/carbon/carbon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -388,13 +388,9 @@
if(!do_after(src, 1 SECONDS, INTERRUPT_ALL, BUSY_ICON_HOSTILE))
to_chat(src, SPAN_WARNING("You need to set up the high toss!"))
return
animation_attack_on(target)
playsound(src, 'sound/weapons/punchmiss.ogg', 25, 1, 7)
drop_inv_item_on_ground(I, TRUE)
thrown_thing.throw_atom(target, thrown_thing.throw_range, SPEED_SLOW, src, spin_throw, HIGH_LAUNCH)
else
animation_attack_on(target)
playsound(src, 'sound/weapons/punchmiss.ogg', 25, 1, 7)
drop_inv_item_on_ground(I, TRUE)
thrown_thing.throw_atom(target, thrown_thing.throw_range, thrown_thing.throw_speed, src, spin_throw)

Expand Down
4 changes: 0 additions & 4 deletions code/modules/mob/mob.dm
Original file line number Diff line number Diff line change
Expand Up @@ -471,9 +471,6 @@
return
else if(istype(AM, /obj))
AM.add_fingerprint(src)
animation_attack_on(AM)
playsound(loc, 'sound/weapons/thudswoosh.ogg', 25, 1, 7)
flick_attack_overlay(AM, "grab")

if(!QDELETED(AM.pulledby) && !QDELETED(M))
visible_message(SPAN_WARNING("[src] has broken [AM.pulledby]'s grip on [M]!"), null, null, 5)
Expand Down Expand Up @@ -537,7 +534,6 @@
msg_admin_attack("[key_name(src)] grabbed [key_name(M)] in [get_area(src)] ([src.loc.x],[src.loc.y],[src.loc.z]).", src.loc.x, src.loc.y, src.loc.z)

if(!no_msg)
animation_attack_on(M)
visible_message(SPAN_WARNING("[src] has grabbed [M] passively!"), null, null, 5)

if(M.mob_size > MOB_SIZE_HUMAN || !(M.status_flags & CANPUSH))
Expand Down

0 comments on commit 673341c

Please sign in to comment.