<xml xmlns="https://developers.google.com/blockly/xml">
  <variables>
    <variable id="@-5cudJO^aQxE%aVg1Q{">pressedInTime</variable>
    <variable id="N+I*kQNEaXi3))vsYxVV">idleScore</variable>
  </variables>
  <block type="controls_repeat_ext" id="uIo.WC%R?hOw7{ZfR8]e" x="-246" y="-1547">
    <value name="TIMES">
      <shadow type="math_number" id="Z^_rsG=^8AQU@=F#,a$t">
        <field name="NUM">3</field>
      </shadow>
    </value>
    <statement name="DO">
      <block type="variables_set" id="-ln~%bbZ^4mOlcnAd7)_">
        <field name="VAR" id="@-5cudJO^aQxE%aVg1Q{">pressedInTime</field>
        <value name="VALUE">
          <block type="logic_boolean" id="rEHM2Pf3n!JYIR`^TK{?">
            <field name="BOOL">FALSE</field>
          </block>
        </value>
        <next>
          <block type="begin_timer" id="#;c;t7Zh]{k,f4oe6uz[">
            <next>
              <block type="controls_whileUntil" id="#-h{;2%!)LI+6lJX`^uD">
                <field name="MODE">WHILE</field>
                <value name="BOOL">
                  <block type="logic_compare" id="4bbHP-6GD}I#b/Eu6g#)">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="get_timer" id="MFL2HB*7pJ*9rXL3#Z8W"></block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="P@VknZGiWs?T!OMIB,%b">
                        <field name="NUM">3</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO">
                  <block type="controls_if" id="gJ~yZ(|juk/{Ve}i1(mz">
                    <value name="IF0">
                      <block type="logic_compare" id="1pUPi9aJs_4OFFzwLFCC">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="light_sensor" id="IoC]Po]g,SE]{F;}CI8b"></block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="=bx=Obhqg!|4J6Ml~T|g">
                            <field name="NUM">25</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="/]04,L/ew;)gnde]U`z;">
                        <field name="VAR" id="@-5cudJO^aQxE%aVg1Q{">pressedInTime</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="z#Rjuc$[Ndz_Av39QGIz">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                        <next>
                          <block type="set_color" id="g4h#nn^3Cjv=cz)e(u*R">
                            <field name="color_option">'green'</field>
                            <next>
                              <block type="play_sound" id="b(oQRSHs{|Uf$Tf}=JU*">
                                <field name="option">'C:\Users\Okul\AppData\Local\Temp\data\sound_effects\mpravo.mp3'</field>
                                <next>
                                  <block type="wait" id="W52=}X12vOMqh51ai.@U">
                                    <field name="wait_s">0.15</field>
                                    <next>
                                      <block type="controls_flow_statements" id="wuA62{^`u3yn|zRn/M]t">
                                        <field name="FLOW">BREAK</field>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="W?LE`=Cy_+0Z%%tVWB-p">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="variables_get" id="h#LtS9$da/3ni!`0G_c?">
                        <field name="VAR" id="@-5cudJO^aQxE%aVg1Q{">pressedInTime</field>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="set_color" id="eN)*QiQ|lls|BKHhR-80">
                        <field name="color_option">'green'</field>
                        <next>
                          <block type="play_sound" id="+VTvQAD4?^O)k-}`V4C2">
                            <field name="option">'C:\Users\Okul\AppData\Local\Temp\data\sound_effects\empodio.mp3'</field>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="set_color" id="JEAMc3.mF2odtcyQS#gc">
                        <field name="color_option">'red'</field>
                        <next>
                          <block type="play_sound" id="{f)uPCv+!dzt.lSF@4W(">
                            <field name="option">'C:\Users\Okul\AppData\Local\Temp\data\sound_effects\empodio.mp3'</field>
                            <next>
                              <block type="wait" id="Q8?i0]=ctLGo=J6)i4o%">
                                <field name="wait_s">0.42</field>
                                <next>
                                  <block type="variables_set" id="V2d[BVQ%BLf4f%4IdP]i">
                                    <field name="VAR" id="N+I*kQNEaXi3))vsYxVV">idleScore</field>
                                    <value name="VALUE">
                                      <block type="math_arithmetic" id="+n#:lblvZn^%^chXaPWF">
                                        <field name="OP">ADD</field>
                                        <value name="A">
                                          <shadow type="math_number" id="NB}WF/.5cMkL[~BZ]B5+">
                                            <field name="NUM">0</field>
                                          </shadow>
                                          <block type="variables_get" id="i:I?oEU$6xzhI1Y`1)y;">
                                            <field name="VAR" id="N+I*kQNEaXi3))vsYxVV">idleScore</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <shadow type="math_number" id="=4#o6fj@Qsr+wVJ}aQGd">
                                            <field name="NUM">2</field>
                                          </shadow>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <next>
      <block type="controls_repeat_ext" id="N*p1i`0R3nqDbB|3K:81">
        <value name="TIMES">
          <shadow type="math_number" id="@cGO[45`+v!~z7N(+e63">
            <field name="NUM">10</field>
          </shadow>
          <block type="math_arithmetic" id="@^-?ZzV_LytbL.P}?fZR">
            <field name="OP">DIVIDE</field>
            <value name="A">
              <shadow type="math_number" id="fS)IP6Ios{T,[)]5GL5[">
                <field name="NUM">1</field>
              </shadow>
              <block type="variables_get" id=";B:yhtGhg@Z5y`!~,I?I">
                <field name="VAR" id="N+I*kQNEaXi3))vsYxVV">idleScore</field>
              </block>
            </value>
            <value name="B">
              <shadow type="math_number" id="zbHa2-m/--nO.$Y}n6ol">
                <field name="NUM">2</field>
              </shadow>
            </value>
          </block>
        </value>
        <statement name="DO">
          <block type="set_color" id="=Iko?N%JcnupCw{2:gce">
            <field name="color_option">'red'</field>
            <next>
              <block type="play_sound" id="z4ujnNh+{Fk^Ehw]dZ),">
                <field name="option">'C:\Users\Okul\AppData\Local\Temp\data\sound_effects\euxaristw.mp3'</field>
                <next>
                  <block type="wait" id="9eA-rY^c5#R3U(Sf/Tq;">
                    <field name="wait_s">0.35</field>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="wait" id="ick4lL-^40R.FOD-nGjy">
            <field name="wait_s">2</field>
            <next>
              <block type="variables_set" id="PpqU-i[dZ5)OA+[3IRS[">
                <field name="VAR" id="N+I*kQNEaXi3))vsYxVV">idleScore</field>
                <value name="VALUE">
                  <block type="math_number" id="9M}5,|p4#nu@z+Mck$iU">
                    <field name="NUM">0</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </next>
  </block>
  <project>
    <title>Idle off game</title>
    <description>activity 5</description>
  </project>
</xml>