:: korrPar_events[events]

<<set _motherLocation = $npcs.location('A29')>>
<<if _motherLocation.location == 'home'>>
    <<gs 'npc_mother' 'event' 'critical'>>
<</if>>

<<if !_eventHasContent>>
    <<set _momWantsToTalkWithYouWeight = 0>>
    <<if _motherLocation.location == 'home'>>
        <<set _momWantsToTalkWithYouWeight = $time.daystart - $npcs.get('A29','lastDayTalkedTo',0)>>
    <</if>>

    <<either 10>>

    <<or _momWantsToTalkWithYouWeight>>
        <<gs 'npc_mother' 'event' 'chat'>>
    <</either>>
<</if>>


<<if false>>
    <!--TODO-->


    <!-- !to add a counter if you avoid Dimka-->
    <<if $nodimkaK >= rand(7,10) and getvar("$DimkaWarnedToday") == 0 and getvar("$DimaRudeBlock") == 0>>
        <<set $nodimkaK = 0>>
        <<if $time.hour >= 14 and $time.hour < 24 and $time.weekday <= 5 and getvar("$DimkaWarnedToday") == 0>>
            <<gt 'dimaEv' 'Dimka_warning'>>

        <</if>>
        <<if $time.hour >= 9 and $time.hour < 24 and $time.weekday >= 6 and getvar("$DimkaWarnedToday") == 0>>
            <<gt 'dimaEv' 'Dimka_warning'>>

        <</if>>
    <</if>>

    <<set $korrParMomHeader = '<h2>'+$npc('A29').nickname+'</h2><center><img $set_imgh src="images/characters/pavlovsk/resident/mom/mother.jpg"></center><br />'>>
    <<if $time.hour >= 16 and $time.hour <= 20 and getvar("$locat['Fam_inGad']") == 0>>
        <<if getvar("$artemvbrosvid") == 1 and $artemhakday != $time.daystart and $npc('A29').QW < 2 and getvar("$mothervideotalk") == 0 or getvar("$BrotherNo") == 1 and $BrotherNoDay != $time.daystart>>
            <<set $menu_off = 1>>
            <<set $BJvideoPublic = 1>>
            <<set $BrotherNo = 0>>
            <<set $BrotherNoDay = $time.daystart>>
            <<set $pc.mood = 5>>
            <<run $npcs.dec('A29','rel',40)>>
            $korrParMomHeader
            <p>Your mother stands in the hallway waiting for you, clearly angry. As soon as she sees you, she grabs your ear and pinches it hard, making you wince in pain. "I just saw this video of you sucking some guy's dick! What the hell were you thinking!? Your stepfather and I worked so hard to raise you properly, and then you do this. Do you realize that this video was sent to others too? What will the people in town think of us now? I should teach you a lesson. What do you have to say for yourself!? Speak up!"</p>
            <<actCLA 'Beg her to do nothing'>>
                <<set $mothervideotalk = 2>>
                <<set $time.minutes += 5>>
                <p>You burst into tears. "<<=$npc('A29').nickname>>, please forgive me! It will never happen again! I made a stupid mistake, I'm sorry... I didn't mean to... Please... I don't... I'm sorry..." You fall to your knees sobbing uncontrollably, hoping she will have mercy on you. Your mother looks down at you, still angry but not quite sure what to do. She lets out an exasperated gasp, shakes her head and walks away.</p>
                <<actCLA 'Get back on your feet'>>
                    <<gt $curloc>>
                <</actCLA>>
            <</actCLA>>
            <<actCLA 'Be silent'>>
                <<set $mothervideotalk = 3>>
                <<set $time.minutes += 5>>
                <<set $spank += 1>>
                <<gs 'pain' 5 'asscheeks' 'spank'>>
                <h2><<<<=$npc(''A29'').nickname>>>></h2>
                <<image "characters/pavlovsk/resident/mom/spank.jpg">>
                You stand in the hallway staring at the floor, too embarrassed to say anything.
                <p>Your mother grabs you by the arm and pulls you into the living room. "Take off your pants and bend over!" You shake your head, not liking where this is going at all. Getting even angrier by your refusal, she shouts, "Vladimir, come and hold her down!"</p>
                A few seconds later, your stepfather enters the living room and immediately pulls you down and keeps you in place while your mother pulls away your clothing. She then grabs a belt and starts to flog your bare ass with it, not holding back at all.
                You take your punishment as good as you can, but towards the end you're in tears and your cries are heard throughout the apartment. When it's finally over, you raise your head just in time to catch the startled faces of your brother and sister in the doorway.
                <<actCLA 'Stand up and straighten your clothes'>>
                    <<gt $curloc>>
                <</actCLA>>
            <</actCLA>>
            <<if getvar("$momslut") >= 2>>
                <<actCLA 'Threaten her'>>
                    <<set $mothervideotalk = 1>>
                    <<run $npcs.dec('A29','rel',10)>>
                    <<set $time.minutes += 5>>
                    <p>You slap away her hand with a defiant look in your eyes. "Oh really? Well you're no angel yourself either, <<=$npc('A29').nickname>>! Does Vladimir know what YOU have been up to lately? Why don't we go ask him?"</p>
                    Your mother looks at you furiously, but is at a loss for words. After a few seconds of awkward silence she storms off, slamming the door shut behind her.
                    <<actCLA 'Continue'>>
                        <<gt $curloc>>
                    <</actCLA>>
                <</actCLA>>
            <</if>>
            $exit
        <</if>>
        <<if getvar("$artemvbrosvid") == 1 and $artemhakday != $time.daystart and $npc('A29').QW >= 2 and getvar("$mothervideotalk") == 0>>
            <<set $menu_off = 1>>
            <<set $BJvideoPublic = 1>>
            <<set $pc.mood = 5>>
            $korrParMomHeader
            <p>When you enter the hallway, you find your mother waiting for you. "What's all this I hear about a video of you sucking some guy's dick? How could you be so careless $pc.name_nick? You do realize this makes our whole family look bad?"</p>
            <<actCLA 'Apologize'>>
                <<set $mothervideotalk = 1>>
                <<set $time.minutes += 5>>
                <<run $npcs.dec('A29','rel',40)>>
                <p>"I don't know what to say <<=$npc('A29').nickname>>... I'm really sorry."</p>
                Your mother is clearly very upset with you. After a short discussion, she walks away.
                <<actCLA 'Continue'>>
                    <<gt $curloc>>
                <</actCLA>>
            <</actCLA>>
            $exit
        <</if>>
        <<if getvar("$schoolprogul") > 2 and $pc.isSchoolStudent and getvar("$schoolPredupr") < 3>>
            $korrParMomHeader
            <<if $npc('A113').QW == 10000>>
                <<set $menu_off = 1>>
                <<set $npc('A113').QW = 10001>>
                <<set $schoolprogul = 0>>
                <<set $GspravkaT = 2>>
                <<set $motherKnowSpravka = 1>>
                <p>"Oh my darling, where have you been? We've been so worried!"</p>
                <p>You go into the kitchen with <<npc 'A29' undefined 'your mother'>><</npc>> and spend some time explaining what happened to you. Many of the details are difficult to talk about, and you cry and hug <<npc 'A29' undefined 'your mother'>><</npc>> as you tell your story.</p>
                <p><<npc 'A29' undefined 'Your mother'>><</npc>> tells you she will sort out everything with the school and makes you a bowl of chicken soup.</p>
                <<if $pc.pcs_energy >= 30>>
                    You are too full to eat it.
                <<elseif $pc.pcs_energy >= 20 and $pc.pcs_energy < 30>>
                    <<if $pc.pcs_hydra < 20>>
                        <<set $pc.pcs_hydra += 20>>
                        <<set $cumspclnt = 2>>
                        <<gs 'cum_cleanup'>>
                        <<set $pc.pcs_breath = 0>>
                    <</if>>
                    <<set $pc.fat += 3>>
                    <<set $pc.pcs_energy += 10>>
                    You have some of the chicken soup, but can't finish it.
                <<elseif $pc.pcs_energy < 20>>
                    <<if $pc.pcs_hydra < 20>>
                        <<set $pc.pcs_hydra += 20>>
                        <<set $cumspclnt = 2>>
                        <<gs 'cum_cleanup'>>
                        <<set $pc.pcs_breath = 0>>
                    <</if>>
                    <<set $pc.pcs_energy += 20>>
                    You gladly eat it all.
                <</if>>
                <<act 'Leave'>>
                    <<gt 'kuhrPar'>>
                <</act>>
                $exit

            <</if>>
            <<actCLA 'Continue'>>
                <<gt $curloc>>
            <</actCLA>>
            $exit
        <</if>>
    <</if>>

    <<if $time.hour >= 15 and $time.hour < 20>>
        <<if getvar("$Gcall") == 0>>
            <<for $numnpcboy = 0;$numboyFrend > $numnpcboy>>
                <<set $numnpcboy += 1>>
                <<if getvar("$otnBoyFrend["+$numnpcboy+"]") >= 20 and $boyinday[$numnpcboy] != $time.daystart>>
                    <<set $Gcall = 1>>
                    You hear the <<link "phone">><<gt 'gtelefon'>><</link>> ringing in the hallway.
                <</if>>
            <</for>>
        <</if>>
    <<else>>
        <<if getvar("$Gcall") > 0>>
            <<set $Gcall = 0>>

        <</if>>
    <</if>>
    <<if getvar("$motherWorry") == 1 and getvar("$locat['Fam_inGad']") == 0 and $motherworry[1] != $time.daystart>>
        <<gt 'mother'>>
    <<elseif getvar("$motherWorry") == 1 and getvar("$locat['Fam_inGad']") > 0>>
        <<set $motherWorry = 0>>
    <</if>>
    <<if getvar("$notathomesleep") > 7 and $time.hour >= 16 and $time.hour < 21 and getvar("$locat['Mom_athome']") == 1>>
        <<set $notathomesleep = 0>>
        $korrParMomHeader
        <<if $npc('A29').rel < 40>>
            You run into your mother in the hallway. "Well well, look who decided to come home for once."
            <<act 'Continue'>>
                <<gt 'korrPar'>>
            <</act>>
        <</if>>
        <<if $npc('A29').rel >= 40>>
            <p>You run into your mother in the hallway. She looks happy to see you. "What a surprise! Welcome home, honey! I've missed you."</p>
            <<act 'Continue'>>
                <<gt 'korrPar'>>
            <</act>>
        <</if>>
    <</if>>

    <!-- !If she has given herself to boys in the stairwell, customers start hammering at the door:-->
    <<if $time.hour >= 10 and $time.hour <= 23 and $pc.fame('pav_slut') >= 250 and getvar("$podwhoreQW") >= 3>>
        <<set $pod_client = rand(0,100)>>
        <<if getvar("$pod_whore_countQW") <= 15 and getvar("$pod_client") <= 5>>
            Someone is at the door: <<link "Answer">><<gt 'pod_whore' 'client_talk'>><</link>>
        <<elseif getvar("$pod_whore_countQW") > 15 and getvar("$pod_client") <= 20>>
            Someone is at the door: <<link "Answer">><<gt 'pod_whore' 'client_talk'>><</link>>
        <</if>>
    <</if>>
    <!-- !!if rand(0,2) ! 0:gs 'din_bad' & dynamic $mobile_check-->
<</if>>
