mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Fixes three borer runtimes and also a hookshot runtime. (#10608)
This commit is contained in:
committed by
clusterfack
parent
f25e373673
commit
aee17bc31a
@@ -258,8 +258,10 @@
|
||||
return
|
||||
if(!parent_borer.channeling_bone_sword) //the borer has stopped sustaining the sword
|
||||
qdel(src)
|
||||
return
|
||||
if(parent_borer.chemicals < 5) //the parent borer no longer has the chemicals required to sustain the sword
|
||||
qdel(src)
|
||||
return
|
||||
else
|
||||
parent_borer.chemicals -= 5
|
||||
sleep(10)
|
||||
|
||||
@@ -308,6 +308,7 @@
|
||||
visible_message("With a tearing noise, the length of flesh mysteriously snaps and retracts back into its arm.")
|
||||
hookshot.cancel_chain()
|
||||
bullet_die()
|
||||
return
|
||||
HC.loc = loc
|
||||
HC.pixel_x = pixel_x
|
||||
HC.pixel_y = pixel_y
|
||||
|
||||
@@ -1284,9 +1284,10 @@ obj/item/weapon/organ/l_arm
|
||||
part = "l_arm"
|
||||
obj/item/weapon/organ/l_arm/New(loc, mob/living/carbon/human/H)
|
||||
..()
|
||||
var/mob/living/simple_animal/borer/B = H.has_brain_worms("l_arm")
|
||||
if(B)
|
||||
B.infest_limb(src)
|
||||
if(H && istype(H))
|
||||
var/mob/living/simple_animal/borer/B = H.has_brain_worms("l_arm")
|
||||
if(B)
|
||||
B.infest_limb(src)
|
||||
|
||||
obj/item/weapon/organ/l_foot
|
||||
name = "left foot"
|
||||
@@ -1304,9 +1305,10 @@ obj/item/weapon/organ/l_leg
|
||||
part = "l_leg"
|
||||
obj/item/weapon/organ/l_leg/New(loc, mob/living/carbon/human/H)
|
||||
..()
|
||||
var/mob/living/simple_animal/borer/B = H.has_brain_worms("l_leg")
|
||||
if(B)
|
||||
B.infest_limb(src)
|
||||
if(H && istype(H))
|
||||
var/mob/living/simple_animal/borer/B = H.has_brain_worms("l_leg")
|
||||
if(B)
|
||||
B.infest_limb(src)
|
||||
|
||||
obj/item/weapon/organ/r_arm
|
||||
name = "right arm"
|
||||
@@ -1314,9 +1316,10 @@ obj/item/weapon/organ/r_arm
|
||||
part = "r_arm"
|
||||
obj/item/weapon/organ/r_arm/New(loc, mob/living/carbon/human/H)
|
||||
..()
|
||||
var/mob/living/simple_animal/borer/B = H.has_brain_worms("r_arm")
|
||||
if(B)
|
||||
B.infest_limb(src)
|
||||
if(H && istype(H))
|
||||
var/mob/living/simple_animal/borer/B = H.has_brain_worms("r_arm")
|
||||
if(B)
|
||||
B.infest_limb(src)
|
||||
|
||||
obj/item/weapon/organ/r_foot
|
||||
name = "right foot"
|
||||
@@ -1334,9 +1337,10 @@ obj/item/weapon/organ/r_leg
|
||||
part = "r_leg"
|
||||
obj/item/weapon/organ/r_leg/New(loc, mob/living/carbon/human/H)
|
||||
..()
|
||||
var/mob/living/simple_animal/borer/B = H.has_brain_worms("r_leg")
|
||||
if(B)
|
||||
B.infest_limb(src)
|
||||
if(H && istype(H))
|
||||
var/mob/living/simple_animal/borer/B = H.has_brain_worms("r_leg")
|
||||
if(B)
|
||||
B.infest_limb(src)
|
||||
|
||||
obj/item/weapon/organ/head
|
||||
dir = NORTH
|
||||
@@ -1392,9 +1396,10 @@ obj/item/weapon/organ/head/New(loc, mob/living/carbon/human/H)
|
||||
if(brainmob && brainmob.client)
|
||||
brainmob.client.screen.len = null //clear the hud
|
||||
|
||||
var/mob/living/simple_animal/borer/B = H.has_brain_worms()
|
||||
if(B)
|
||||
B.infest_limb(src)
|
||||
if(H && istype(H))
|
||||
var/mob/living/simple_animal/borer/B = H.has_brain_worms()
|
||||
if(B)
|
||||
B.infest_limb(src)
|
||||
|
||||
//if(ishuman(H))
|
||||
// if(H.gender == FEMALE)
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
visible_message("With a CLANG noise, the chain mysteriously snaps and rewinds back into the hookshot.")
|
||||
hookshot.cancel_chain()
|
||||
bullet_die()
|
||||
return
|
||||
HC.loc = loc
|
||||
HC.pixel_x = pixel_x
|
||||
HC.pixel_y = pixel_y
|
||||
|
||||
Reference in New Issue
Block a user