Home
last modified time | relevance | path

Searched refs:bash_resist (Results 1 – 25 of 26) sorted by relevance

12

/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/tools/json_tools/jq/
H A Darmor_stats.jq6 ( $mat | map ( { (.ident):.bash_resist } ) | add ) as $br
25 # calculate bash_resist hopefully matching item::bash_resist()
26 bash_resist:
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/tools/json_tools/jq/
H A Darmor_stats.jq6 ( $mat | map ( { (.ident):.bash_resist } ) | add ) as $br
25 # calculate bash_resist hopefully matching item::bash_resist()
26 bash_resist:
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dmaterial.h117 int bash_resist() const;
H A Dmaterial.cpp159 int material_type::bash_resist() const in bash_resist() function in material_type
H A Ddump.cpp116 r.push_back( std::to_string( obj.bash_resist() ) ); in dump_stats()
H A Darmor_layers.cpp314 string_format( "%.2f", worn_item.bash_resist() ), width ) ); in clothing_protection()
H A Diuse_actor.cpp4382 desc += colorize( string_format( "%s: %.2f->%.2f\n", _( "Bash" ), mod.bash_resist(), in use()
4383 …temp_item.bash_resist() ), get_compare_color( mod.bash_resist(), temp_item.bash_resist(), true ) ); in use()
H A Ditem.h1047 float bash_resist( bool to_self = false ) const;
H A Dgame_inventory.cpp293 return get_decimal_string( loc->bash_resist() ); in armor_inventory_preset()
H A Ditem.cpp2660 iteminfo::no_newline | iteminfo::is_decimal, bash_resist() ) ); in armor_protection_info()
6264 float item::bash_resist( bool to_self ) const in bash_resist() function in item
6282 resist += mat->bash_resist(); in bash_resist()
6616 return bash_resist( to_self ); in damage_resist()
H A Dhandle_action.cpp762 tmp_bash_armor += i.bash_resist(); in smash()
H A Dcharacter.cpp8462 ret += i.bash_resist(); in get_armor_bash_base()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dmaterial.h117 int bash_resist() const;
H A Dmaterial.cpp159 int material_type::bash_resist() const in bash_resist() function in material_type
H A Ddump.cpp116 r.push_back( std::to_string( obj.bash_resist() ) ); in dump_stats()
H A Darmor_layers.cpp314 string_format( "%.2f", worn_item.bash_resist() ), width ) ); in clothing_protection()
H A Diuse_actor.cpp4382 desc += colorize( string_format( "%s: %.2f->%.2f\n", _( "Bash" ), mod.bash_resist(), in use()
4383 …temp_item.bash_resist() ), get_compare_color( mod.bash_resist(), temp_item.bash_resist(), true ) ); in use()
H A Ditem.h1047 float bash_resist( bool to_self = false ) const;
H A Dgame_inventory.cpp293 return get_decimal_string( loc->bash_resist() ); in armor_inventory_preset()
H A Ditem.cpp2660 iteminfo::no_newline | iteminfo::is_decimal, bash_resist() ) ); in armor_protection_info()
6264 float item::bash_resist( bool to_self ) const in bash_resist() function in item
6282 resist += mat->bash_resist(); in bash_resist()
6616 return bash_resist( to_self ); in damage_resist()
H A Dhandle_action.cpp762 tmp_bash_armor += i.bash_resist(); in smash()
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/tests/
H A Diteminfo_test.cpp1054 REQUIRE( armor.bash_resist() == Approx( bash ) ); in expected_armor_values()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/tests/
H A Diteminfo_test.cpp1054 REQUIRE( armor.bash_resist() == Approx( bash ) ); in expected_armor_values()
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/doc/
H A DJSON_INFO.md816 | `bash_resist` | How well a material resists bashing damage.
851 "bash_resist": 1,
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/doc/
H A DJSON_INFO.md816 | `bash_resist` | How well a material resists bashing damage.
851 "bash_resist": 1,

12