Fixed metroid behavior code so that it's now possible to "tame" Metroids by simply feeding them a lot. This should cut down on the massive xenobio Metroid rampages, and make traitor-ranching metroids more worth it.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2210 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
vageyenaman@gmail.com
2011-09-17 02:58:25 +00:00
parent 48e5403e72
commit 8338189fb6
3 changed files with 11 additions and 4 deletions

View File

@@ -58,7 +58,7 @@
if(Discipline >= 5 && rabid)
if(prob(60)) rabid = 0
if(prob(20))
if(prob(10))
Discipline--

View File

@@ -458,8 +458,9 @@
spawn()
SStun = 1
sleep(rand(25,50))
SStun = 0
sleep(rand(45,60))
if(src)
SStun = 0
Victim = null
anchored = 0
@@ -487,6 +488,11 @@
if(Discipline == 1)
attacked = 0
spawn()
SStun = 1
sleep(rand(55,65))
if(src)
SStun = 0
Victim = null
anchored = 0

View File

@@ -142,7 +142,6 @@
else
icon_state = "baby metroid"
Victim = null
canmove = 1
anchored = 0
@@ -170,6 +169,8 @@
if(client) src << "<i>I have stopped feeding...</i>"
Victim = null
/mob/living/carbon/metroid/proc/Feedstop()
if(Victim)
if(Victim.client) Victim << "[src] has let go of your head!"