Skip to content

Commit

Permalink
Merge pull request CleverRaven#49091 from natsirt721/remove-musclepow…
Browse files Browse the repository at this point in the history
…er-fatigue

Fix muscle-powered vehicles causing fatigue and thirst
  • Loading branch information
Rivet-the-Zombie authored Jun 2, 2021
2 parents cb88af7 + 848aa80 commit fc3689c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/vehicle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4679,10 +4679,7 @@ void vehicle::consume_fuel( int load, bool idling )
player_character.mod_power_level( units::from_kilojoule( -std::max( eff_load / 20, 1 ) ) );
mod -= std::max( eff_load / 5, 5 );
}
if( one_in( 1000 / load ) && one_in( 10 ) ) {
player_character.mod_thirst( 1 );
player_character.mod_fatigue( 1 );
}

player_character.mod_stamina( -( base_burn + mod ) );
add_msg_debug( "Load: %d", load );
add_msg_debug( "Mod: %d", mod );
Expand Down

0 comments on commit fc3689c

Please sign in to comment.