Facehugger overhaul

They now function like landmines. They don't move, but you can pick them up and throw them at people.
Eggs now grow gradually and you can harvest a hugger from a grown egg.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2438 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
uporotiy
2011-10-28 17:17:01 +00:00
parent 9bb5f06ea0
commit c0d8adf42f
21 changed files with 918 additions and 679 deletions
@@ -30,6 +30,7 @@ Doesn't work on other aliens/AI.*/
new /obj/effect/alien/weeds/node(loc)
return
/*
/mob/living/carbon/alien/humanoid/verb/call_to()
set name = "Call facehuggers (5)"
set desc = "Makes all nearby facehuggers follow you"
@@ -41,7 +42,7 @@ Doesn't work on other aliens/AI.*/
F.call_to(src)
emote("roar")
return
*/
/mob/living/carbon/alien/humanoid/verb/whisp(mob/M as mob in oview())
set name = "Whisper (10)"
set desc = "Whisper to someone"
@@ -165,14 +166,14 @@ I kind of like the right click only--the window version can get a little confusi
if(target_vent)
for(var/mob/O in viewers(src, null))
O.show_message(text("<B>[src] scrambles into the ventillation ducts!</B>"), 1)
var/list/huggers = list()
for(var/obj/effect/alien/facehugger/F in view(3, src))
if(istype(F, /obj/effect/alien/facehugger))
huggers.Add(F)
// var/list/huggers = list()
// for(var/obj/effect/alien/facehugger/F in view(3, src))
// if(istype(F, /obj/effect/alien/facehugger))
// huggers.Add(F)
loc = vent_found
for(var/obj/effect/alien/facehugger/F in huggers)
F.loc = vent_found
// for(var/obj/effect/alien/facehugger/F in huggers)
// F.loc = vent_found
var/travel_time = get_dist(loc, target_vent.loc)
spawn(round(travel_time/2))//give sound warning to anyone near the target vent
@@ -185,8 +186,8 @@ I kind of like the right click only--the window version can get a little confusi
target_vent = vent_found //travel back. No additional time required.
src << "\red The vent you were heading to appears to be welded."
loc = target_vent.loc
for(var/obj/effect/alien/facehugger/F in huggers)
F.loc = loc
// for(var/obj/effect/alien/facehugger/F in huggers)
// F.loc = loc
else
src << "\green You need to remain still while entering a vent."
@@ -7,7 +7,7 @@
src.real_name = src.name
spawn (1)
src.verbs += /mob/living/carbon/alien/humanoid/proc/corrode_target
src.verbs -= /mob/living/carbon/alien/humanoid/verb/call_to
// src.verbs -= /mob/living/carbon/alien/humanoid/verb/call_to
src.stand_icon = new /icon('alien.dmi', "aliend_s")
src.lying_icon = new /icon('alien.dmi', "aliend_l")
src.icon = src.stand_icon
@@ -64,7 +64,7 @@
/mob/living/carbon/alien/humanoid/special/proc/remove_special_verbs()
verbs -= /mob/living/carbon/alien/humanoid/verb/plant
verbs -= /mob/living/carbon/alien/humanoid/verb/call_to
// verbs -= /mob/living/carbon/alien/humanoid/verb/call_to
verbs -= /mob/living/carbon/alien/humanoid/verb/whisp
verbs -= /mob/living/carbon/alien/humanoid/verb/transfer_plasma
verbs -= /mob/living/carbon/alien/humanoid/verb/corrode
+1
View File
@@ -211,6 +211,7 @@
if(S.parent == mob)
S.loc = mob.loc
moving = 0
return .
return