mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
Hit things with things with zero force (#10722)
This commit is contained in:
@@ -175,7 +175,7 @@
|
||||
user.do_attack_animation(src)
|
||||
animate_shake()
|
||||
user.visible_message("<span class='danger'>\The [user] forcefully strikes \the [src] with \the [I]!</span>")
|
||||
playsound(src.loc, material.hitsound, 100, 1)
|
||||
playsound(src.loc, material.hitsound, W.get_clamped_volume(), 1)
|
||||
src.health -= W.force * 1
|
||||
CheckHealth()
|
||||
|
||||
@@ -242,4 +242,4 @@
|
||||
|
||||
/obj/structure/simple_door/cult/New(var/newloc, var/material_name)
|
||||
..(newloc, MATERIAL_CULT)
|
||||
color = COLOR_CULT_DOOR // looks better than the standard cult colours
|
||||
color = COLOR_CULT_DOOR // looks better than the standard cult colours
|
||||
|
||||
Reference in New Issue
Block a user