Searched refs:effect_winded (Results 1 – 12 of 12) sorted by relevance
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/tests/ |
H A D | char_stamina_test.cpp | 11 static const efftype_id effect_winded( "winded" ); variable 42 dummy.remove_effect( effect_winded ); in catch_breath() 43 REQUIRE_FALSE( dummy.has_effect( effect_winded ) ); in catch_breath() 186 REQUIRE_FALSE( dummy.has_effect( effect_winded ) ); 224 REQUIRE_FALSE( dummy.has_effect( effect_winded ) ); 236 REQUIRE_FALSE( dummy.has_effect( effect_winded ) ); 248 REQUIRE( dummy.has_effect( effect_winded ) ); 379 dummy.add_effect( effect_winded, 10_turns ); 380 REQUIRE( dummy.has_effect( effect_winded ) );
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/tests/ |
H A D | char_stamina_test.cpp | 11 static const efftype_id effect_winded( "winded" ); variable 42 dummy.remove_effect( effect_winded ); in catch_breath() 43 REQUIRE_FALSE( dummy.has_effect( effect_winded ) ); in catch_breath() 186 REQUIRE_FALSE( dummy.has_effect( effect_winded ) ); 224 REQUIRE_FALSE( dummy.has_effect( effect_winded ) ); 236 REQUIRE_FALSE( dummy.has_effect( effect_winded ) ); 248 REQUIRE( dummy.has_effect( effect_winded ) ); 379 dummy.add_effect( effect_winded, 10_turns ); 380 REQUIRE( dummy.has_effect( effect_winded ) );
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | suffer.cpp | 105 static const efftype_id effect_winded( "winded" ); variable 1262 if( !has_effect( effect_winded ) && calendar::once_every( 10_minutes ) ) { in suffer_from_stimulants() 1264 add_effect( effect_winded, 10_minutes + 1_turns ); in suffer_from_stimulants() 1291 if( !has_effect( effect_winded ) && calendar::once_every( 10_minutes ) ) { in suffer_from_stimulants() 1293 add_effect( effect_winded, 10_minutes + 1_turns ); in suffer_from_stimulants()
|
H A D | player_hardcoded_effects.cpp | 107 static const efftype_id effect_winded( "winded" ); variable 1105 add_effect( effect_winded, rng( 30_seconds, 3_minutes ) ); in hardcoded_effects()
|
H A D | character.cpp | 214 static const efftype_id effect_winded( "winded" ); variable 1555 return get_stamina() > 0 && !has_effect( effect_winded ) && get_working_leg_count() >= 2; in can_run() 8604 add_effect( effect_winded, 10_turns ); in mod_stamina() 8659 … float stamina_multiplier = std::max<float>( 0.1f, ( !has_effect( effect_winded ) ? 1.0f : 0.1f ) + in update_stamina()
|
H A D | vehicle.cpp | 103 static const efftype_id effect_winded( "winded" ); variable 4645 player_character.has_effect( effect_winded ) ) { in consume_fuel()
|
H A D | game.cpp | 233 static const efftype_id effect_winded( "winded" ); variable 10652 u.add_effect( effect_winded, 10_turns ); in on_move_effects()
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/ |
H A D | suffer.cpp | 105 static const efftype_id effect_winded( "winded" ); variable 1262 if( !has_effect( effect_winded ) && calendar::once_every( 10_minutes ) ) { in suffer_from_stimulants() 1264 add_effect( effect_winded, 10_minutes + 1_turns ); in suffer_from_stimulants() 1291 if( !has_effect( effect_winded ) && calendar::once_every( 10_minutes ) ) { in suffer_from_stimulants() 1293 add_effect( effect_winded, 10_minutes + 1_turns ); in suffer_from_stimulants()
|
H A D | player_hardcoded_effects.cpp | 107 static const efftype_id effect_winded( "winded" ); variable 1105 add_effect( effect_winded, rng( 30_seconds, 3_minutes ) ); in hardcoded_effects()
|
H A D | character.cpp | 214 static const efftype_id effect_winded( "winded" ); variable 1555 return get_stamina() > 0 && !has_effect( effect_winded ) && get_working_leg_count() >= 2; in can_run() 8604 add_effect( effect_winded, 10_turns ); in mod_stamina() 8659 … float stamina_multiplier = std::max<float>( 0.1f, ( !has_effect( effect_winded ) ? 1.0f : 0.1f ) + in update_stamina()
|
H A D | vehicle.cpp | 103 static const efftype_id effect_winded( "winded" ); variable 4645 player_character.has_effect( effect_winded ) ) { in consume_fuel()
|
H A D | game.cpp | 233 static const efftype_id effect_winded( "winded" ); variable 10652 u.add_effect( effect_winded, 10_turns ); in on_move_effects()
|