Skip to content

Commit

Permalink
more smoke checks
Browse files Browse the repository at this point in the history
Signed-off-by: tmtmtl30 <[email protected]>
  • Loading branch information
tmtmtl30 authored Sep 30, 2023
1 parent 32370f8 commit 85e69a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/modules/reagents/chemistry/reagents/food_reagents.dm
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
var/boiling = FALSE
if(holder && holder.chem_temp >= fry_temperature)
boiling = TRUE
if(method != VAPOR && (method != TOUCH || method != SMOKE)) //Directly coats the mob, and doesn't go into their bloodstream
if(method != VAPOR && method != TOUCH && method != SMOKE) //Directly coats the mob, and doesn't go into their bloodstream
return ..()
if(!boiling)
return TRUE
Expand Down Expand Up @@ -287,7 +287,7 @@
return

var/mob/living/carbon/victim = M
if((method == TOUCH || method == SMOKE) || method == VAPOR)
if(method == TOUCH || method == SMOKE || method == VAPOR)
var/pepper_proof = victim.is_pepper_proof()

//check for protection
Expand Down Expand Up @@ -561,7 +561,7 @@
..()

/datum/reagent/consumable/honey/expose_mob(mob/living/M, method=TOUCH, reac_volume)
if(iscarbon(M) && (method in list(TOUCH, VAPOR, PATCH)))
if(iscarbon(M) && (method in list(TOUCH, VAPOR, PATCH, SMOKE)))
var/mob/living/carbon/C = M
for(var/s in C.surgeries)
var/datum/surgery/S = s
Expand Down Expand Up @@ -821,7 +821,7 @@
ingested = TRUE
return
SEND_SIGNAL(M, COMSIG_ADD_MOOD_EVENT, "pyre_elementum", /datum/mood_event/irritate, name) // Applied if not eaten
if((method == TOUCH || method == SMOKE) || method == VAPOR)
if(method == TOUCH || method == SMOKE || method == VAPOR)
M.adjust_fire_stacks(reac_volume / 5)
return
..()
Expand Down

0 comments on commit 85e69a0

Please sign in to comment.