a
    Ži0  ã                   @   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 )%a˜  
Adolescent Life Events
General adolescent experiences including school, personal growth, and social situations (ages 10-18)

Events:
- groupProjectDrama: Dealing with lazy group project partners
- voiceCracking: Voice changing during puberty (males)
- bodySelfConsciousness: Growing awareness of physical appearance
- curfewArgument: Negotiating curfew with parents
- growthSpurt: Sudden rapid growth
- embarrassingSituation: Random embarrassing teen moment
- sleepover: First overnight party with friends
- socialMediaPressure: Deciding whether to get social media
- fashionExperimentation: Trying a bold new style
- learningToDrive: First time behind the wheel
é    N)ÚmessageFunctionÚquestionFunctionÚanswerOptionÚmessageFc                 C   sT  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dtdƒg}|dkr„t||| ||ƒS |dkrP|d |d jkr¾| j 	d¡ | j j
d8  _
n’|d |d jkrî| j 	d¡ | j jd8  _nb|d |d jkr | j 	d¡ | j jd7  _n0|d |d jkrP| j 	d¡ | j j
d8  _
dS )z(Dealing with lazy group project partnersÚgroupProjectDramaé   é   Ústudenté   éô  z]Your group project is due tomorrow and your partners haven't done their part. What do you do?zDo all the work yourselfé   ©Ú
energyCostzTell the teacherz)Stay up all night helping everyone finishé   é   )r   ÚdiamondCostzTurn in what you haveÚanswerÚoptionr   z[You stayed up until 3am finishing everyone's work. You're exhausted but at least it's done.é
   zqYou told the teacher about the situation. Your grade was protected, but your group members aren't happy with you.é   zŽYou rallied the team and worked together all night. It was exhausting but everyone pulled through, and your group appreciates your leadership!é   zbYou turned in the incomplete project. The teacher wasn't impressed, and you all got a lower grade.N)ÚaskedQuestionsÚcÚageYearsÚ
occupationÚrandomr   r   r   ÚmessageQueueÚappendÚ	happinessÚsocial©ÚplayerÚtyper   ÚresponseÚfnameÚcheckÚanswerOptions© r'   ú?/var/www/lichun.app/lichun/ws/events/adolescence/life_events.pyr      s.    >
ü
r   c                 C   sd   d}|| j vo@| jjdko@| jjdko@| jjdko@dt ¡ d k}d}|rV| j  |¡ t||| |ƒS )z%Voice changing during puberty (males)ÚvoiceCrackingZMaler   é   r
   é   znYour voice cracks right in the middle of answering a question in class. Everyone giggles. Your face turns red.)Úeventsr   Úsexr   r   Úaddr   ©r!   r"   r$   r%   r   r'   r'   r(   r)   2   s    >r)   c                 C   sX   d}|| j vo4| jjdko4| jjdko4dt ¡ d k}d}|rJ| j  |¡ t||| |ƒS )z(Growing awareness of physical appearanceÚbodySelfConsciousnessé   r*   r
   iX  zvYou spend extra time looking in the mirror today. You're starting to notice things you never paid attention to before.©r,   r   r   r   r.   r   r/   r'   r'   r(   r0   <   s    2r0   c                 C   sV  d}|| j vo4| jjdko4| jjdko4dt ¡ d k}d}tdƒtdd	d
tdddtdƒg}|dkrvt||| ||ƒS |dkrR|d |d jkrÀ| j d¡ | j j	d8  _	| j j
d8  _
n’|d |d jkrà| j d¡ nr|d |d jkr| j d¡ | j j	d7  _	n@|d |d jkrR| j d¡ | j j
d	8  _
| j j	d	8  _	dS )zNegotiating curfew with parentsÚcurfewArgumentr*   é   r
   i¼  z`Your parents set a 10pm curfew, but your friends are staying out until midnight. What do you do?zFollow the ruleszSneak out after they're asleepr   r   zNegotiate for 11pmr   ©r   zDon't go out at allr   r   r   zmYou followed the rules and came home at 10pm. Your friends teased you a bit, but your parents appreciated it.z}You snuck out after your parents went to sleep. You had fun but barely got any sleep and you're worried about getting caught.r   zQYou calmly made your case and your parents agreed to 11pm. Compromise feels good!r   zWYou decided not to go out at all. Your friends were disappointed and you felt left out.N)r   r   r   r   r   r   r   r   r   r   r   r    r'   r'   r(   r3   F   s0    2

ü
r3   c                 C   sX   d}|| j vo4| jjdko4| jjdko4dt ¡ d k}d}|rJ| j  |¡ t||| |ƒS )zSudden rapid growthÚgrowthSpurtr   r   r
   éè  z]You grew 3 inches this year! None of your pants fit anymore and you keep bumping into things.r2   r/   r'   r'   r(   r6   c   s    2r6   c                 C   sf   d}|| j vo4| jjdko4| jjdko4dt ¡ d k}g d¢}t |¡}|rX| j  |¡ t||| |ƒS )zRandom embarrassing teen momentÚembarrassingSituationé   r4   r
   r   )zUYou walked around all day with food stuck in your teeth. Why didn't anyone tell you?!zOYou called your teacher 'Mom' by accident. The whole class erupted in laughter.zJYou tripped going up the stairs and everyone saw. You wanted to disappear.zRYour stomach growled loudly during a quiet test. It echoed through the whole room.)r,   r   r   r   Úchoicer.   r   )r!   r"   r$   r%   Zmessagesr   r'   r'   r(   r8   m   s    2
r8   c                 C   sV  d}|| j vo4| jjdko4| jjdko4dt ¡ d k}d}tdƒtdd	d
tdƒtdddg}|dkrvt||| ||ƒS |dkrR|d |d jkr°| j d¡ | j j	d7  _	n¢|d |d jkrà| j d¡ | j j	d	7  _	nr|d |d jkr"| j d¡ | j j	d	8  _	| j j
d8  _
n0|d |d jkrR| j d¡ | j j	d7  _	dS )z"First overnight party with friendsÚ	sleepoverr   r   r
   r7   zLYou're at a sleepover and everyone wants to play truth or dare. Do you play?zYes, and pick truthzYes, and pick darer   r   zPretend to fall asleepzSuggest a different gamer   r5   r   r   r   zkYou picked truth and had to share your biggest secret. It was scary but brought you closer to your friends!r   zlYou picked dare and had to prank call someone. Your heart was racing but everyone thought you were so brave!r   zZYou pretended to fall asleep. Your friends knew you were faking and thought you were lame.zUYou suggested watching a movie instead. Everyone agreed and you all had a great time!N©r   r   r   r   r   r   r   r   r   r   r   r    r'   r'   r(   r;   €   s0    2

ü
r;   c                 C   s6  d}|| j vo4| jjdko4| jjdko4dt ¡ d k}d}tdƒtdƒtd	ƒg}|d
krht||| ||ƒS |d
kr2|d |d jkrº| j d¡ | j j	d7  _	| j j
d7  _
d| j_nx|d |d jkrú| j d¡ | j j	d8  _	| j j
d7  _
n8|d |d jkr2| j d¡ | j j	d7  _	d| j_dS )z$Deciding whether to get social mediaÚsocialMediaPressurer1   r*   r
   r+   z>All your friends are on social media now. Do you want to join?zYes, make an accountzNo, you're not interestedzMake a private accountr   r   r   zcYou made a social media account! You're excited to connect with friends and share your life online.r   r   TzgYou decided social media isn't for you. Your friends don't get it, but you feel good about your choice.r   zWYou made a private account so you can stay connected but keep your privacy. Smart move!N)r   r   r   r   r   r   r   r   r   r   r   ZhasSocialMediar    r'   r'   r(   r=      s.    2ý

r=   c                 C   s>  d}|| j vo4| jjdko4| jjdko4dt ¡ d k}d}tdƒtdƒtd	ƒtd
ƒg}|dkrnt||| ||ƒ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7  _	nb|d |d jkr
| j d¡ | j j	d7  _	n0|d |d jkr:| j d¡ | j j
d8  _
dS )zTrying a bold new styleÚfashionExperimentationr9   r4   r
   i„  zIYou want to try a completely different fashion style. What do you go for?zEdgy and darkzPreppy and classiczAthletic and casualzStay the samer   r   r   zVYou went for an edgy, dark look. Some people stared but you feel confident and unique!r   z_You chose a preppy, classic style. You look put-together and people complimented your new look!r   zVYou embraced an athletic, casual style. It's comfortable and sporty - perfect for you!r   zlYou decided to stick with your current style. Better safe than sorry... but you wonder what could have been.Nr<   r    r'   r'   r(   r>   ¹   s.    2ü
r>   c                 C   sX   d}|| j vo4| jjdko4| jjdko4dt ¡ d k}d}|rJ| j  |¡ t||| |ƒS )zFirst time behind the wheelÚlearningToDriver   é   r
   i°  zqYour parent takes you to an empty parking lot to practice driving for the first time. You're nervous and excited!r2   r/   r'   r'   r(   r?   Õ   s    2r?   )
r   r)   r0   r3   r6   r8   r;   r=   r>   r?   )r   FF)r   )r   )r   FF)r   )r   )r   FF)r   FF)r   FF)r   )Ú__doc__r   Zevents.baser   r   r   r   r)   r0   r3   r6   r8   r;   r=   r>   r?   Ú__all__r'   r'   r'   r(   Ú<module>   s   













