Skip to content

Commit

Permalink
Adjust soil from digging to match construction needs
Browse files Browse the repository at this point in the history
  • Loading branch information
chaosvolt committed Sep 16, 2023
1 parent f118094 commit e1c18a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/iuse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2621,7 +2621,7 @@ static digging_moves_and_byproducts dig_pit_moves_and_byproducts( player *p, ite
// We also must tone down the yield of dirt to avoid potential problems,
// the old math was generating more than the tile volume limit.
//
// So to keep it simple, 50 liters for shallow pits, 100 for deep pit. We're basically
// So to keep it simple, 200 liters for shallow pits, 400 for deep pit. We're basically
// assuming that the first step is about one-third of the total work.

constexpr int deep_pit_time = 120;
Expand All @@ -2647,7 +2647,7 @@ static digging_moves_and_byproducts dig_pit_moves_and_byproducts( player *p, ite
result_terrain = deep ? ter_id( "t_pit" ) : ter_id( "t_pit_shallow" );
}

return { moves, static_cast<int>( dig_minutes / 60 ), "digging_soil_loam_50L", result_terrain };
return { moves, static_cast<int>( dig_minutes / 15 ), "digging_soil_loam_50L", result_terrain };
}

int iuse::dig( player *p, item *it, bool t, const tripoint & )
Expand Down

0 comments on commit e1c18a9

Please sign in to comment.