a
    Ži=  ã                   @   s   d Z ddlZddlmZmZmZ ddd„Zddd	„Zdd
d„Zddd„Z	ddd„Z
d dd„Zd!dd„Zd"dd„Zd#dd„Zd$dd„Zg d¢ZdS )%a2  
Education Events - Quick Wins
Additional school and college events from EVENT_IDEAS_QUICK_WINS.md section 3

Events:
- popQuiz: Unexpected quiz when unprepared (questionEvent)
- raisedHandNotCalled: Knowing the answer but not getting called on (messageEvent)
- lostHomework: Can't find completed homework (questionEvent)
- presentationNerves: Giving a presentation in front of the class (questionEvent)
- teacherFavorite: Becoming the teacher's favorite (messageEvent)
- studyGroupInvite: Invited to join a study group (questionEvent)
- extracurricularBurnout: Overwhelmed by too many activities (questionEvent)
- cafeteriaFoodPoisoning: Getting sick from school lunch (messageEvent)
- substituteTeacher: Having a substitute teacher (messageEvent)
- collegeAllNighter: Pulling an all-nighter to study (questionEvent)
é    N)ÚmessageFunctionÚquestionFunctionÚanswerOptionÚmessageFc                 C   sb  d}|| j vo@d| jjv o@| jjdko@| jjdko@dt ¡ d k}d}tddd	td
ƒtdƒtdddg}|dkr‚t||| ||ƒS |dkr^|d |d jkr¼| j 	d¡ | j j
d7  _
n¢|d |d jkrü| j 	d¡ | j jd8  _| j j
d8  _
nb|d |d jkr.| j 	d¡ | j j
d8  _
n0|d |d jkr^| j 	d¡ | j j
d7  _
dS )zUnexpected quiz when unpreparedÚpopQuizÚschoolé
   é   é   éÈ   zLThe teacher announces a surprise pop quiz! You didn't study. What do you do?zTry your best©Ú
energyCostzGlance at neighbor's paperzFake being sickzStay calm and thinké   ©ÚdiamondCostÚanswerÚoptionr   zbYou focus hard and try your best. You might not ace it, but at least you gave it an honest effort!z•You sneak a peek at your neighbor's paper. The teacher catches your eye and you quickly look away. You feel guilty and anxious for the rest of class.é   zŠYou clutch your stomach and ask to go to the nurse. The teacher looks skeptical but lets you go. Now you have to make up the quiz later...é   z‘You take a deep breath and trust your instincts. You're surprised by how much you actually remember! Sometimes staying calm is the best strategy.N©ÚaskedQuestionsÚcÚlocationÚageYearsÚrandomr   r   r   ÚmessageQueueÚappendÚ	happinessÚsocial©ÚplayerÚtyper   ÚresponseÚfnameÚcheckÚanswerOptions© r&   ú</var/www/lichun.app/lichun/ws/events/education/quick_wins.pyr      s@    

ÿ
þ
ýü

ü
r   c                 C   sT   d}|| j vo@d| jjv o@| jjdko@| jjdko@dt ¡ d k}d}t||| |ƒS )z,Knowing the answer but not getting called onÚraisedHandNotCalledr   é   r	   r
   é,  zrYou know the answer! Your hand shoots up, but the teacher calls on someone else who gets it wrong. So frustrating.©Úeventsr   r   r   r   r   ©r    r!   r   r"   r#   r$   r&   r&   r'   r(   7   s    

ÿ
þ
ýür(   c                 C   s|  d}|| j voLd| jjv s&d| jjv oL| jjdkoL| jjdkoLdt ¡ d k}d}td	d
dtdƒtdƒtdƒg}|dkrŠt||| ||ƒS |dkrx|d |d jkrÄ| j 	d¡ | j j
d8  _
n´|d |d jkr| j 	d¡ | j jd7  _| j j
d7  _
nr|d |d jkrH| j 	d¡ | j jd8  _| j j
d7  _
n0|d |d jkrx| j 	d¡ | j j
d8  _
dS )zCan't find completed homeworkÚlostHomeworkr   Úhomer)   é   r
   éú   zFYou finished your homework but can't find it anywhere! What do you do?zRedo it quickly before classé   r   zExplain to the teacherzSay your dog ate itzTake the late grader   r   r   zƒYou frantically rush to redo your homework. It's exhausting and stressful, but you manage to turn in something before class starts.r   zYou approach the teacher and explain what happened. They seem understanding and give you until tomorrow to find it or redo it. What a relief!r   z£You tell the teacher your dog ate your homework. They raise an eyebrow and clearly don't believe you. 'That's the oldest excuse in the book,' they say with a sigh.r   r   zŠYou decide it's not worth the stress and just take the late grade. It stings a bit, but at least you don't have to panic about it anymore.Nr   r   r&   r&   r'   r.   C   sB    
ÿ
þ
ýü
ü
r.   c                 C   sj  d}|| j vo@d| jjv o@| jjdko@| jjdko@dt ¡ d k}d}tddd	td
dd	tdƒtddddg}|dkrˆt||| ||ƒS |dkrf|d |d jkrÒ| j 	d¡ | j j
d7  _
| j jd7  _n”|d |d jkr| j 	d¡ | j j
d8  _
nb|d |d jkr6| j 	d¡ | j jd7  _n0|d |d jkrf| j 	d¡ | j jd7  _dS )z+Giving a presentation in front of the classÚpresentationNervesr   r   r	   r
   r   zFIt's your turn to present to the class. How do you handle your nerves?zTake deep breaths and gor   zRush through it quicklyr   zPicture everyone in underwearzAsk to go lasté   r   )r   r   r   r   r   zžYou take some deep breaths, walk to the front, and deliver your presentation. Your voice shakes a little, but you make it through! You feel proud of yourself.z˜You speed through your presentation as fast as possible. The teacher asks you to slow down, but it's too late - you're already done. At least it's over!r   zYou try the old 'picture them in underwear' trick. It makes you giggle nervously, which weirdly helps you relax. Your presentation goes okay!zŸYou ask the teacher if you can go last. They agree, which gives you more time to prepare. By the time it's your turn, you're actually feeling pretty confident!N©r   r   r   r   r   r   r   r   r   r   r   r   r   r&   r&   r'   r3   e   s@    

ÿ
þ
ýü

ü
r3   c                 C   sT   d}|| j vo@d| jjv o@| jjdko@| jjdko@dt ¡ d k}d}t||| |ƒS )zBecoming the teacher's favoriteÚteacherFavoriter   r)   é   r
   r*   zrYour teacher keeps calling on you and praising your work. Some classmates whisper that you're the 'teacher's pet.'r+   r-   r&   r&   r'   r6   †   s    

ÿ
þ
ýür6   c                 C   s:  d}|| j vo@d| jjv o@| jjdko@| jjdko@dt ¡ d k}d}tdd	d
tdƒtddd
g}|dkr|t||| ||ƒS |dkr6|d |d jkrÆ| j 	d¡ | j j
d	7  _
| j jd7  _np|d |d jkrö| j 	d¡ | j j
d8  _
n@|d |d jkr6| j 	d¡ | j j
d7  _
| j jd	7  _dS )zInvited to join a study groupÚstudyGroupInviter   é   é   r
   r   z=Some classmates invite you to their study group. Do you join?zYes, study togetherr   r   zNo, prefer solo studyingzYes, but mostly socializer   r   r   r   z•You join the study group and actually get a lot of work done! It's nice to have people to bounce ideas off of. Plus, you made some new study buddies.z™You politely decline and explain that you study better alone. They seem a little disappointed, but they understand. You stick to your solo study routine.r   zŸYou show up to the study group, but honestly, you spend most of the time chatting and laughing with everyone. Not much studying gets done, but it's a fun time!r4   Nr5   r   r&   r&   r'   r8   ’   s:    

ÿ
þ
ýü

ý
r8   c                 C   s¬  d}|| j voD| jjdkoD| jjdkoDt| jjƒdkoDdt ¡ d k}d}tdƒtd	d
dtdddtdƒg}|dkr†t||| ||ƒS |dkr¨|d |d jkr| j	 
d¡ | j jd7  _| j jd8  _t| jjƒdkr¨| jj ¡ }| j	 
d|› d¡ n¤|d |d jkr6| j	 
d¡ | j jd8  _nr|d |d jkrx| j	 
d¡ | j jd7  _| j jd7  _n0|d |d jkr¨| j	 
d¡ | j jd7  _dS )z"Overwhelmed by too many activitiesÚextracurricularBurnouté   r	   r   r
   é–   zNYou're juggling school, activities, and friends. You're exhausted. What gives?zQuit an activityzPower through itr2   r   zTalk to parents about itr   r   zDrop the lowest priorityr   r   r   zYou decide to quit one of your activities. It's a tough decision, but you immediately feel lighter and less stressed. Sometimes less is more.r   z	You quit Ú.zYou tell yourself you can handle it and push through. The stress continues to pile up, and you're running on fumes. This isn't sustainable...zœYou sit down with your parents and explain how overwhelmed you feel. They help you reorganize your schedule and set better boundaries. You feel much better!r4   r   zYou identify your lowest priority activity and scale it back. It's a good compromise - you're still involved but not drowning in commitments.N)r   r   r   ÚlenÚ
activitiesr   r   r   r   r   r   r   r   ÚpopÚenergy)r    r!   r   r"   r#   r$   r%   Zremoved_activityr&   r&   r'   r;   °   sH    

ÿ
þýü

ü
r;   c                 C   sX   d}|| j vo@d| jjv o@| jjdko@| jjdko@dt ¡ d k}d}t||| |dd	S )
zGetting sick from school lunchÚcafeteriaFoodPoisoningr   r)   r	   r
   i  zjThat mystery meat from the cafeteria is not sitting well. You spend most of the afternoon in the bathroom.r4   r   r+   r-   r&   r&   r'   rC   Ö   s    

ÿ
þ
ýürC   c                 C   sT   d}|| j vo@d| jjv o@| jjdko@| jjdko@dt ¡ d k}d}t||| |ƒS )zHaving a substitute teacherÚsubstituteTeacherr   r)   r	   r
   r*   z[You have a substitute teacher today. The class is chaotic and you barely get any work done.r+   r-   r&   r&   r'   rD   â   s    

ÿ
þ
ýürD   c                 C   sx  d}|| j vo@| jjdko@| jjdko@| jjdko@dt ¡ d k}d}tdd	d
tdƒtddd
tdddg}|dkr†t||| ||ƒS |dkrt|d |d jkrÀ| j 	d¡ | j j
d8  _
n´|d |d jkr| j 	d¡ | j j
d7  _
| j jd7  _nr|d |d jkr4| j 	d¡ | j j
d7  _
n@|d |d jkrt| j 	d¡ | j jd7  _| j j
d7  _
dS )zPulling an all-nighter to studyÚcollegeAllNighterr	   r:   Úcolleger
   r=   zEYou have a huge exam tomorrow and you're behind. Pull an all-nighter?zYes, study all nighté   r   zNo, get sleep insteadzStudy until midnightr4   zGet help from study buddyr   r   r   r   r   zšYou chug coffee and energy drinks all night, cramming as much information as possible. By morning you're exhausted and jittery, but you know the material!z«You decide sleep is more important than cramming. You get a full night's rest and wake up refreshed. You might not know everything, but at least your brain is functioning!r   r   z’You study hard until midnight, then force yourself to get some sleep. It's a good balance - you reviewed the key concepts but still got some rest.r   z¡You call up a classmate who's also studying. You quiz each other and help fill in gaps in your knowledge. Studying with someone else makes it way more effective!N)r   r   r   Ú	educationr   r   r   r   r   r   r   rB   r   r   r&   r&   r'   rE   î   sB    

ÿ
þ
ýü


ü
rE   )
r   r(   r.   r3   r6   r8   r;   rC   rD   rE   )r   FF)r   FF)r   FF)r   FF)r   FF)r   FF)r   FF)r   FF)r   FF)r   FF)Ú__doc__r   Zevents.baser   r   r   r   r(   r.   r3   r6   r8   r;   rC   rD   rE   Ú__all__r&   r&   r&   r'   Ú<module>   s   
!

"
!


&


"