mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-24 17:11:22 +00:00
50DPS Urinal fix (#9471)
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
density = 0
|
||||
anchored = 1
|
||||
|
||||
/obj/structure/urinal/attackby(obj/item/I as obj, mob/user as mob)
|
||||
/obj/structure/urinal/attackby(obj/item/I, mob/user)
|
||||
if(istype(I, /obj/item/grab))
|
||||
var/obj/item/grab/G = I
|
||||
if(isliving(G.affecting))
|
||||
@@ -119,7 +119,9 @@
|
||||
to_chat(user, SPAN_NOTICE("[GM.name] needs to be on the urinal."))
|
||||
return
|
||||
user.visible_message(SPAN_DANGER("[user] slams [GM.name] into the [src]!"), SPAN_NOTICE("You slam [GM.name] into the [src]!"))
|
||||
GM.adjustBruteLoss(8)
|
||||
var/blocked = GM.run_armor_check("melee")
|
||||
GM.apply_damage(8, def_zone = BP_HEAD, blocked = blocked, used_weapon = "blunt force")
|
||||
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN * 1.5)
|
||||
else
|
||||
to_chat(user, SPAN_NOTICE("You need a tighter grip."))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user