Files
Bubberstation/code/game/objects/structures.dm
phil235 be1b02059f Merge branch 'master' of https://github.com/tgstation/-tg-station into RecursiveHearVisibleMessage
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
2014-12-05 22:02:01 +01:00

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