mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Acid fix from Barhandar.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@686 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -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,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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
layer = 5.0
|
||||
density = 1
|
||||
anchored = 0
|
||||
unacidable = 1
|
||||
|
||||
var/state = 0 //0 = null, 1 = attack, 2 = idle
|
||||
|
||||
|
||||
Reference in New Issue
Block a user