mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-06 15:02:29 +00:00
26 lines
399 B
Plaintext
26 lines
399 B
Plaintext
/obj/structure
|
|
icon = 'icons/obj/structures.dmi'
|
|
|
|
/obj/structure/blob_act()
|
|
if(prob(50))
|
|
qdel(src)
|
|
|
|
/obj/structure/ex_act(severity)
|
|
switch(severity)
|
|
if(1.0)
|
|
qdel(src)
|
|
return
|
|
if(2.0)
|
|
if(prob(50))
|
|
qdel(src)
|
|
return
|
|
if(3.0)
|
|
return
|
|
|
|
/obj/structure/Destroy()
|
|
if(opacity)
|
|
UpdateAffectingLights()
|
|
..()
|
|
|
|
/obj/structure/proc/Deconstruct()
|
|
qdel(src) |