Skip to content

Commit

Permalink
Merge pull request #200 from W4rd3nn/smoker-less-annoying
Browse files Browse the repository at this point in the history
[NON-MODULAR] Makes nicotine addictions less annoying
  • Loading branch information
Paxilmaniac authored Oct 29, 2024
2 parents 359ee3b + f33a51d commit 44b1d4c
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions code/modules/reagents/withdrawal/generic_addictions.dm
Original file line number Diff line number Diff line change
Expand Up @@ -280,16 +280,20 @@

/datum/addiction/nicotine/withdrawal_enters_stage_1(mob/living/carbon/affected_carbon, seconds_per_tick)
. = ..()
affected_carbon.set_jitter_if_lower(10 SECONDS * seconds_per_tick)
//DOPPLER REMOVAL: affected_carbon.set_jitter_if_lower(10 SECONDS * seconds_per_tick)

/datum/addiction/nicotine/withdrawal_stage_2_process(mob/living/carbon/affected_carbon, seconds_per_tick)
. = ..()
affected_carbon.set_jitter_if_lower(20 SECONDS * seconds_per_tick)
if(SPT_PROB(2, seconds_per_tick))
affected_carbon.emote("cough")
//BEGIN DOPPLER REMOVAL
//affected_carbon.set_jitter_if_lower(20 SECONDS * seconds_per_tick)
//if(SPT_PROB(2, seconds_per_tick))
//affected_carbon.emote("cough")
//END DOPPLER REMOVAL

/datum/addiction/nicotine/withdrawal_stage_3_process(mob/living/carbon/affected_carbon, seconds_per_tick)
. = ..()
affected_carbon.set_jitter_if_lower(30 SECONDS * seconds_per_tick)
if(SPT_PROB(5, seconds_per_tick))
affected_carbon.emote("cough")
//BEGIN DOPPLER REMOVAL
//affected_carbon.set_jitter_if_lower(30 SECONDS * seconds_per_tick)
//if(SPT_PROB(5, seconds_per_tick))
//affected_carbon.emote("cough")
//END DOPPLER REMOVAL

0 comments on commit 44b1d4c

Please sign in to comment.