Skip to content

Commit

Permalink
Improve bionic removal chance from doctors (#56558)
Browse files Browse the repository at this point in the history
  • Loading branch information
haveric authored Apr 6, 2022
1 parent 1f4476f commit cdeabce
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/npctalk_funcs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -545,14 +545,11 @@ void talk_function::bionic_remove( npc &p )
return;
}

//Makes the doctor awesome at installing but not perfect
//Makes the doctor awesome at uninstalling but not perfect
if( player_character.can_uninstall_bionic( *bionics[bionic_index], p,
false ) ) {
player_character.amount_of(
bionic_types[bionic_index] ); // ??? this does nothing, it just queries the count
player_character.uninstall_bionic( *bionics[bionic_index], p, false );
false, 20 ) ) {
player_character.uninstall_bionic( *bionics[bionic_index], p, false, 20 );
}

}

void talk_function::give_equipment( npc &p )
Expand Down

0 comments on commit cdeabce

Please sign in to comment.