mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@233 316c924e-a436-60f5-8080-3fe189b3f50e
30 lines
415 B
Plaintext
30 lines
415 B
Plaintext
/obj/machinery/New()
|
|
..()
|
|
machines.Add(src)
|
|
|
|
/obj/machinery/Del()
|
|
machines.Remove(src)
|
|
..()
|
|
|
|
/obj/machinery/proc/process()
|
|
return
|
|
|
|
/obj/machinery/ex_act(severity)
|
|
switch(severity)
|
|
if(1.0)
|
|
del(src)
|
|
return
|
|
if(2.0)
|
|
if (prob(50))
|
|
del(src)
|
|
return
|
|
if(3.0)
|
|
if (prob(25))
|
|
del(src)
|
|
return
|
|
else
|
|
return
|
|
|
|
/obj/machinery/blob_act()
|
|
if(prob(50))
|
|
del(src) |