From d286dd9444dd199631ead84f84fb539ed3fb3e84 Mon Sep 17 00:00:00 2001
From: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>
Date: Sun, 7 Aug 2022 20:26:27 +0200
Subject: [PATCH] Fixes Capsaicin Being Too Spicy (#14557)
* Fixes Capsaicin Being Too Spicy
* Operator
---
.../Chemistry-Reagents-Food-Drinks.dm | 19 +++++++++----------
html/changelogs/capsaicin_fix.yml | 6 ++++++
2 files changed, 15 insertions(+), 10 deletions(-)
create mode 100644 html/changelogs/capsaicin_fix.yml
diff --git a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm
index 03cb2887c1e..e57b20ba223 100644
--- a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm
+++ b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm
@@ -726,15 +726,14 @@
taste_mult = 1.5
fallback_specific_heat = 2
condiment_name = "hotsauce"
- condiment_desc = "You can almost TASTE the stomach ulcers now!"
+ condiment_desc = "Hot sauce. It's in the name."
condiment_icon_state = "hotsauce"
- var/agony_dose = 5
+ var/agony_dose = 15 // Capsaicin required to proc agony. (3 to 5 chilis.)
var/agony_amount = 1
- var/discomfort_message = "Your insides feel uncomfortably hot!"
+ var/discomfort_message = "Your insides feel uncomfortably hot."
var/slime_temp_adj = 10
-
/decl/reagent/capsaicin/affect_blood(var/mob/living/carbon/M, var/alien, var/removed, var/datum/reagents/holder)
M.adjustToxLoss(0.5 * removed)
@@ -746,15 +745,15 @@
var/mob/living/carbon/human/H = M
if(!H.can_feel_pain())
return
- if(M.chem_doses[type] < agony_dose && prob(5))
+
+ if(M.chem_doses[type] >= agony_dose && prob(5))
to_chat(M, discomfort_message)
- else
+ M.visible_message("[M] [pick("dry heaves!", "coughs!", "splutters!")]")
M.apply_effect(agony_amount, PAIN, 0)
- if(prob(5))
- M.visible_message("[M] [pick("dry heaves!","coughs!","splutters!")]")
- to_chat(M, "You feel like your insides are burning!")
+
if(istype(M, /mob/living/carbon/slime))
M.bodytemperature += rand(0, 15) + slime_temp_adj
+
holder.remove_reagent(/decl/reagent/frostoil, 5)
#define EYES_PROTECTED 1
@@ -765,7 +764,7 @@
description = "A chemical agent used for self-defense and in police work."
taste_mult = 10
reagent_state = LIQUID
- touch_met = 50 // Get rid of it quickly
+ touch_met = 50 // Get rid of it quickly.
color = "#B31008"
agony_dose = 0.5
agony_amount = 4
diff --git a/html/changelogs/capsaicin_fix.yml b/html/changelogs/capsaicin_fix.yml
new file mode 100644
index 00000000000..e943e600986
--- /dev/null
+++ b/html/changelogs/capsaicin_fix.yml
@@ -0,0 +1,6 @@
+author: SleepyGemmy
+
+delete-after: True
+
+changes:
+ - bugfix: "Fixes capsaicin being too spicy."
\ No newline at end of file