mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 08:37:43 +01:00
makes mech drills gib corpses (#24042)
* makes mech drills gib corpses * Cleans up code * maybe fixes travis
This commit is contained in:
@@ -81,11 +81,11 @@
|
||||
target.visible_message("<span class='danger'>[chassis] drills [target] with [src].</span>", \
|
||||
"<span class='userdanger'>[chassis] drills [target] with [src].</span>")
|
||||
add_logs(user, target, "attacked", "[name]", "(INTENT: [uppertext(user.a_intent)]) (DAMTYPE: [uppertext(damtype)])")
|
||||
if(ishuman(target))
|
||||
var/mob/living/carbon/human/H = target
|
||||
H.apply_damage(drill_damage, BRUTE, "chest")
|
||||
else if(target.stat == DEAD && target.butcher_results)
|
||||
target.harvest(chassis) // Butcher the mob with our drill.
|
||||
if(target.stat == DEAD)
|
||||
if(target.butcher_results)
|
||||
target.harvest(chassis)//Butcher the mob with our drill.
|
||||
else
|
||||
target.gib()
|
||||
else
|
||||
target.take_bodypart_damage(drill_damage)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user