mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +01:00
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:
@@ -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
|
||||
|
||||
@@ -211,6 +211,7 @@
|
||||
if(S.parent == mob)
|
||||
S.loc = mob.loc
|
||||
moving = 0
|
||||
|
||||
return .
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user