Cleaned up a few lines of unnecessary alien code.

Cleaned up mob projectile code a bit so it uses switch.
It's now much harder to play punch-out with a xeno, unless you're the hulk.
Xenos can now stick humans and monkeys into resin walls. Inside a resin wall, the person cannot escape unless the wall is destroyed (there is a 5% they will crawl out on their own). They are also paralyzed and cannot suicide.
Robots will now spark when you clobber or shoot them.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1467 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
noisomehollow@lycos.com
2011-04-17 23:27:28 +00:00
parent b7db69b6f8
commit a95f87d6bc
9 changed files with 522 additions and 457 deletions
+10 -1
View File
@@ -12,7 +12,16 @@
src.icon_state = "egg_hatched"
new /obj/alien/facehugger(src.loc)
/obj/alien/egg/bullet_act(flag)
switch(flag)
if (PROJECTILE_BULLET)
health -= 35
if (PROJECTILE_PULSE)
health -= 50
if (PROJECTILE_LASER)
health -= 10
healthcheck()
return
/obj/alien/egg/attackby(var/obj/item/weapon/W, var/mob/user)
if(health <= 0)