-Metroid eggs are now a child of eggs. Meaning you can throw them at people!

-Resin walls/windows will now block heat the same as regular walls.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4955 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
giacomand@gmail.com
2012-10-25 03:07:08 +00:00
parent 00ad0b6c2a
commit bbd693f86d
7 changed files with 31 additions and 15 deletions
+12 -2
View File
@@ -28,7 +28,7 @@
density = 1
opacity = 1
anchored = 1
var/health = 50
var/health = 170
//var/mob/living/affecting = null
wall
@@ -43,6 +43,16 @@
opacity = 0
health = 20
/obj/effect/alien/resin/New()
..()
var/turf/T = get_turf(src)
T.thermal_conductivity = WALL_HEAT_TRANSFER_COEFFICIENT
/obj/effect/alien/resin/Del()
var/turf/T = get_turf(src)
T.thermal_conductivity = initial(T.thermal_conductivity)
..()
/obj/effect/alien/resin/proc/healthcheck()
if(health <=0)
density = 0
@@ -113,7 +123,7 @@
for(var/mob/O in oviewers(src))
O.show_message("\red [usr] claws at the resin!", 1)
playsound(loc, 'sound/effects/attackblob.ogg', 100, 1)
health -= rand(10, 20)
health -= rand(40, 60)
if(health <= 0)
usr << "\green You slice the [name] to pieces."
for(var/mob/O in oviewers(src))