From 29c5a560402b294443faa6ae90466ca256555989 Mon Sep 17 00:00:00 2001 From: satheon Date: Thu, 10 Dec 2020 13:15:53 +0100 Subject: [PATCH 1/2] more yield for quartered corpses (#45962) --- src/activity_handlers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activity_handlers.cpp b/src/activity_handlers.cpp index b28182a3f91a3..69303ce223c1b 100644 --- a/src/activity_handlers.cpp +++ b/src/activity_handlers.cpp @@ -785,7 +785,7 @@ static void butchery_drops_harvest( item *corpse_item, const mtype &mt, player & int monster_weight = to_gram( mt.weight ); monster_weight += std::round( monster_weight * rng_float( -0.1, 0.1 ) ); if( corpse_item->has_flag( flag_QUARTERED ) ) { - monster_weight /= 4; + monster_weight /= 1.05; } if( corpse_item->has_flag( flag_GIBBED ) ) { monster_weight = std::round( 0.85 * monster_weight ); From 26e9961ee5c74f32588dbd63fe5b8d74c907822e Mon Sep 17 00:00:00 2001 From: satheon49 <75445240+satheon49@users.noreply.github.com> Date: Thu, 10 Dec 2020 14:03:30 +0100 Subject: [PATCH 2/2] Update src/activity_handlers.cpp Co-authored-by: Oleg Antipin --- src/activity_handlers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activity_handlers.cpp b/src/activity_handlers.cpp index 69303ce223c1b..94d35fc8c3a22 100644 --- a/src/activity_handlers.cpp +++ b/src/activity_handlers.cpp @@ -785,7 +785,7 @@ static void butchery_drops_harvest( item *corpse_item, const mtype &mt, player & int monster_weight = to_gram( mt.weight ); monster_weight += std::round( monster_weight * rng_float( -0.1, 0.1 ) ); if( corpse_item->has_flag( flag_QUARTERED ) ) { - monster_weight /= 1.05; + monster_weight *= 0.95; } if( corpse_item->has_flag( flag_GIBBED ) ) { monster_weight = std::round( 0.85 * monster_weight );