mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-30 03:22:41 +00:00
* New Medical job: The Coroner * Fixes coroner (code-side) (#21005) * Fixes coroner * Update jobs.dm * trailing newline * wew * VR Replacements * w --------- Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
22 lines
645 B
Plaintext
22 lines
645 B
Plaintext
/// Gives the target critically bad wounds
|
|
/datum/smite/boneless
|
|
name = ":B:oneless"
|
|
|
|
/datum/smite/boneless/effect(client/user, mob/living/target)
|
|
. = ..()
|
|
|
|
if (!iscarbon(target))
|
|
to_chat(user, span_warning("This must be used on a carbon mob."), confidential = TRUE)
|
|
return
|
|
|
|
var/mob/living/carbon/carbon_target = target
|
|
for(var/obj/item/bodypart/limb as anything in carbon_target.bodyparts)
|
|
var/type_wound = pick(list(
|
|
/datum/wound/blunt/critical,
|
|
/datum/wound/blunt/severe,
|
|
/datum/wound/blunt/critical,
|
|
/datum/wound/blunt/severe,
|
|
/datum/wound/blunt/moderate,
|
|
))
|
|
limb.force_wound_upwards(type_wound, smited = TRUE)
|