Antag Rebalances, Armory Restock (#13830)

This commit is contained in:
TheDanseMacabre
2022-06-29 20:45:58 +02:00
committed by GitHub
parent 14c197164c
commit 278f0d23b9
26 changed files with 283 additions and 55 deletions
@@ -300,7 +300,7 @@
/decl/reagent/mortaphenyl/affect_blood(var/mob/living/carbon/M, var/alien, var/removed, var/datum/reagents/holder)
if(prob(3))
to_chat(M, SPAN_GOOD(pick("You feel soothed and at ease.", "You feel content and at peace.", "You feel a pleasant emptiness.", "You feel like sharing the wonderful memories and feelings you're experiencing.", "All your anxieties fade away.", "You feel like you're floating off the ground.", "You don't want this feeling to end.")))
if(check_min_dose(M))
M.add_chemical_effect(CE_PAINKILLER, 50)
if(!M.chem_effects[CE_CLEARSIGHT])
@@ -937,7 +937,7 @@
/* mental */
#define MEDICATION_MESSAGE_DELAY 10 MINUTES
#define MEDICATION_MESSAGE_DELAY 10 MINUTES
/decl/reagent/mental
name = null //Just like alcohol
@@ -1306,6 +1306,59 @@
M.make_dizzy(5)
M.make_jittery(5)
/decl/reagent/sanasomnum
name = "Sanasomnum"
description = "Not strictly a drug, Sanasomnum is actually a cocktail of biomechanical stem cells, which induce a regenerative state of unconsciousness capable healing almost any injury in minutes - however, usage nearly guarantees long-term and irreversible complications, and it is banned from medical use throughout the spur."
reagent_state = SOLID
color = "#b2db5e"
overdose = REAGENTS_OVERDOSE
scannable = TRUE
taste_description = "blood"
/decl/reagent/sanasomnum/affect_chem_effect(var/mob/living/carbon/M, var/alien, var/removed, var/datum/reagents/holder)
. = ..()
if(.)
M.add_chemical_effect(CE_ORGANREPAIR, 20)
M.add_chemical_effect(CE_BLOODRESTORE, 15)
M.add_chemical_effect(CE_BLOODCLOT, 15)
M.add_chemical_effect(CE_BRAIN_REGEN, 20)
M.add_chemical_effect(CE_OXYGENATED, 15)
M.add_chemical_effect(CE_ANTITOXIN, 15)
M.add_chemical_effect(CE_ANTIBIOTIC, 15)
M.add_chemical_effect(CE_STABLE, 15)
M.add_chemical_effect(CE_UNDEXTROUS, 30)
M.add_chemical_effect(CE_CLUMSY, 30)
/decl/reagent/sanasomnum/affect_blood(var/mob/living/carbon/M, var/alien, var/removed, var/datum/reagents/holder)
M.adjustCloneLoss(-20 * removed)
M.adjustOxyLoss(-2 * removed)
M.heal_organ_damage(20 * removed, 20 * removed)
if(M.is_asystole() && prob(20))
M.resuscitate()
if(M.chem_doses[type] > 3)
M.status_flags &= ~DISFIGURED
var/mob/living/carbon/human/H = M
if(istype(H) && (H.species.flags & NO_SCAN))
return
if (!(CE_UNDEXTROUS in M.chem_effects))
to_chat(M, SPAN_WARNING("Your limbs start to feel numb and weak, and your legs wobble as it becomes hard to stand..."))
M.confused = max(M.confused, 250)
M.eye_blurry = max(M.eye_blurry, 250)
if(M.chem_doses[type] > 0.2)
M.Weaken(10)
if(M.chem_doses[type] > 5)
for(var/obj/item/organ/external/E in H.organs)
if(E.status & ORGAN_ARTERY_CUT && prob(10))
E.status &= ~ORGAN_ARTERY_CUT
if(M.chem_doses[type] > 5)
for(var/obj/item/organ/external/E in H.organs)
if(E.status & ORGAN_BROKEN && prob(10))
E.status &= ~ORGAN_BROKEN
if(M.chem_doses[type] > 5)
for(var/obj/item/organ/external/E in H.organs)
if(E.status & TENDON_CUT && prob(10))
E.status &= ~TENDON_CUT
/decl/reagent/verunol
name = "Verunol Syrup"
description = "A complex emetic medication that causes the patient to vomit due to gastric irritation and the stimulating of the vomit centres of the brain."
@@ -121,3 +121,4 @@
thetamycin spawn_reagent = /decl/reagent/thetamycin
mortaphenyl spawn_reagent = /decl/reagent/mortaphenyl
tricord spawn_reagent = /decl/reagent/tricordrazine
sanasomnum spawn_reagent = /decl/reagent/sanasomnum
@@ -314,3 +314,11 @@
name = "combat hypospray"
desc = "A sleek black hypospray. Its needle has the ability to bypass armor."
reagents_to_add = FALSE
/obj/item/reagent_containers/hypospray/autoinjector/sanasomnum
name = "sanasomnum autoinjector"
desc = "A special autoinjector loaded with outlawed biomechanical stem cells, inducing a regenerative coma so intense it can heal almost any injury - even broken bones, organ and brain damage, severed tendons, and arterial damage. Upon use one will fall immediately into a state of unconsciousness lasting roughly three to five minutes, arising completely healed. The only thing it cannot fix are organs that have been destroyed outright, or so much cumulative damage that death is all but certain. The only downside is that Sanasomnum use guarantees extreme cancerous growth months or years down the line, which is invariably fatal in the long-term. However, in the short-term, it will save your life."
volume = 20
amount_per_transfer_from_this = 20
reagents_to_add = list(/decl/reagent/sanasomnum = 20)