Merge pull request #8958 from Incoming5643/excuse_me_while_I_vent_a_bit

buffs head slugs a bit
This commit is contained in:
Swag McYolosteinen
2015-04-15 13:01:58 +02:00
3 changed files with 21 additions and 1 deletions
@@ -8,9 +8,15 @@
/obj/effect/proc_holder/changeling/headcrab/sting_action(var/mob/user)
explosion(get_turf(user),0,0,2,0,silent=1)
var/turf = get_turf(user)
var/client/C
if(user.client)
C = user.client
spawn(5) // So it's not killed in explosion
var/mob/living/simple_animal/hostile/headcrab/crab = new(turf)
crab.origin = user.mind
if(C)
crab.key = C.key
crab << "<span class='warning'>You burst out of the remains of your former body in a shower of gore!</span>"
user.gib()
feedback_add_details("changeling_powers","LR")
return 1
@@ -17,7 +17,9 @@
stat_attack = 2
environment_smash = 0
speak_emote = list("squeaks")
ventcrawler = 2
var/datum/mind/origin
var/egg_lain = 0
/mob/living/simple_animal/hostile/headcrab/proc/Infect(var/mob/living/carbon/human/victim)
var/obj/item/body_egg/changeling_egg/egg = new(victim)
@@ -27,13 +29,19 @@
egg.owner = mind
victim.internal_organs += egg
visible_message("<span class='notice'>[src] lays an egg in a [victim]!</span>")
egg_lain = 1
/mob/living/simple_animal/hostile/headcrab/AttackingTarget()
if(egg_lain)
target.attack_animal(src)
return
if(ishuman(target))
var/mob/living/carbon/human/H = target
if(H.stat == DEAD)
Infect(target)
death()
src << "<span class='danger'>With your egg laid you feel your death rapidly approaching, time to die...</span>"
spawn(100)
death()
return
target.attack_animal(src)
+6
View File
@@ -0,0 +1,6 @@
author: Incoming5643
delete-after: True
changes:
- rscadd: "Changeling head slugs have been given player control, ventcrawling, and a short escape period after egg laying."