mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-12 09:54:03 +00:00
Conflicts: code/game/machinery/doors/windowdoor.dm code/game/mecha/mecha.dm code/game/objects/structures.dm code/game/turfs/simulated/walls.dm code/modules/mob/living/carbon/human/human_defense.dm code/modules/mob/living/living_defense.dm
18 lines
358 B
Plaintext
18 lines
358 B
Plaintext
/obj/structure
|
|
icon = 'icons/obj/structures.dmi'
|
|
|
|
/obj/structure/blob_act()
|
|
if(prob(50))
|
|
qdel(src)
|
|
|
|
/obj/structure/Destroy()
|
|
if(opacity)
|
|
UpdateAffectingLights()
|
|
..()
|
|
|
|
/obj/structure/mech_melee_attack(obj/mecha/M)
|
|
if(M.damtype == "brute")
|
|
visible_message("<span class='danger'>[M.name] has hit [src].</span>")
|
|
return 1
|
|
return 0
|