Skip to content

Commit

Permalink
Добавил Медицинский Бимган в Карго и улучшил показатели его лечения (…
Browse files Browse the repository at this point in the history
…в том числе в бою).
  • Loading branch information
SmiLeYre committed Jan 9, 2024
1 parent 35f44da commit 769403c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/modules/cargo/packs/medical.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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"
6 changes: 6 additions & 0 deletions code/modules/projectiles/guns/misc/medbeam.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 769403c

Please sign in to comment.