mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-26 10:03:45 +00:00
Okay, there's a couple things up with this revision:
Metroids:
No, they're not working yet, and I planned on committing this when they were finished, but the basic framework is there. The Metroid in xenobiology now moves around, I guess, kinda like a monkey. ADMINS: !! DO NOT TRY TO POSSESS/CONTROL A METROID, unless you're willing to take a risk! I haven't tested it thoroughly yet, it might have some glitchy results!
Turrets:
Fixed some lingering bugs with the targetting system. Hopefully these should be pretty stable now.
Reagents/Chemicals:
I fixed some problems with virus combinations and weird stuff with the PANDEMIC machine.
There's probably some other stuff people requested I fix on IRC that I didn't mention, I can't remember anything else though. Hopefully this should stabilize some of the more annoying bugs with reagents!
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1759 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -3,8 +3,11 @@
|
||||
return
|
||||
if(src.healths)
|
||||
src.healths.icon_state = "health6"
|
||||
|
||||
/*
|
||||
if(istype(src,/mob/living/carbon/alien/larva/metroid))
|
||||
src.icon_state = "metroid_dead"
|
||||
*/
|
||||
else
|
||||
src.icon_state = "larva_l"
|
||||
src.stat = 2
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
del(src)
|
||||
return
|
||||
//grow!! but not if metroid or dead
|
||||
if(!istype(src,/mob/living/carbon/alien/larva/metroid) && health>-100)
|
||||
if(health>-100)
|
||||
amount_grown++
|
||||
|
||||
if (radiation)
|
||||
|
||||
@@ -245,6 +245,30 @@
|
||||
|
||||
new_xeno.a_intent = "hurt"
|
||||
new_xeno << "<B>You are now an alien.</B>"
|
||||
spawn(0)//To prevent the proc from returning null.
|
||||
del(src)
|
||||
return
|
||||
|
||||
/mob/living/carbon/human/proc/Metroidize()
|
||||
if (monkeyizing)
|
||||
return
|
||||
for(var/obj/item/W in src)
|
||||
drop_from_slot(W)
|
||||
update_clothing()
|
||||
monkeyizing = 1
|
||||
canmove = 0
|
||||
icon = null
|
||||
invisibility = 101
|
||||
for(var/t in organs)
|
||||
del(organs[t])
|
||||
|
||||
var/mob/living/carbon/metroid/new_metroid = new /mob/living/carbon/metroid (loc)
|
||||
|
||||
new_metroid.mind_initialize(src)
|
||||
new_metroid.key = key
|
||||
|
||||
new_metroid.a_intent = "hurt"
|
||||
new_metroid << "<B>You are now a Metroid.</B>"
|
||||
spawn(0)//To prevent the proc from returning null.
|
||||
del(src)
|
||||
return
|
||||
Reference in New Issue
Block a user