mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
Supply pod dismember cleanup and also an e was missing somewhere (#94330)
## About The Pull Request Supply pod had an unnecessary check because dismember() already checks for unremovable body parts. Also there was an e missing from sleeping carp text. ## Why It's Good For The Game spellcheck, also I left the supply pod stuff out of the changelog because it isn't player facing ## Changelog 🆑 spellcheck: fixed a missing e in sleeping carp's recall teachings verb /🆑 Co-authored-by: Fghj240 <fakeemail@notrealemail.com>
This commit is contained in:
@@ -332,8 +332,7 @@
|
||||
for (var/bp in carbon_target_mob.bodyparts) //Look at the bodyparts in our poor mob beneath our pod as it lands
|
||||
var/obj/item/bodypart/bodypart = bp
|
||||
if(bodypart.body_part != HEAD && bodypart.body_part != CHEST)//we dont want to kill him, just teach em a lesson!
|
||||
if (!(bodypart.bodypart_flags & BODYPART_UNREMOVABLE))
|
||||
bodypart.dismember() //Using the power of flextape i've sawed this man's limb in half!
|
||||
if(bodypart.dismember()) //Using the power of flextape i've sawed this man's limb in half!
|
||||
break
|
||||
if (effectOrgans) //effectOrgans means remove every organ in our mob
|
||||
var/mob/living/carbon/carbon_target_mob = target_living
|
||||
@@ -346,8 +345,7 @@
|
||||
for (var/bp in carbon_target_mob.bodyparts) //Look at the bodyparts in our poor mob beneath our pod as it lands
|
||||
var/obj/item/bodypart/bodypart = bp
|
||||
var/destination = get_edge_target_turf(turf_underneath, pick(GLOB.alldirs))
|
||||
if (!(bodypart.bodypart_flags & BODYPART_UNREMOVABLE))
|
||||
bodypart.dismember() //Using the power of flextape i've sawed this man's bodypart in half!
|
||||
if (bodypart.dismember()) //Using the power of flextape i've sawed this man's bodypart in half!
|
||||
bodypart.throw_at(destination, 2, 3)
|
||||
sleep(0.1 SECONDS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user