@@ -3861,24 +3861,24 @@ void item::armor_protection_info( std::vector<iteminfo> &info, const iteminfo_qu
3861
3861
3862
3862
std::string coverage_table;
3863
3863
//~ Limb-specific coverage (%s = name of limb)
3864
- coverage_table += string_format( _( "<bold>Coverage</bold>, %s\n" ), layering );
3864
+ coverage_table += string_format( _( "<bold>Coverage</bold>; %s\n" ), layering );
3865
3865
//~ Regular/Default coverage
3866
- coverage_table += string_format( "%s, <color_c_yellow>%d</color>\n", _( "Default" ),
3866
+ coverage_table += string_format( "%s; <color_c_yellow>%d</color>\n", _( "Default" ),
3867
3867
get_coverage( sbp ) );
3868
3868
if( get_coverage( sbp ) != get_coverage( sbp, item::cover_type::COVER_MELEE ) ) {
3869
3869
//~ Melee coverage
3870
- coverage_table += string_format( "%s, <color_c_yellow>%d</color>\n", _( "Melee" ), get_coverage( sbp,
3870
+ coverage_table += string_format( "%s; <color_c_yellow>%d</color>\n", _( "Melee" ), get_coverage( sbp,
3871
3871
item::cover_type::COVER_MELEE ) );
3872
3872
}
3873
3873
if( get_coverage( sbp ) != get_coverage( sbp, item::cover_type::COVER_RANGED ) ) {
3874
3874
//~ Ranged coverage
3875
- coverage_table += string_format( "%s, <color_c_yellow>%d</color>\n", _( "Ranged" ),
3875
+ coverage_table += string_format( "%s; <color_c_yellow>%d</color>\n", _( "Ranged" ),
3876
3876
get_coverage( sbp,
3877
3877
item::cover_type::COVER_RANGED ) );
3878
3878
}
3879
3879
if( get_coverage( sbp, item::cover_type::COVER_VITALS ) > 0 ) {
3880
3880
//~ Vitals coverage
3881
- coverage_table += string_format( "%s, <color_c_yellow>%d</color>\n", _( "Vitals" ),
3881
+ coverage_table += string_format( "%s; <color_c_yellow>%d</color>\n", _( "Vitals" ),
3882
3882
get_coverage( sbp,
3883
3883
item::cover_type::COVER_VITALS ) );
3884
3884
}
@@ -3908,11 +3908,11 @@ void item::armor_protection_info( std::vector<iteminfo> &info, const iteminfo_qu
3908
3908
std::string protection_table;
3909
3909
if( display_median ) {
3910
3910
protection_table +=
3911
- string_format( "<bold>%s</bold>, <bad>%d%%</bad> chance, <color_c_yellow>Median</color> chance, <good>%d%%</good> chance\n",
3911
+ string_format( "<bold>%s</bold>; <bad>%d%%</bad> chance; <color_c_yellow>Median</color> chance; <good>%d%%</good> chance\n",
3912
3912
_( "Protection" ), percent_worst, percent_best );
3913
3913
} else if( percent_worst > 0 ) {
3914
3914
protection_table +=
3915
- string_format( "<bold>%s</bold>, <bad>%d%%</bad> chance, <good>%d%%</good> chance\n",
3915
+ string_format( "<bold>%s</bold>; <bad>%d%%</bad> chance; <good>%d%%</good> chance\n",
3916
3916
_( "Protection" ), percent_worst, percent_best );
3917
3917
} else {
3918
3918
protection_table += string_format( "<bold>%s</bold>\n", _( "Protection" ) );
@@ -3928,12 +3928,12 @@ void item::armor_protection_info( std::vector<iteminfo> &info, const iteminfo_qu
3928
3928
if( dio.info_display == damage_info_order::info_disp::DETAILED ) {
3929
3929
if( display_median ) {
3930
3930
protection_table +=
3931
- string_format( "%s, <bad>%.2f</bad>, <color_c_yellow>%.2f</color>, <good>%.2f</good>\n",
3931
+ string_format( "%s; <bad>%.2f</bad>; <color_c_yellow>%.2f</color>; <good>%.2f</good>\n",
3932
3932
uppercase_first_letter( dio.dmg_type->name.translated() ), worst_res.type_resist( dio.dmg_type ),
3933
3933
median_res.type_resist( dio.dmg_type ), best_res.type_resist( dio.dmg_type ) );
3934
3934
printed_any = true;
3935
3935
} else if( percent_worst > 0 ) {
3936
- protection_table += string_format( "%s, <bad>%.2f</bad>, <good>%.2f</good>\n",
3936
+ protection_table += string_format( "%s; <bad>%.2f</bad>; <good>%.2f</good>\n",
3937
3937
uppercase_first_letter( dio.dmg_type->name.translated() ), worst_res.type_resist( dio.dmg_type ),
3938
3938
best_res.type_resist( dio.dmg_type ) );
3939
3939
printed_any = true;
@@ -3942,14 +3942,14 @@ void item::armor_protection_info( std::vector<iteminfo> &info, const iteminfo_qu
3942
3942
}
3943
3943
}
3944
3944
if( skipped_detailed || dio.info_display == damage_info_order::info_disp::BASIC ) {
3945
- protection_table += string_format( "%s, <color_c_yellow>%.2f</color>\n",
3945
+ protection_table += string_format( "%s; <color_c_yellow>%.2f</color>\n",
3946
3946
uppercase_first_letter( dio.dmg_type->name.translated() ),
3947
3947
best_res.type_resist( dio.dmg_type ) );
3948
3948
printed_any = true;
3949
3949
}
3950
3950
}
3951
3951
if( get_base_env_resist( *this ) >= 1 ) {
3952
- protection_table += string_format( "%s, <color_c_yellow>%d</color>\n", _( "Environmental" ),
3952
+ protection_table += string_format( "%s; <color_c_yellow>%d</color>\n", _( "Environmental" ),
3953
3953
get_base_env_resist( *this ) );
3954
3954
printed_any = true;
3955
3955
}
0 commit comments