Metroids:

You can perform some xenobiological dissection on Metroids to get a little something... I also made it impossible to push, drag, or grab Metroids while they're feeding on something. Metroids also eat slower, and you can more easily "wrestle" them off by clicking on them.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1793 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
vageyenaman@gmail.com
2011-07-07 01:13:10 +00:00
parent 513b6d0d91
commit 9bd966bf01
12 changed files with 135 additions and 10 deletions
@@ -82,6 +82,10 @@
loc = tmob.loc
tmob.loc = oldloc
now_pushing = 0
for(var/mob/living/carbon/metroid/Metroid in view(1,tmob))
if(Metroid.Victim == tmob)
Metroid.UpdateFeed()
return
if(istype(equipped(), /obj/item/weapon/melee/baton)) // add any other item paths you think are necessary
if(loc:sd_lumcount < 3 || blinded)
@@ -431,7 +431,7 @@
if(Victim)
if(Victim == M)
if(prob(90))
if(prob(60))
for(var/mob/O in viewers(src, null))
if ((O.client && !( O.blinded )))
O.show_message("\red [M] attempts to wrestle \the [name] off!", 1)
@@ -444,12 +444,13 @@
playsound(loc, 'thudswoosh.ogg', 50, 1, -1)
Victim = null
anchored = 0
step_away(src,M)
return
else
if(prob(80))
if(prob(30))
for(var/mob/O in viewers(src, null))
if ((O.client && !( O.blinded )))
O.show_message("\red [M] attempts to wrestle \the [name] off of [Victim]!", 1)
@@ -462,6 +463,7 @@
playsound(loc, 'thudswoosh.ogg', 50, 1, -1)
Victim = null
anchored = 0
step_away(src,M)
return
@@ -505,7 +507,9 @@
if (prob(90))
if (M.mutations & HULK)
damage += 5
if(Victim) Victim = null
if(Victim)
Victim = null
anchored = 0
spawn(0)
step_away(src,M,15)
@@ -592,7 +596,10 @@
if ((O.client && !( O.blinded )))
O.show_message(text("\red <B>[] has tackled [name]!</B>", M), 1)
if(Victim) Victim = null
if(Victim)
Victim = null
anchored = 0
spawn(0)
step_away(src,M,15)
@@ -41,6 +41,7 @@
Victim = M
src.loc = M.loc
canmove = 0
anchored = 1
var/lastnut = nutrition
//if(M.client) M << "\red You legs become paralyzed!"
if(istype(src, /mob/living/carbon/metroid/adult))
@@ -63,7 +64,7 @@
Victim.cloneloss += rand(1,10)
Victim.toxloss += rand(1,2)
if(Victim.health <= 0)
Victim.toxloss += rand(2,5)
Victim.toxloss += rand(2,4)
if(toxloss > 0)
toxloss -= 5
@@ -109,7 +110,7 @@
Victim.updatehealth()
updatehealth()
sleep(rand(5,25))
sleep(rand(15,45))
if(istype(src, /mob/living/carbon/metroid/adult))
@@ -119,6 +120,7 @@
Victim = null
canmove = 1
anchored = 0
if(M.health <= -70)
M.canmove = 0