Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alters do_after delay based on how sane you are (WIP) #24

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
3 changes: 3 additions & 0 deletions code/modules/mob/living/carbon/carbon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -970,11 +970,14 @@
. = ..()
var/datum/component/mood/mood = GetComponent(/datum/component/mood) //Currently, only carbons or higher use mood, move this once that changes.
if(mood)
. *= 2 - (mood.sanity / 100) //Alters do_after delay based on how sane you are, dripstation edit
/*
switch(mood.sanity) //Alters do_after delay based on how sane you are
if(-INFINITY to SANITY_DISTURBED)
. *= 1.25
if(SANITY_NEUTRAL to INFINITY)
. *= 0.90
*/

for(var/datum/status_effect/S as anything in status_effects)
. *= S.interact_speed_modifier()
Expand Down
Loading