summaryrefslogtreecommitdiff
path: root/src-10_reduced-kcal-during-sleep.patch
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2025-01-18 21:46:00 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2025-01-18 21:46:00 -0800
commit7e224c97ae2728472180322f625dafa545f21f7f (patch)
tree61a296000b3a05d36cde4de0d8bd5e5179ee21ab /src-10_reduced-kcal-during-sleep.patch
parentAdd plastic scrap is stackable patch. (diff)
downloadcataclysm-bn-7e224c97ae2728472180322f625dafa545f21f7f.tar.xz
Convert the PKGBUILD to my own fork of cataclysm-bn.HEADmaster
Diffstat (limited to 'src-10_reduced-kcal-during-sleep.patch')
-rw-r--r--src-10_reduced-kcal-during-sleep.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/src-10_reduced-kcal-during-sleep.patch b/src-10_reduced-kcal-during-sleep.patch
deleted file mode 100644
index 20d83f2..0000000
--- a/src-10_reduced-kcal-during-sleep.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/src/character.cpp
-+++ b/src/character.cpp
-@@ -4806,6 +4806,10 @@
- // Multiplied by 2 to account for legacy (bugged to always apply)
- // bonus for sleeping over 2 hours
- rates.recovery = 2.0f * ( 1.0f + mutation_value( fatigue_regen_modifier ) );
-+ if( !is_hibernating() ) {
-+ rates.hunger *= 0.5f;
-+ rates.thirst *= 0.5f;
-+ }
- if( is_hibernating() ) {
- // Hunger and thirst advance *much* more slowly whilst we hibernate.
- // This will slow calories consumption enough to go through the 7 days of hibernation