mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 06:00:16 +01:00
Adds appropriate message for user and nearby mobs for being knocked off table. Also uses weaken instead of stun to physically knock the player over.
This commit is contained in:
@@ -221,8 +221,8 @@
|
||||
/obj/structure/table/attack_hand(mob/living/user)
|
||||
user.changeNext_move(CLICK_CD_MELEE)
|
||||
if(tableclimber)
|
||||
tableclimber.Stun(2)
|
||||
visible_message("You've been knocked off the table!")
|
||||
tableclimber.Weaken(2)
|
||||
tableclimber.visible_message("<span class='warning'>[tableclimber.name] has been knocked off the table", "You've been knocked off the table", "You see [tableclimber.name] get knocked off the table</span>")
|
||||
|
||||
|
||||
/obj/structure/table/attack_tk() // no telehulk sorry
|
||||
@@ -399,7 +399,7 @@
|
||||
add_logs(user, src, "climbed onto")
|
||||
user.Stun(2)
|
||||
return 1
|
||||
tableclimber = null
|
||||
tableclimber = null
|
||||
return 0
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user