mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 14:00:18 +01:00
Simple mobs no longer one-shot structures (#16709)
This commit is contained in:
@@ -52,6 +52,13 @@
|
||||
visible_message(SPAN_WARNING("\The [src] breaks down!"), intent_message = THUNK_SOUND)
|
||||
return break_to_parts() // if we break and form shards, return them to the caller to do !FUN! things with
|
||||
|
||||
/obj/structure/table/attack_generic(var/mob/user, var/damage, var/attack_message = "attacks", var/wallbreaker)
|
||||
if(!damage || !wallbreaker)
|
||||
return
|
||||
user.do_attack_animation(src)
|
||||
visible_message(SPAN_DANGER("[user] [attack_message] \the [src]!"))
|
||||
take_damage(damage)
|
||||
return TRUE
|
||||
|
||||
/obj/structure/table/ex_act(severity)
|
||||
switch(severity)
|
||||
|
||||
Reference in New Issue
Block a user