diff --git a/code/modules/cargo/packs/medical.dm b/code/modules/cargo/packs/medical.dm index bc1891cbe875..3b2bc6a3a82a 100644 --- a/code/modules/cargo/packs/medical.dm +++ b/code/modules/cargo/packs/medical.dm @@ -256,3 +256,11 @@ /obj/item/reagent_containers/hypospray/medipen/blood_loss, /obj/item/reagent_containers/hypospray/medipen/blood_loss) crate_name = "medipen crate" + +/datum/supply_pack/medical/medbeamgun + name = "Medipen Variety-Pak" + desc = "Содержит два медицинского орудия для лечения при помощи лечебных нанитов." + cost = 25000 + contains = list(/obj/item/gun/medbeam, + /obj/item/gun/medbeam) + crate_name = "medipen crate" diff --git a/code/modules/projectiles/guns/misc/medbeam.dm b/code/modules/projectiles/guns/misc/medbeam.dm index 4e53e3f608c4..b5783d43d59b 100644 --- a/code/modules/projectiles/guns/misc/medbeam.dm +++ b/code/modules/projectiles/guns/misc/medbeam.dm @@ -117,10 +117,16 @@ /obj/item/gun/medbeam/proc/on_beam_tick(var/mob/living/target) if(target.health != target.maxHealth) new /obj/effect/temp_visual/heal(get_turf(target), "#80F5FF") + target.drowsyness = max(target.drowsyness-5, 0) + target.AdjustUnconscious(main_heal, FALSE) + target.AdjustAllImmobility(main_heal, FALSE) + target.adjustStaminaLoss(main_heal, FALSE) target.adjustBruteLoss(main_heal) target.adjustFireLoss(main_heal) + target.heal_overall_damage(2,2) target.adjustToxLoss(second_heal, forced = TRUE) target.adjustOxyLoss(second_heal) + target.adjust_disgust(second_heal) return /obj/item/gun/medbeam/proc/on_beam_release(var/mob/living/target)