mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-15 09:03:53 +01:00
Makes Hell Ramen and Soemmerfire not kill people (#17577)
* makes spicy food not kill spicy characters * whoopsie * using preexisting capsaicin code instead of applying a band-aid fix * makes it into a proc! * ope, extra space there
This commit is contained in:
@@ -802,6 +802,10 @@
|
||||
M.adjustToxLoss(0.5 * removed)
|
||||
|
||||
/datum/reagent/capsaicin/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
..()
|
||||
handle_spicy(M, alien, removed)
|
||||
|
||||
/datum/reagent/proc/handle_spicy(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
if(alien == IS_DIONA)
|
||||
return
|
||||
if(alien == IS_ALRAUNE) // VOREStation Edit: It wouldn't affect plants that much.
|
||||
@@ -2502,9 +2506,7 @@
|
||||
|
||||
/datum/reagent/drink/hell_ramen/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
..()
|
||||
if(alien == IS_DIONA)
|
||||
return
|
||||
M.bodytemperature += 10 * TEMPERATURE_DAMAGE_COEFFICIENT
|
||||
handle_spicy(M, alien, removed)
|
||||
|
||||
/datum/reagent/drink/sweetsundaeramen
|
||||
name = REAGENT_DESSERTRAMEN
|
||||
@@ -4480,9 +4482,7 @@
|
||||
|
||||
/datum/reagent/ethanol/soemmerfire/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
..()
|
||||
if(alien == IS_DIONA)
|
||||
return
|
||||
M.bodytemperature += 10 * TEMPERATURE_DAMAGE_COEFFICIENT
|
||||
handle_spicy(M, alien, removed)
|
||||
|
||||
/datum/reagent/ethanol/winebrandy
|
||||
name = REAGENT_WINEBRANDY
|
||||
|
||||
Reference in New Issue
Block a user