mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user