mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-05 15:04:21 +00:00
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:
@@ -58,7 +58,7 @@
|
||||
if(Discipline >= 5 && rabid)
|
||||
if(prob(60)) rabid = 0
|
||||
|
||||
if(prob(20))
|
||||
if(prob(10))
|
||||
Discipline--
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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!"
|
||||
|
||||
Reference in New Issue
Block a user