Skip to content

Commit

Permalink
Update activity_handlers.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Et-Tu-Brute1234 authored Feb 1, 2025
1 parent 0a9e421 commit 31a7c4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/activity_handlers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -625,8 +625,8 @@ static void set_up_butchery( player_activity &act, Character &you, butcher_type
corpse.in_species( species_HUMAN ) ||
corpse.in_species( species_FERAL );

// applies to all butchery actions except for dissections
if( is_human && action != butcher_type::DISSECT && !you.okay_with_eating_humans() ) {
// applies to all butchery actions except for dissections or dismemberment
if( is_human && action != butcher_type::DISSECT && !you.okay_with_eating_humans() && action != butcher_type::DISMEMBER) {
//first determine if the butcherer has the dissect_humans proficiency.
if( you.has_proficiency( proficiency_prof_dissect_humans ) ) {
//if it's player doing the butchery, ask them first.
Expand Down Expand Up @@ -1395,7 +1395,7 @@ static bool butchery_drops_harvest( item *corpse_item, const mtype &mt, Characte
// therefore operations on this activity's targets and values may be invalidated.
// reveal hidden items / hidden content
if( action != butcher_type::FIELD_DRESS && action != butcher_type::SKIN &&
action != butcher_type::BLEED ) {
action != butcher_type::BLEED && action != butcher_tyoe:: DISMEMBER) {
for( item *content : corpse_item->all_items_top( pocket_type::CONTAINER ) ) {
if( ( roll_butchery_dissect( round( you.get_average_skill_level( skill_survival ) ), you.dex_cur,
tool_quality ) + 10 ) * 5 > rng( 0, 100 ) ) {
Expand Down

0 comments on commit 31a7c4f

Please sign in to comment.