mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Constructs 2.0 - Living Stone (#5040)
* Construct Overhaul + Related Fixes/Tweaks
This commit is contained in:
@@ -174,6 +174,21 @@
|
||||
visible_message("<span class='danger'>\The [user] tears apart \the [src]!</span>")
|
||||
src.break_to_parts()
|
||||
|
||||
/obj/structure/table/attack_generic(mob/user as mob, var/damage)
|
||||
if(damage >= 10)
|
||||
if(reinforced && prob(70))
|
||||
visible_message("<span class='danger'>\The [user] smashes against \the [src]!</span>")
|
||||
take_damage(damage/2)
|
||||
user.do_attack_animation(src)
|
||||
..()
|
||||
else
|
||||
visible_message("<span class='danger'>\The [user] tears apart \the [src]!</span>")
|
||||
src.break_to_parts()
|
||||
user.do_attack_animation(src)
|
||||
return 1
|
||||
visible_message("<span class='notice'>\The [user] scratches at \the [src]!</span>")
|
||||
return ..()
|
||||
|
||||
/obj/structure/table/MouseDrop_T(obj/item/stack/material/what)
|
||||
if(can_reinforce && isliving(usr) && (!usr.stat) && istype(what) && usr.get_active_hand() == what && Adjacent(usr))
|
||||
reinforce_table(what, usr)
|
||||
|
||||
Reference in New Issue
Block a user