Acid fix from Barhandar.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@686 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
rastaf.zero@gmail.com
2010-12-21 16:35:48 +00:00
parent 153f5e1044
commit fd5517e944
9 changed files with 33 additions and 7 deletions
+5
View File
@@ -1,10 +1,15 @@
/obj/alien/acid/proc/tick()
ticks += 1
if(target.unacidable)
del(src)
return
for(var/mob/O in hearers(src, null))
O.show_message("\green <B>[src.target] sizzles and begins to melt under the bubbling mess of acid!</B>", 1)
if(prob(ticks*10))
for(var/mob/O in hearers(src, null))
O.show_message("\green <B>[src.target] collapses under its own weight into a puddle of goop and undigested debris!</B>", 1)
// if(target.occupant) //I tried to fix mechas-with-humans-getting-deleted. Made them unacidable for now.
// target.ex_act(1)
del(target)
del(src)
return
+2
View File
@@ -2,6 +2,7 @@
name = "alien thing"
desc = "theres something alien about this"
icon = 'alien.dmi'
unacidable = 1 //alien acid don't melts alien things...
/obj/alien/egg
desc = "It looks like a weird egg"
@@ -38,6 +39,7 @@
density = 1
opacity = 1
anchored = 1
unacidable = 0 //...except for resin "wall" since it can block way.
var/health = 20
+1
View File
@@ -5,6 +5,7 @@
desc = "A glass lab container for storing interesting creatures."
density = 1
anchored = 1
unacidable = 1
var/health = 30
var/occupied = 1
var/destroyed = 0
+1
View File
@@ -7,6 +7,7 @@
layer = 5.0
density = 1
anchored = 0
unacidable = 1
var/state = 0 //0 = null, 1 = attack, 2 = idle