From ffb61c66c7d8038f98c19f31c335a9cef641df07 Mon Sep 17 00:00:00 2001 From: DeltaFire <46569814+DeltaFire15@users.noreply.github.com> Date: Sat, 22 Jun 2024 06:01:45 +0200 Subject: [PATCH] should round also mood -2 and quip about another one --- nsv13/code/datums/mood_events/nsv_events.dm | 4 ++-- nsv13/code/modules/mob/living/carbon/human/nsv_species.dm | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nsv13/code/datums/mood_events/nsv_events.dm b/nsv13/code/datums/mood_events/nsv_events.dm index 7c4f5439d16..422aba97664 100644 --- a/nsv13/code/datums/mood_events/nsv_events.dm +++ b/nsv13/code/datums/mood_events/nsv_events.dm @@ -1,6 +1,6 @@ /datum/mood_event/moth_drink_blood description = "That hit the spot!\n" - mood_change = 10 + mood_change = 10 //Why is a moth drinking blood a mood buff the level of being a cultist?? And for *ten minutes*??? timeout = 10 MINUTES /datum/mood_event/tailpull @@ -55,4 +55,4 @@ /datum/mood_event/lizard_vibrations description = "I know my muscles are shaking to warm me up, but it still feels distracting..\n" - mood_change = -1 + mood_change = -2 diff --git a/nsv13/code/modules/mob/living/carbon/human/nsv_species.dm b/nsv13/code/modules/mob/living/carbon/human/nsv_species.dm index e9712d3b855..3214ec2cde5 100644 --- a/nsv13/code/modules/mob/living/carbon/human/nsv_species.dm +++ b/nsv13/code/modules/mob/living/carbon/human/nsv_species.dm @@ -28,12 +28,12 @@ if(temperature_differential < ECTOTHERM_THERMOGENESIS_CRIT_COLDNESS) if(human_holder.nutrition < ECTOTHERM_THERMOGENESIS_NUTRITION_USE * human_holder.metabolism_efficiency) return 0 - adjustment = CLAMP(temperature_differential / ECTOTHERM_RECOVERY_DIVISOR * human_holder.metabolism_efficiency, ECTOTHERM_MIN_RECOVERY * human_holder.metabolism_efficiency, ECTOTHERM_MAX_RECOVERY * human_holder.metabolism_efficiency) + adjustment = round(CLAMP(temperature_differential / ECTOTHERM_RECOVERY_DIVISOR * human_holder.metabolism_efficiency, ECTOTHERM_MIN_RECOVERY * human_holder.metabolism_efficiency, ECTOTHERM_MAX_RECOVERY * human_holder.metabolism_efficiency), 0.1) human_holder.adjust_nutrition(-ECTOTHERM_THERMOGENESIS_NUTRITION_USE * human_holder.metabolism_efficiency) else if(human_holder.nutrition < ECTOTHERM_MAJOR_THERMOGENESIS_NUTRITION_USE * human_holder.metabolism_efficiency) return 0 - adjustment = CLAMP(temperature_differential / ECTOTHERM_RECOVERY_DIVISOR * human_holder.metabolism_efficiency, ECTOTHERM_MIN_RECOVERY * human_holder.metabolism_efficiency, ECTOTHERM_MAX_RECOVERY * human_holder.metabolism_efficiency * ECTOTHERM_CRIT_COLD_MAX_RECOVERY_MOD) + adjustment = round(CLAMP(temperature_differential / ECTOTHERM_RECOVERY_DIVISOR * human_holder.metabolism_efficiency, ECTOTHERM_MIN_RECOVERY * human_holder.metabolism_efficiency, ECTOTHERM_MAX_RECOVERY * human_holder.metabolism_efficiency * ECTOTHERM_CRIT_COLD_MAX_RECOVERY_MOD), 0.1) human_holder.adjust_nutrition(-ECTOTHERM_MAJOR_THERMOGENESIS_NUTRITION_USE * human_holder.metabolism_efficiency) human_holder.adjust_bodytemperature(adjustment) return adjustment