mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 21:49:11 +01:00
Various Surgery & Medical fixes, QoL, and adjustments (#18718)
* bunch of medical adjustments * or so i thought * De-death surgery * Update carbon.dm * Update mob_grab_specials.dm * yeh * Palpation * internal bleeding * Update life.dm * duration increase * adjust these * Fixes a bug with defibs that I caused When I reworked get_crit_point, it caused defibs to DEAL oxyloss instead of HEALING it, like it has been doing for the past 8 years. This fixes it. * fixcees this * fixes syringe stabbing * Converts these to managed global lists * gets rid of disabilities * Change injury check to use do_after with delay * lungfix * actually remove the necrosis * Fixes brain surgery * fix language bug * Update brain.dm * ghetto surgery adjustments Buffs some ghetto surgery Makes some injuries sustained less gnarly if you fail with a ghetto tool. Some mild typo fixes.
This commit is contained in:
@@ -270,7 +270,7 @@
|
||||
|
||||
var/mob/living/carbon/human/H = target
|
||||
|
||||
var/target_zone = ran_zone(check_zone(user.zone_sel.selecting, target))
|
||||
var/target_zone = get_zone_with_miss_chance(check_zone(user.zone_sel.selecting, target))
|
||||
var/obj/item/organ/external/affecting = H.get_organ(target_zone)
|
||||
|
||||
if (!affecting || affecting.is_stump())
|
||||
@@ -282,7 +282,8 @@
|
||||
if((user != target) && H.check_shields(7, src, user, "\the [src]"))
|
||||
return
|
||||
|
||||
if (target != user && H.getarmor(target_zone, "melee") > 5 && prob(50))
|
||||
var/armor_val = H.getarmor(target_zone, "melee")
|
||||
if(target != user && armor_val >= 5 && prob(50+armor_val)) // High armor can deflect syringe stabs
|
||||
for(var/mob/O in viewers(world.view, user))
|
||||
O.show_message(span_bolddanger("[user] tries to stab [target] in \the [hit_area] with [src.name], but the attack is deflected by armor!"), 1)
|
||||
user.remove_from_mob(src)
|
||||
|
||||
@@ -1319,7 +1319,7 @@
|
||||
/datum/reagent/sterilizine
|
||||
name = REAGENT_STERILIZINE
|
||||
id = REAGENT_ID_STERILIZINE
|
||||
description = "Sterilizes wounds in preparation for surgery and thoroughly removes blood."
|
||||
description = "Sterilizes wounds in preparation for surgery and thoroughly removes blood. Can additionally be used to prepare a surface for surgery to lower risk of infection."
|
||||
taste_description = "bitterness"
|
||||
reagent_state = LIQUID
|
||||
color = "#C8A5DC"
|
||||
@@ -1344,12 +1344,12 @@
|
||||
|
||||
/datum/reagent/sterilizine/touch_obj(var/obj/O)
|
||||
..()
|
||||
O.germ_level -= min(volume*20, O.germ_level)
|
||||
O.germ_level -= min(volume*200, O.germ_level)
|
||||
O.was_bloodied = null
|
||||
|
||||
/datum/reagent/sterilizine/touch_turf(var/turf/T)
|
||||
..()
|
||||
T.germ_level -= min(volume*20, T.germ_level)
|
||||
T.germ_level -= min(volume*200, T.germ_level)
|
||||
for(var/obj/item/I in T.contents)
|
||||
I.was_bloodied = null
|
||||
for(var/obj/effect/decal/cleanable/blood/B in T)
|
||||
|
||||
Reference in New Issue
Block a user