Skip to content

Commit

Permalink
reduces some emote spam on properties
Browse files Browse the repository at this point in the history
  • Loading branch information
GrrrKitten committed Jul 8, 2024
1 parent 29d79b2 commit fe7a420
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
M.drowsyness = min(M.drowsyness + 0.5 * potency * delta_time, 15 * potency)
M.reagent_move_delay_modifier += potency
M.recalculate_move_delay = TRUE
if(prob(5 * delta_time))
if(prob(2 * delta_time))
M.emote(pick("yawn","gasp"))

/datum/chem_property/negative/hemolytic/process_critical(mob/living/M, potency = 1)
Expand Down
8 changes: 4 additions & 4 deletions code/modules/reagents/chemistry_properties/prop_neutral.dm
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
category = PROPERTY_TYPE_STIMULANT

/datum/chem_property/neutral/hallucinogenic/process(mob/living/M, potency = 1, delta_time)
if(prob(5 * delta_time))
if(prob(3 * delta_time))
M.emote(pick("twitch","drool","groan","giggle"))
if(potency > CREATE_MAX_TIER_1)
M.hallucination = min(M.hallucination + potency, potency * 10)
Expand All @@ -217,7 +217,7 @@

/datum/chem_property/neutral/relaxing/process(mob/living/M, potency = 1, delta_time)
M.reagent_move_delay_modifier += potency
if(prob(5 * delta_time))
if(prob(2 * delta_time))
M.emote("yawn")
M.recalculate_move_delay = TRUE

Expand Down Expand Up @@ -245,7 +245,7 @@
volatile = TRUE

/datum/chem_property/neutral/hyperthermic/process(mob/living/M, potency = 1, delta_time)
if(prob(5 * delta_time))
if(prob(2 * delta_time))
M.emote("gasp")
to_chat(M, SPAN_DANGER("<b>Your insides feel uncomfortably hot !</b>"))
M.bodytemperature = max(M.bodytemperature + POTENCY_MULTIPLIER_MEDIUM * potency,0)
Expand All @@ -269,7 +269,7 @@
category = PROPERTY_TYPE_METABOLITE

/datum/chem_property/neutral/hypothermic/process(mob/living/M, potency = 1, delta_time)
if(prob(5 * delta_time))
if(prob(3 * delta_time))
M.emote("shiver")
M.bodytemperature = max(M.bodytemperature - POTENCY_MULTIPLIER_MEDIUM * potency,0)
M.recalculate_move_delay = TRUE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@
if(!ishuman(M)) //Critical overdose causes total blackout and heart damage. Too much stimulant
return
M.apply_internal_damage(0.25 * delta_time, "heart")
if(prob(5 * delta_time))
if(prob(3 * delta_time))
M.emote(pick("twitch","blink_r","shiver"))

/datum/chem_property/positive/cardiostabilizing/reaction_mob(mob/M, method=TOUCH, volume, potency)
Expand Down

0 comments on commit fe7a420

Please sign in to comment.