Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed "skill rust" mentions in game to "skill rust delay" #46859

Merged
merged 1 commit into from
Jan 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/character.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4115,7 +4115,7 @@ int Character::rust_rate() const

// Stat window shows stat effects on based on current stat
int intel = get_int();
/** @EFFECT_INT reduces skill rust by 10% per level above 8 */
/** @EFFECT_INT increases skill rust delay by 10% per level above 8 */
int ret = ( ( rate_option == "vanilla" || rate_option == "capped" ) ?
100 : 100 + 10 * ( 8 - intel ) );

Expand Down
2 changes: 1 addition & 1 deletion src/mutation.h
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ struct mutation_branch {
// Multiplier for reading speed, defaulting to 1.
cata::optional<float> reading_speed_multiplier = cata::nullopt;

// Multiplier for skill rust, defaulting to 1.
// Multiplier for skill rust delay, defaulting to 1.
cata::optional<float> skill_rust_multiplier = cata::nullopt;

// Multiplier for consume time, defaulting to 1.
Expand Down
2 changes: 1 addition & 1 deletion src/newcharacter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ tab_direction set_stats( avatar &u, points_left &points )
( read_spd < 100 ? COL_STAT_BONUS : COL_STAT_PENALTY ) ),
_( "Read times: %d%%" ), read_spd );
// NOLINTNEXTLINE(cata-use-named-point-constants)
mvwprintz( w_description, point( 0, 1 ), COL_STAT_PENALTY, _( "Skill rust: %d%%" ),
mvwprintz( w_description, point( 0, 1 ), COL_STAT_PENALTY, _( "Skill rust delay: %d%%" ),
u.rust_rate() );
mvwprintz( w_description, point( 0, 2 ), COL_STAT_BONUS, _( "Crafting bonus: %2d%%" ),
u.get_int() );
Expand Down
2 changes: 1 addition & 1 deletion src/player_display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ static void draw_stats_info( const catacurses::window &w_info,
"electronics crafting. It also affects how much skill you can pick up from reading a book." ) );
if( you.rust_rate() ) {
print_colored_text( w_info, point( 1, 3 ), col_temp, c_light_gray,
string_format( _( "Skill rust: <color_white>%d%%</color>" ), you.rust_rate() ) );
string_format( _( "Skill rust delay: <color_white>%d%%</color>" ), you.rust_rate() ) );
}
print_colored_text( w_info, point( 1, 4 ), col_temp, c_light_gray,
string_format( _( "Read times: <color_white>%d%%</color>" ), you.read_speed( false ) ) );
Expand Down