diff --git a/inc/state.php b/inc/state.php index d954392..bc717e1 100644 --- a/inc/state.php +++ b/inc/state.php @@ -106,12 +106,13 @@ function buddy_overall_mood( array $state ) { * admin page. * * Easter-egg: when Buddy is genuinely happy (mood >= 75) there's a - * ~30% chance per page-render of returning the "Cheeky" wink tone - * instead of the standard happy face. Gives the pet a touch of - * personality — refresh the page enough and you'll catch the wink. + * ~5% chance per page-render of returning the "Cheeky" wink tone + * instead of the standard happy face. Rare enough to feel magical + * rather than disturbing — refresh the page a few dozen times and + * you'll catch it. */ function buddy_mood_label( $mood_score ) { - if ( $mood_score >= 75 && mt_rand( 1, 100 ) <= 30 ) { + if ( $mood_score >= 75 && mt_rand( 1, 100 ) <= 5 ) { return array( 'label' => __( 'Cheeky 😉', 'buddy' ), 'tone' => 'wink' ); } if ( $mood_score >= 80 ) { return array( 'label' => __( 'Thriving', 'buddy' ), 'tone' => 'happy' ); }