Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some chems reb / fix #153

Merged
merged 8 commits into from
Aug 28, 2024
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 25 additions & 5 deletions code/modules/reagents/reagents/medical.dm
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@
color = COLOR_REAGENT_RYETALYN
scannable = TRUE
custom_metabolism = REAGENTS_METABOLISM * 0.125
purge_list = list(/datum/reagent/toxin, /datum/reagent/zombium)
purge_list = list(
/datum/reagent/toxin,
/datum/reagent/zombium,
)
purge_rate = 3
overdose_threshold = REAGENTS_OVERDOSE
overdose_crit_threshold = REAGENTS_OVERDOSE_CRITICAL
Expand Down Expand Up @@ -88,8 +91,9 @@
scannable = TRUE
custom_metabolism = REAGENTS_METABOLISM * 0.125
purge_list = list(
/datum/reagent/medicine/kelotane,
/datum/reagent/medicine/bicaridine,
/datum/reagent/medicine/kelotane,
/datum/reagent/medicalnanites,
Tatarla marked this conversation as resolved.
Show resolved Hide resolved
)
purge_rate = 5
overdose_threshold = REAGENTS_OVERDOSE*2
Expand Down Expand Up @@ -237,6 +241,8 @@
purge_list = list(
/datum/reagent/medicine/ryetalyn,
/datum/reagent/medicine/paracetamol,
/datum/reagent/medicalnanites,
/datum/reagent/medicine/ifosfamide,
)
purge_rate = 2.5
overdose_threshold = REAGENTS_OVERDOSE
Expand All @@ -255,10 +261,11 @@
return ..()

/datum/reagent/medicine/kelotane/overdose_process(mob/living/L, metabolism)
L.apply_damages(effect_str, 0, effect_str)
L.apply_damage(effect_str, TOX)

/datum/reagent/medicine/kelotane/overdose_crit_process(mob/living/L, metabolism)
L.apply_damages(2*effect_str, 0, 2*effect_str)
lungs.take_damage(0.7)

Check failure on line 268 in code/modules/reagents/reagents/medical.dm

View workflow job for this annotation

GitHub Actions / Run Linters

undefined var: "lungs"

Check warning on line 268 in code/modules/reagents/reagents/medical.dm

View workflow job for this annotation

GitHub Actions / Run Linters

proc call requires static type: "take_damage"

/datum/reagent/medicine/dermaline
name = "Dermaline"
Expand All @@ -285,6 +292,7 @@

/datum/reagent/medicine/dermaline/overdose_crit_process(mob/living/L, metabolism)
L.apply_damages(3*effect_str, 0, 3*effect_str)
lungs.take_damage(0.35)

Check failure on line 295 in code/modules/reagents/reagents/medical.dm

View workflow job for this annotation

GitHub Actions / Run Linters

undefined var: "lungs"

Check warning on line 295 in code/modules/reagents/reagents/medical.dm

View workflow job for this annotation

GitHub Actions / Run Linters

proc call requires static type: "take_damage"

/datum/reagent/medicine/saline_glucose
name = "Saline-Glucose"
Expand Down Expand Up @@ -800,6 +808,8 @@
purge_list = list(
/datum/reagent/medicine/ryetalyn,
/datum/reagent/medicine/paracetamol,
/datum/reagent/medicalnanites,
/datum/reagent/medicine/ifosfamide,
Tatarla marked this conversation as resolved.
Show resolved Hide resolved
)
purge_rate = 2.5
overdose_threshold = REAGENTS_OVERDOSE
Expand All @@ -817,10 +827,11 @@


/datum/reagent/medicine/bicaridine/overdose_process(mob/living/L, metabolism)
L.apply_damage(effect_str, BURN)
L.apply_damage(effect_str, TOX)

/datum/reagent/medicine/bicaridine/overdose_crit_process(mob/living/L, metabolism)
L.apply_damages(effect_str, 3*effect_str, 2*effect_str)
liver.take_damage(0.7)

Check failure on line 834 in code/modules/reagents/reagents/medical.dm

View workflow job for this annotation

GitHub Actions / Run Linters

undefined var: "liver"

Check warning on line 834 in code/modules/reagents/reagents/medical.dm

View workflow job for this annotation

GitHub Actions / Run Linters

proc call requires static type: "take_damage"

/datum/reagent/medicine/meralyne
name = "Meralyne"
Expand All @@ -845,6 +856,7 @@

/datum/reagent/medicine/meralyne/overdose_crit_process(mob/living/L, metabolism)
L.apply_damages(2*effect_str, 6*effect_str, 4*effect_str)
lungs.take_damage(0.35)

Check failure on line 859 in code/modules/reagents/reagents/medical.dm

View workflow job for this annotation

GitHub Actions / Run Linters

undefined var: "lungs"

Check warning on line 859 in code/modules/reagents/reagents/medical.dm

View workflow job for this annotation

GitHub Actions / Run Linters

proc call requires static type: "take_damage"

/datum/reagent/medicine/quickclot
name = "Quick Clot"
Expand All @@ -871,6 +883,8 @@

/datum/reagent/medicine/quickclot/overdose_crit_process(mob/living/L, metabolism)
L.apply_damages(0, 2*effect_str, 2*effect_str)
eyes.take_damage(0.2)

Check failure on line 886 in code/modules/reagents/reagents/medical.dm

View workflow job for this annotation

GitHub Actions / Run Linters

undefined var: "eyes"

Check warning on line 886 in code/modules/reagents/reagents/medical.dm

View workflow job for this annotation

GitHub Actions / Run Linters

proc call requires static type: "take_damage"
brain.take_damage(0.2)

Check failure on line 887 in code/modules/reagents/reagents/medical.dm

View workflow job for this annotation

GitHub Actions / Run Linters

undefined var: "brain"

Check warning on line 887 in code/modules/reagents/reagents/medical.dm

View workflow job for this annotation

GitHub Actions / Run Linters

proc call requires static type: "take_damage"


/datum/reagent/medicine/quickclotplus
Expand Down Expand Up @@ -1241,7 +1255,11 @@
overdose_threshold = REAGENTS_OVERDOSE * 0.5
overdose_crit_threshold = REAGENTS_OVERDOSE_CRITICAL * 0.5
custom_metabolism = REAGENTS_METABOLISM * 5
purge_list = list(/datum/reagent/medicine, /datum/reagent/toxin, /datum/reagent/zombium)
purge_list = list(
/datum/reagent/medicine,
/datum/reagent/toxin,
/datum/reagent/zombium,
)
purge_rate = 5
scannable = TRUE
taste_description = "punishment"
Expand Down Expand Up @@ -1408,6 +1426,7 @@
/datum/reagent/medicine/tricordrazine,
/datum/reagent/medicine/paracetamol,
/datum/reagent/medicine/oxycodone,
/datum/reagent/medicine/ifosfamide,
)

/datum/reagent/medicalnanites/on_mob_add(mob/living/L, metabolism)
Expand Down Expand Up @@ -1467,6 +1486,7 @@

/datum/reagent/medicalnanites/overdose_crit_process(mob/living/L, metabolism)
L.adjustCloneLoss(1) //YUM!
stomach.take_damage(0.7)

Check failure on line 1489 in code/modules/reagents/reagents/medical.dm

View workflow job for this annotation

GitHub Actions / Run Linters

undefined var: "stomach"

Check warning on line 1489 in code/modules/reagents/reagents/medical.dm

View workflow job for this annotation

GitHub Actions / Run Linters

proc call requires static type: "take_damage"

/datum/reagent/medicalnanites/on_mob_delete(mob/living/L, metabolism)
to_chat(L, span_userdanger("Your nanites have been fully purged! They no longer affect you."))
Expand Down
Loading