Skip to content

Commit

Permalink
Increase butcher times to be 6 times as long (#31794)
Browse files Browse the repository at this point in the history
* Increase butcher times to be 6 times as long

This is being made to revert butcher times to be what they used to be

fixes #31793 if the community wants the change
  • Loading branch information
Llama3013 authored and ZhilkinSerg committed Jun 24, 2019
1 parent a53a97d commit dd1dfac
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/activity_handlers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -516,26 +516,26 @@ int butcher_time_to_cut( const player &u, const item &corpse_item, const butcher
switch( corpse.size ) {
// Time (roughly) in turns to cut up the corpse
case MS_TINY:
time_to_cut = 25;
time_to_cut = 150;
break;
case MS_SMALL:
time_to_cut = 50;
time_to_cut = 300;
break;
case MS_MEDIUM:
time_to_cut = 75;
time_to_cut = 450;
break;
case MS_LARGE:
time_to_cut = 100;
time_to_cut = 600;
break;
case MS_HUGE:
time_to_cut = 300;
time_to_cut = 1800;
break;
}

// At factor 0, 10 time_to_cut is 10 turns. At factor 50, it's 5 turns, at 75 it's 2.5
time_to_cut *= std::max( 25, 100 - factor );
if( time_to_cut < 500 ) {
time_to_cut = 500;
if( time_to_cut < 3000 ) {
time_to_cut = 3000;
}

switch( action ) {
Expand All @@ -554,14 +554,14 @@ int butcher_time_to_cut( const player &u, const item &corpse_item, const butcher
break;
case QUARTER:
time_to_cut /= 4;
if( time_to_cut < 200 ) {
time_to_cut = 200;
if( time_to_cut < 1200 ) {
time_to_cut = 1200;
}
break;
case DISMEMBER:
time_to_cut /= 10;
if( time_to_cut < 100 ) {
time_to_cut = 100;
if( time_to_cut < 600 ) {
time_to_cut = 600;
}
break;
case DISSECT:
Expand Down

0 comments on commit dd1dfac

Please sign in to comment.