/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/tools/clang-tidy-plugin/test/ |
H A D | static-string_id-constants.cpp | 33 const efftype_id effect_sleep( "sleep" ); variable
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/tools/clang-tidy-plugin/test/ |
H A D | static-string_id-constants.cpp | 33 const efftype_id effect_sleep( "sleep" ); variable
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | suffer.cpp | 99 static const efftype_id effect_sleep( "sleep" ); variable 374 if( one_turn_in( 6_hours ) && !has_effect( effect_sleep ) ) { in suffer_from_chemimbalance() 616 ( has_effect( effect_sleep ) ? 10 : 1 ) ) ) { in suffer_from_asthma() 666 if( has_effect( effect_sleep ) ) { in suffer_from_asthma() 895 if( has_effect( effect_sleep ) ) { in suffer_from_sunburn() 1297 if( one_turn_in( 15_seconds ) && !has_effect( effect_sleep ) ) { in suffer_from_stimulants() 1676 if( has_effect( effect_sleep ) ) { in mend()
|
H A D | player_hardcoded_effects.cpp | 94 static const efftype_id effect_sleep( "sleep" ); variable 392 if( !msg.empty() && !u.has_effect( effect_sleep ) && one_in( msg_chance ) ) { in apply() 468 if( !u.has_effect( effect_sleep ) && one_in( 2400 ) ) { in eff_fun_hot() 528 bool sleeping = has_effect( effect_sleep ); in hardcoded_effects() 1277 } else if( id == effect_sleep ) { in hardcoded_effects() 1485 const bool asleep = has_effect( effect_sleep ); in hardcoded_effects()
|
H A D | talker_npc.cpp | 48 static const efftype_id effect_sleep( "sleep" ); variable 149 if( me_npc->has_effect( effect_sleep ) || me_npc->has_effect( effect_lying_down ) ) { in get_topics()
|
H A D | weather.cpp | 51 static const efftype_id effect_sleep( "sleep" ); variable 438 if( !player_character.has_effect( effect_sleep ) && !player_character.is_deaf() ) { in weather_sound()
|
H A D | sounds.cpp | 76 static const efftype_id effect_sleep( "sleep" ); variable 453 if( p->has_effect( effect_sleep ) ) { in process_sound_markers() 501 if( !p->has_effect( effect_sleep ) && p->has_effect( effect_alarm_clock ) && in process_sound_markers()
|
H A D | avatar.cpp | 89 static const efftype_id effect_sleep( "sleep" ); variable 1003 if( has_effect( effect_sleep ) ) { in wake_up() 1004 if( calendar::turn - get_effect( effect_sleep ).get_start_time() > 2_hours ) { in wake_up()
|
H A D | npctalk_funcs.cpp | 89 static const efftype_id effect_sleep( "sleep" ); variable 436 p.remove_effect( effect_sleep ); in wake_up()
|
H A D | activity_actor.cpp | 80 static const efftype_id effect_sleep( "sleep" ); variable 1526 if( who.has_effect( effect_sleep ) ) { in do_turn() 1531 if( !who.has_effect( effect_sleep ) ) { in do_turn() 1549 if( !who.has_effect( effect_sleep ) ) { in finish()
|
H A D | character.cpp | 205 static const efftype_id effect_sleep( "sleep" ); variable 938 if( has_effect( effect_sleep ) && !has_effect( effect_narcosis ) ) { in react_to_felt_pain() 5868 effect &sleep = get_effect( effect_sleep ); in update_needs() 5990 const effect &sleep = get_effect( effect_sleep ); in calc_needs_rates() 6376 return has_effect( effect_sleep ) && get_kcal_percent() > 0.8f && in is_hibernating() 6440 const bool has_sleep = has_effect( effect_sleep ); in update_bodytemp() 7917 return has_effect( effect_sleep ) ? 1.0f : 0.0f; in rest_quality() 9070 if( has_effect( effect_sleep ) ) { in wake_up() 9072 get_effect( effect_sleep ).set_duration( 0_turns ); in wake_up() 10230 if( has_effect( effect_sleep ) ) { in on_hurt() [all …]
|
H A D | player.cpp | 91 static const efftype_id effect_sleep( "sleep" ); variable 341 !has_effect( effect_sleep ) && !has_effect( effect_narcosis ) ) { in process_turn()
|
H A D | creature.cpp | 74 static const efftype_id effect_sleep( "sleep" ); variable 1552 return has_effect( effect_sleep ) || has_effect( effect_lying_down ) || in in_sleep_state()
|
H A D | bionics.cpp | 113 static const efftype_id effect_sleep( "sleep" ); variable 2280 patient.add_effect( effect_sleep, duration ); in uninstall_bionic()
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/ |
H A D | suffer.cpp | 99 static const efftype_id effect_sleep( "sleep" ); variable 374 if( one_turn_in( 6_hours ) && !has_effect( effect_sleep ) ) { in suffer_from_chemimbalance() 616 ( has_effect( effect_sleep ) ? 10 : 1 ) ) ) { in suffer_from_asthma() 666 if( has_effect( effect_sleep ) ) { in suffer_from_asthma() 895 if( has_effect( effect_sleep ) ) { in suffer_from_sunburn() 1297 if( one_turn_in( 15_seconds ) && !has_effect( effect_sleep ) ) { in suffer_from_stimulants() 1676 if( has_effect( effect_sleep ) ) { in mend()
|
H A D | player_hardcoded_effects.cpp | 94 static const efftype_id effect_sleep( "sleep" ); variable 392 if( !msg.empty() && !u.has_effect( effect_sleep ) && one_in( msg_chance ) ) { in apply() 468 if( !u.has_effect( effect_sleep ) && one_in( 2400 ) ) { in eff_fun_hot() 528 bool sleeping = has_effect( effect_sleep ); in hardcoded_effects() 1277 } else if( id == effect_sleep ) { in hardcoded_effects() 1485 const bool asleep = has_effect( effect_sleep ); in hardcoded_effects()
|
H A D | talker_npc.cpp | 48 static const efftype_id effect_sleep( "sleep" ); variable 149 if( me_npc->has_effect( effect_sleep ) || me_npc->has_effect( effect_lying_down ) ) { in get_topics()
|
H A D | weather.cpp | 51 static const efftype_id effect_sleep( "sleep" ); variable 438 if( !player_character.has_effect( effect_sleep ) && !player_character.is_deaf() ) { in weather_sound()
|
H A D | sounds.cpp | 76 static const efftype_id effect_sleep( "sleep" ); variable 453 if( p->has_effect( effect_sleep ) ) { in process_sound_markers() 501 if( !p->has_effect( effect_sleep ) && p->has_effect( effect_alarm_clock ) && in process_sound_markers()
|
H A D | avatar.cpp | 89 static const efftype_id effect_sleep( "sleep" ); variable 1003 if( has_effect( effect_sleep ) ) { in wake_up() 1004 if( calendar::turn - get_effect( effect_sleep ).get_start_time() > 2_hours ) { in wake_up()
|
H A D | npctalk_funcs.cpp | 89 static const efftype_id effect_sleep( "sleep" ); variable 436 p.remove_effect( effect_sleep ); in wake_up()
|
H A D | activity_actor.cpp | 80 static const efftype_id effect_sleep( "sleep" ); variable 1526 if( who.has_effect( effect_sleep ) ) { in do_turn() 1531 if( !who.has_effect( effect_sleep ) ) { in do_turn() 1549 if( !who.has_effect( effect_sleep ) ) { in finish()
|
H A D | character.cpp | 205 static const efftype_id effect_sleep( "sleep" ); variable 938 if( has_effect( effect_sleep ) && !has_effect( effect_narcosis ) ) { in react_to_felt_pain() 5868 effect &sleep = get_effect( effect_sleep ); in update_needs() 5990 const effect &sleep = get_effect( effect_sleep ); in calc_needs_rates() 6376 return has_effect( effect_sleep ) && get_kcal_percent() > 0.8f && in is_hibernating() 6440 const bool has_sleep = has_effect( effect_sleep ); in update_bodytemp() 7917 return has_effect( effect_sleep ) ? 1.0f : 0.0f; in rest_quality() 9070 if( has_effect( effect_sleep ) ) { in wake_up() 9072 get_effect( effect_sleep ).set_duration( 0_turns ); in wake_up() 10230 if( has_effect( effect_sleep ) ) { in on_hurt() [all …]
|
H A D | player.cpp | 91 static const efftype_id effect_sleep( "sleep" ); variable 341 !has_effect( effect_sleep ) && !has_effect( effect_narcosis ) ) { in process_turn()
|
H A D | creature.cpp | 74 static const efftype_id effect_sleep( "sleep" ); variable 1552 return has_effect( effect_sleep ) || has_effect( effect_lying_down ) || in in_sleep_state()
|