mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-01 04:52:39 +00:00
Ports antibiotics overhaul (#5050)
* Ports antibiotics overhaul * Update the rest of the places "spaceacillin" is used where antibiotics is meant. * Antibiotics port compiles
This commit is contained in:
@@ -108,7 +108,7 @@
|
||||
/datum/reagent/proc/affect_touch(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
return
|
||||
|
||||
/datum/reagent/proc/overdose(var/mob/living/carbon/M, var/alien, var/removed) // Overdose effect. Doesn't happen instantly.
|
||||
/datum/reagent/proc/overdose(var/mob/living/carbon/M, var/alien, var/removed) // Overdose effect.
|
||||
if(alien == IS_DIONA)
|
||||
return
|
||||
if(ishuman(M))
|
||||
|
||||
@@ -509,11 +509,46 @@
|
||||
taste_description = "bitterness"
|
||||
reagent_state = LIQUID
|
||||
color = "#C1C1C1"
|
||||
metabolism = REM * 0.05
|
||||
metabolism = REM * 0.25
|
||||
mrate_static = TRUE
|
||||
overdose = REAGENTS_OVERDOSE
|
||||
scannable = 1
|
||||
|
||||
/datum/reagent/spaceacillin/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
..()
|
||||
M.add_chemical_effect(CE_ANTIBIOTIC, dose >= overdose ? ANTIBIO_OD : ANTIBIO_NORM)
|
||||
|
||||
/datum/reagent/corophizine
|
||||
name = "Corophizine"
|
||||
id = "corophizine"
|
||||
description = "A wide-spectrum antibiotic drug. Powerful and uncomfortable in equal doses."
|
||||
taste_description = "burnt toast"
|
||||
reagent_state = LIQUID
|
||||
color = "#FFB0B0"
|
||||
mrate_static = TRUE
|
||||
overdose = 10
|
||||
scannable = 1
|
||||
|
||||
/datum/reagent/corophizine/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
..()
|
||||
M.add_chemical_effect(CE_ANTIBIOTIC, ANTIBIO_SUPER)
|
||||
|
||||
//Based roughly on Levofloxacin's rather severe side-effects
|
||||
if(prob(20))
|
||||
M.Confuse(5)
|
||||
if(prob(20))
|
||||
M.Weaken(5)
|
||||
if(prob(20))
|
||||
M.make_dizzy(5)
|
||||
if(prob(20))
|
||||
M.hallucination = max(M.hallucination, 10)
|
||||
|
||||
//One of the levofloxacin side effects is 'spontaneous tendon rupture', which I'll immitate here. 1:1000 chance, so, pretty darn rare.
|
||||
if(ishuman(M) && rand(1,1000) == 1)
|
||||
var/mob/living/carbon/human/H = M
|
||||
var/obj/item/organ/external/eo = pick(H.organs) //Misleading variable name, 'organs' is only external organs
|
||||
eo.fracture()
|
||||
|
||||
/datum/reagent/sterilizine
|
||||
name = "Sterilizine"
|
||||
id = "sterilizine"
|
||||
|
||||
@@ -417,6 +417,14 @@
|
||||
required_reagents = list("cryptobiolin" = 1, "inaprovaline" = 1)
|
||||
result_amount = 2
|
||||
|
||||
/datum/chemical_reaction/corophizine
|
||||
name = "Corophizine"
|
||||
id = "corophizine"
|
||||
result = "corophizine"
|
||||
required_reagents = list("spaceacillin" = 1, "carbon" = 1, "phoron" = 0.1)
|
||||
catalysts = list("phoron" = 5)
|
||||
result_amount = 2
|
||||
|
||||
/datum/chemical_reaction/imidazoline
|
||||
name = "imidazoline"
|
||||
id = "imidazoline"
|
||||
|
||||
Reference in New Issue
Block a user