[{"id":1,"text":"<s>nAuthor: AntiHero<s>n<s>nAbstract: brain-twister game where you will play a role of doctor in conditions of abnormal epidemic.","answers":[{"id":1,"text":"","bgImg":"http://c.radikal.ru/c12/1801/4e/3cf4ffb0f366.jpg","system":true},{"need_ever":true,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"var_need":["global version",403],"middle_answer":true,"url":"https://vk.com/club158953704","id":1,"text":"Author’s Blog"},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"text":"Achievements","id":9,"var_need":["global version",403],"middle_answer":true,"lua_do":"function lua_do() g.fullscreen = 0<s>nend"},{"middle_answer":true,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"var_need":["global version",403],"lua_do":"function lua_do() g.fullscreen = 0 glava_num = 1<s>ng1_sloz = 1 g2_sloz = 1 g3_sloz = 1 g4_sloz = 1<s>nend","text":"Select Chapter","id":8,"var_set":["global autorun",34]},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":true,"id":1,"text":"Update the app!","middle_answer":true,"var_no_more":["global version",402]},{"comment":true,"text_color":[1,1,1],"id":1,"text":"Author: AntiHero<s>ufeff<s>nVersion: w1.2","middle_answer":true,"left_answer":false},{"var_str_set":["global background","http://d.radikal.ru/d42/1801/9c/c94df8daee8d.jpg"],"super_calculate":false,"id":1,"calculate":true,"text":"New answer. enter the text"},{"contentList":["http://188.120.236.127/Epidemic/Haunted_Woods.mp3 http://188.120.236.127/Epidemic/button_buy.jpg http://188.120.236.127/Epidemic/full1.jpg http://188.120.236.127/Epidemic/full2.jpg http://188.120.236.127/Epidemic/cover.jpg http://188.120.236.127/Epidemic/Village/Village_Filth1.jpg http://188.120.236.127/Epidemic/Village/Village_Filth2.jpg http://188.120.236.127/Epidemic/Village/Village_Insects1.jpg http://188.120.236.127/Epidemic/Village/Village_Insects2.jpg http://188.120.236.127/Epidemic/Village/Village_Mushroom1.jpg http://188.120.236.127/Epidemic/Village/Village_Mushroom2.jpg http://188.120.236.127/Epidemic/Village/Village2.jpg http://188.120.236.127/Epidemic/Village/House1.jpg http://188.120.236.127/Epidemic/Village/House2.jpg http://188.120.236.127/Epidemic/Village/House3.jpg http://188.120.236.127/Epidemic/Village/House4.jpg http://188.120.236.127/Epidemic/Village/Main_House1.jpg http://188.120.236.127/Epidemic/Village/Main_House2.jpg http://188.120.236.127/Epidemic/Village/Village1.jpg http://188.120.236.127/Epidemic/Hospital/Hospital_2.jpg http://188.120.236.127/Epidemic/Hospital/Hospital_3.jpg http://188.120.236.127/Epidemic/Hospital/Hospital_1.jpg http://188.120.236.127/Epidemic/Forest/Forest_Filth_1.jpg http://188.120.236.127/Epidemic/Forest/Forest_Mushroom_1.jpg http://188.120.236.127/Epidemic/Forest/Forest_Mushroom_2.jpg http://188.120.236.127/Epidemic/Forest/Forest.jpg http://188.120.236.127/Epidemic/Forest/Forest_Car_1.png http://188.120.236.127/Epidemic/Forest/Forest_Car_2.jpg http://188.120.236.127/Epidemic/Forest/Forest_Filth_2.jpg http://188.120.236.127/Epidemic/Forest/Forest_Insect_1.jpg http://188.120.236.127/Epidemic/Forest/Forest_Insect_2.jpg http://188.120.236.127/Epidemic/Final/Finalscene0.jpg http://188.120.236.127/Epidemic/Final/Finalscene1.jpg http://188.120.236.127/Epidemic/Final/Finalscene2.jpg http://188.120.236.127/Epidemic/Final/Finalscene3.jpg http://188.120.236.127/Epidemic/Final/Finalscene4.jpg http://188.120.236.127/Epidemic/Final/Finalscene5.jpg http://188.120.236.127/Epidemic/Final/Finalscene6.jpg http://188.120.236.127/Epidemic/Final/Antidote1.jpg http://188.120.236.127/Epidemic/Final/Antidote2.jpg http://188.120.236.127/Epidemic/Dialogue/button0.jpg http://188.120.236.127/Epidemic/Dialogue/button1.jpg http://188.120.236.127/Epidemic/Dialogue/button2.jpg http://188.120.236.127/Epidemic/Dialogue/button3.jpg http://188.120.236.127/Epidemic/Dialogue/dialogue.jpg http://188.120.236.127/Epidemic/Characters/Masha1.png http://188.120.236.127/Epidemic/Characters/Nastya1.png http://188.120.236.127/Epidemic/Characters/TyihonInsect2.png http://188.120.236.127/Epidemic/Characters/TyihonMushroom1.png http://188.120.236.127/Epidemic/Characters/TyihonMushroom2.png http://188.120.236.127/Epidemic/Characters/PetrInsect2.png http://188.120.236.127/Epidemic/Characters/PetrMushroom1.png http://188.120.236.127/Epidemic/Characters/PetrMushroom2.png http://188.120.236.127/Epidemic/Characters/Tyihon1.png http://188.120.236.127/Epidemic/Characters/TyihonFilth1.png http://188.120.236.127/Epidemic/Characters/TyihonFilth2.png http://188.120.236.127/Epidemic/Characters/TyihonInsect1.png http://188.120.236.127/Epidemic/Characters/NastyaMushroom1.png http://188.120.236.127/Epidemic/Characters/NastyaMushroom2.png http://188.120.236.127/Epidemic/Characters/Petr1.png http://188.120.236.127/Epidemic/Characters/PetrFilth1.png http://188.120.236.127/Epidemic/Characters/PetrFilth2.png http://188.120.236.127/Epidemic/Characters/PetrInsect1.png http://188.120.236.127/Epidemic/Characters/MonsterInsect.png http://188.120.236.127/Epidemic/Characters/MonsterMushroom.png http://188.120.236.127/Epidemic/Characters/NastyaFilth1.png http://188.120.236.127/Epidemic/Characters/NastyaFilth2.png http://188.120.236.127/Epidemic/Characters/NastyaInsect1.png http://188.120.236.127/Epidemic/Characters/NastyaInsect2.png http://188.120.236.127/Epidemic/Characters/MashaFilth1.png http://188.120.236.127/Epidemic/Characters/MashaFilth2.png http://188.120.236.127/Epidemic/Characters/MashaInsect1.png http://188.120.236.127/Epidemic/Characters/MashaInsect2.png http://188.120.236.127/Epidemic/Characters/MashaMushroom1.png http://188.120.236.127/Epidemic/Characters/MashaMushroom2.png http://188.120.236.127/Epidemic/Characters/MonsterFilth.png http://188.120.236.127/Epidemic/Characters/KolyaFilth2.png http://188.120.236.127/Epidemic/Characters/KolyaInsect1.png http://188.120.236.127/Epidemic/Characters/KolyaInsect2.png http://188.120.236.127/Epidemic/Characters/KolyaMushroom1.png http://188.120.236.127/Epidemic/Characters/KolyaMushroom2.png http://188.120.236.127/Epidemic/Characters/Masha0.png http://188.120.236.127/Epidemic/Characters/KlavaFilth2.png http://188.120.236.127/Epidemic/Characters/KlavaInsect1.png http://188.120.236.127/Epidemic/Characters/KlavaInsect2.png http://188.120.236.127/Epidemic/Characters/KlavaMushroom1.png http://188.120.236.127/Epidemic/Characters/KlavaMushroom2.png http://188.120.236.127/Epidemic/Characters/Kolya1.png http://188.120.236.127/Epidemic/Characters/KolyaFilth1.png http://188.120.236.127/Epidemic/Characters/DaryaInsect1.png http://188.120.236.127/Epidemic/Characters/DaryaInsect2.png http://188.120.236.127/Epidemic/Characters/DaryaMushroom1.png http://188.120.236.127/Epidemic/Characters/DaryaMushroom2.png http://188.120.236.127/Epidemic/Characters/Klava0.png http://188.120.236.127/Epidemic/Characters/Klava1.png http://188.120.236.127/Epidemic/Characters/KlavaFilth1.png http://188.120.236.127/Epidemic/Characters/AlekseyFilth2.png http://188.120.236.127/Epidemic/Characters/AlekseyInsect1.png http://188.120.236.127/Epidemic/Characters/AlekseyInsect2.png http://188.120.236.127/Epidemic/Characters/AlekseyMushroom1.png http://188.120.236.127/Epidemic/Characters/AlekseyMushroom2.png http://188.120.236.127/Epidemic/Characters/Darya1.png http://188.120.236.127/Epidemic/Characters/DaryaFilth1.png http://188.120.236.127/Epidemic/Characters/DaryaFilth2.png http://188.120.236.127/Epidemic/Characters/Aleksey1.png http://188.120.236.127/Epidemic/Characters/AlekseyFilth1.png http://188.120.236.127/Epidemic/Cards/frame.png http://188.120.236.127/Epidemic/Cards/fon.jpg","Epidemic"],"super_calculate":false,"id":1,"calculate":true,"text":"Content list"},{"super_calculate":false,"id":1,"calculate":true,"text":"New answer. enter the text","var_set":["global blockSaves",1,"global blockNightMode",1]},{"id":34,"text":"Autoran dialog","need":1000},{"id":1,"text":"stretch","url":"http://188.120.236.127/Epidemic/full1.jpg"},{"super_calculate":false,"id":1,"text":"New answer. enter the text","calculate":true,"var_set":["global fullscreen_on_first_page",1]},{"var_str_set":["global bg_music","m1"],"initSounds":["m1","http://188.120.236.127/Epidemic/Haunted_Woods.mp3"],"super_calculate":false,"id":1,"text":"New answer. enter the text","calculate":true}]},{"id":2,"text":"<s>nField headquarters<s>n<s>nYou got a foothold in one of deserted huts of the village and based a small field lab here too.<s>n<s>nBlocker is a versatile preparation. It slows down the disease but doesn't cure it. Give it to village inhabitants to avoid deaths and don't forget to take it yourself.","answers":[{"lua_text":"function lua_text()<s>nreturn <s>"<s><s>n<s><s>nYour health condition: <s>"..bolezn2[lud[#lud].bol<plus>1]<s>nend","id":2,"text":"Health condition","lua_if":"function lua_if()<s>nreturn bolezn2[lud[#lud].bol<plus>1]<s>nend","merge":true},{"var_show":["day"],"comment":true,"id":2,"text":"Day","middle_answer":true},{"comment":true,"id":2,"var_need":["day",3],"text":"You need to manage to the 7th day until the forest will consume the village...","middle_answer":true},{"id":3,"text":"Examination of the village","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true},{"id":4,"text":"Lab","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true},{"comment":false,"id":2,"instant":true,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"text":"Blocker","lua_if":"function lua_if()<s>nreturn blok > 0 and lud[#lud].med == 0 end","lua_text":"function lua_text()<s>nreturn <s>"To take a blocker ( <s>"..blok..<s>" )<s>" <s>nend","lua_do":"function lua_do() lud[#lud].med = 1<s>nblok = blok - 1 end","middle_answer":true},{"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"lua_if":"function lua_if() return lud[#lud].med == 1 end","id":6,"text":"The blocker is taken","comment":true,"middle_answer":true},{"comment":true,"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"id":6,"text":"No more blockers","lua_if":"function lua_if() return lud[#lud].med == 0 and blok < 1 end","middle_answer":true},{"id":2,"text":"     ","comment":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true,"id":2,"text":"To go to bed","lua_do":"function lua_do()<s>nlocal sans_bol = ({50,70,90})[g1_sloz]<s>nanaliz_kol = 0<s>nif med[day] then<s>nblok =blok <plus> med[day] end<s>nfor i=1,3 do if analiz[i] > 0 then<s>nif lud[analiz[i]].bol > 0 then<s>nlekarstvo =math.min(lekarstvo<plus>lud[analiz[i]].bol*lud[analiz[i]].imun*5,100)<s>nlud[analiz[i]].an = 1<s>nend analiz[i] = 0 end end<s>n<s>nfor i=1,6 do<s>nif lud[dom_zilci[i]].med == 0 then<s>nlocal a = math.random(1, 100)<s>n     if lud[dom_zilci[i]].bol>0 then a=1 end<s>n   if a<sans_bol then<s>nlud[dom_zilci[i]].bol =lud[dom_zilci[i]].bol<plus>1<s>n   end<s>nend<s>nlud[dom_zilci[i]].med = 0 end<s>n<s>nif lud[#lud].med == 0 then<s>nlocal a = math.random(1,100)<s>nif lud[#lud].bol>0 then a=1 end<s>n   if a<sans_bol then<s>nlud[#lud].bol =lud[#lud].bol<plus>1<s>n   end<s>nend<s>nlud[#lud].med =0<s>n<s>nfor i=1,#dom do<s>nif lud[dom[i].z1].bol > 2 or lud[dom[i].z2].bol > 2 then<s>nlud[dom[i].z1].bol = 3<s>nlud[dom[i].z2].bol = 3<s>ndom[i].vkl = 1 end end<s>n<s>nif day == 7 then<s>ndialog({ fontSizeForHeader = 0.9, <s>n         header = <s>"The end of the way<s>",<s>n         text = <s>"You awoke with a strong gasp. The roots were everywhere. They twined your body... It seems you didn't manage. The forest consumed the village with its inhabitants...<s><s>n<s><s>nDon't lose your heart and try again!<s>",<s>n         answers = {{text = <s>"Continue<s>",<s>n         fontSize = 0.9}} })<s>ng.g1_o9 = 1<s>n         showPage({id = 1})<s>nelseif lud[#lud].bol >2 then<s>ndialog({ fontSizeForHeader = 0.9, <s>n         header = <s>"The end of the way<s>",<s>n         text = <s>"It was too late when you understood that you shouldn't neglect your own health... You fell from the bed and tried to stand up. But body wasn't obeying to you...<s><s>n<s><s>nDon't lose your heart and try again!<s>", <s>n         answers = {{text = <s>"Continue<s>",<s>n         fontSize = 0.9}} })<s>ng.g1_o8 = 1<s>ng.g1_o9 = 1<s>n         showPage({id = 1})<s>nelse<s>nif med[day] and med[day] > 0 then<s>ndialog({ fontSizeForHeader = 0.9, <s>n         header = <s>"Blockers<s>",<s>n         text = <s>"The car from regional hospital delivered some more blockers: <s>"..med[day], <s>n         answers = {{text = <s>"Continue<s>",<s>n         fontSize = 0.9}} })<s>n         showPage({id = 2})<s>nelse<s>ndialog({ fontSizeForHeader = 0.9, <s>n         header = <s>"Blockers<s>",<s>n         text = <s>"The forest surrounded the village closely. Nobody will be able to deliver the blockers anymore...<s>", <s>n         answers = {{text = <s>"Continue<s>",<s>n         fontSize = 0.9}} })<s>n         showPage({id = 2})<s>nend<s>nend<s>n<s>n<s>nday=day<plus>1<s>nreklam = 1<s>n<s>nend","no_transition":true},{"id":2,"text":"     ","comment":true},{"middle_answer":true,"id":2,"bgAnswerImage":["http://188.120.236.127/images/buttons/ad.png"],"var_equal":["reklam",1],"lua_do":"function lua_do() if isPremium() ~= true then<s>n<s>nshowAd(<s>"rewardedVideo<s>",<s>nfunction() blok = blok <plus> 1 reklam = 0<s>nshowPage({id = 2}) end,<s>nfunction()<s>nshowPage({id = 2}) end)<s>n<s>nelse<s>nblok = blok <plus> 1 reklam = 0<s>nshowPage({id = 2})<s>nend end","text":"Bonus<s>nblocker<s>n( each move )","need":[1000],"no_transition":true},{"middle_answer":true,"id":2,"bgAnswerImage":["http://188.120.236.127/images/buttons/ad.png"],"var_equal":["reklam0",1],"lua_do":"function lua_do() if isPremium() ~= true then<s>n<s>nshowAd(<s>"rewardedVideo<s>",<s>nfunction() blok = blok <plus> 3 reklam0 = 0<s>nshowPage({id = 2}) end,<s>nfunction()<s>nshowPage({id = 2}) end)<s>n<s>nelse<s>nblok = blok <plus> 3 reklam0 = 0<s>nshowPage({id = 2})<s>nend end","text":"Three bonus<s>nblockers<s>n( one time )","need":[1000],"no_transition":true},{"bgAnswerImage":["http://188.120.236.127/Epidemic/button_buy.jpg"],"lua_if":"function lua_if()<s>nreturn isPremium() ~= true and day > 1<s>nend","middle_answer":true,"id":2,"text":"Premium access","need":[1000],"dlc":"premium"},{"id":2,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Village/Main_House1.jpg"},{"super_calculate":false,"id":3,"text":"New answer. enter the text","calculate":true,"lua_do":"function lua_do()<s>nif lud[2].bol > 2 then g.g1_o7 = 1 end<s>nend"}]},{"id":3,"text":"<s>nVillage<s>n<s>n","answers":[{"id":3,"text":"Description","lua_text":"function lua_text() return derevny[day] end","merge":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":2,"instant":true,"text":"Back","middle_answer":true},{"lua_do":"function lua_do() v0=1 v1=dom[v0].z1 v2=v1<plus>1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":6,"middle_answer":true,"text":"The first house<s>n(Grandpa Thomas and Little Mary)","lua_if":"function lua_if() return dom[1].vkl == 0 end","lua_text":"function lua_text()<s>nreturn <s>"The first house<s><s>n( <s>"..dom[1].name..<s>" )<s>"<s>nend"},{"lua_if":"function lua_if() return dom[1].vkl == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true,"id":3,"text":"The first house<s>n(Empty)","lua_do":"function lua_do()<s>ndialog({ fontSizeForHeader = 0.9, <s>n         header = <s>"Mess<s>",<s>n         text = <s>"The house door was broken in, everything inside was turned upside down... Only the footprints had left from the owners and they led to the forest...<s>", <s>n         answers = {{text = <s>"Continue<s>",<s>n         fontSize = 0.9}} })end","no_transition":true},{"lua_do":"function lua_do() v0=2 v1=dom[v0].z1 v2=v1<plus>1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":6,"middle_answer":true,"text":"The second house<s>n(Alex and Grandma Grace)","lua_if":"function lua_if() return dom[2].vkl == 0 end","lua_text":"function lua_text()<s>nreturn <s>"The second house<s><s>n( <s>"..dom[2].name..<s>" )<s>"<s>nend"},{"lua_if":"function lua_if() return dom[2].vkl == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true,"id":3,"text":"The second house<s>n(Empty)","lua_do":"function lua_do()<s>ndialog({ fontSizeForHeader = 0.9, <s>n         header = <s>"Mess<s>",<s>n         text = <s>"The house door was broken in, everything inside was turned upside down... Only the footprints had left from the owners and they led to the forest...<s>", <s>n         answers = {{text = <s>"Continue<s>",<s>n         fontSize = 0.9}} })<s>n         end","no_transition":true},{"lua_do":"function lua_do() v0=3 v1=dom[v0].z1 v2=v1<plus>1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":6,"middle_answer":true,"text":"The third house<s>n(Peter and Amelia)","lua_if":"function lua_if() return dom[3].vkl == 0 end","lua_text":"function lua_text()<s>nreturn <s>"The third house<s><s>n( <s>"..dom[3].name..<s>" )<s>"<s>nend"},{"lua_if":"function lua_if() return dom[3].vkl == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true,"id":3,"text":"The third house<s>n(Empty)","lua_do":"function lua_do()<s>ndialog({ fontSizeForHeader = 0.9, <s>n         header = <s>"Mess<s>",<s>n         text = <s>"The house door was broken in, everything inside was turned upside down... Only the footprints had left from the owners and they led to the forest...<s>", <s>n         answers = {{text = <s>"Continue<s>",<s>n         fontSize = 0.9}} })<s>n         end","no_transition":true},{"super_calculate":false,"lua_do":"function lua_do()<s>nif lud[2].bol > 2 then g.g1_o7 = 1 end<s>nend","calculate":true,"text":"New answer. enter the text","id":3},{"id":3,"text":"stretch movie back","lua_if":"function lua_if() return day <=7 and g1_sloz == 3 end","url":"http://188.120.236.127/Epidemic/Village/Village_Insects2.jpg"},{"id":3,"text":"stretch movie back","lua_if":"function lua_if() return day <=5 and g1_sloz == 3 end","url":"http://188.120.236.127/Epidemic/Village/Village_Insects1.jpg"},{"id":3,"text":"stretch movie back","lua_if":"function lua_if() return day <=7 and g1_sloz == 2 end","url":"http://188.120.236.127/Epidemic/Village/Village_Mushroom2.jpg"},{"id":3,"text":"stretch movie back","lua_if":"function lua_if() return day <=5 and g1_sloz == 2 end","url":"http://188.120.236.127/Epidemic/Village/Village_Mushroom1.jpg"},{"id":3,"text":"stretch movie back","lua_if":"function lua_if() return day <=7 and g1_sloz == 1 end","url":"http://188.120.236.127/Epidemic/Village/Village_Filth2.jpg"},{"id":3,"text":"stretch movie back","lua_if":"function lua_if() return day <=5 and g1_sloz == 1 end","url":"http://188.120.236.127/Epidemic/Village/Village_Filth1.jpg"},{"id":3,"text":"stretch movie back","lua_if":"function lua_if() return day <=3 end","url":"http://188.120.236.127/Epidemic/Village/Village2.jpg"},{"id":3,"text":"stretch movie back","lua_if":"function lua_if() return day <=1 end","url":"http://188.120.236.127/Epidemic/Village/Village1.jpg"}]},{"id":4,"text":"<s>nLab<s>n<s>nWorking table with some lab devices. The conditions allow to carry out three blood tests a day. You can make the cure just after finding those who has antibodies against the disease.<s>n<s>nHow can you do it? You should remember some simple rules. The antibodies form only after contamination. So there is no sense to check those who doesn't have any symptoms. The higher contamination degree is, the more antibodies are in body. Of course, it's cruel to neglect the disease without giving people the blocker. But the stake consists of many lives. However, not any organism can fight against the disease. Just a little part of village inhabitants has enough strong immunity to form antibodies. Your first task is to find them out!<s>n<s>n","answers":[{"lua_text":"function lua_text()<s>nlocal text = <s>"Analyzers:<s>"<s>nfor i=1,3 do<s>nif analiz[i] == 0 then text=text..<s>"<s><s>n<s>"..i..<s>". ( Empty )<s>"<s>nelse text=text..<s>"<s><s>n<s>"..i..<s>". Antibodies detection is in process ( <s>"..lud[analiz[i]].name..<s>" )<s>" end end<s>nreturn text<s>nend","id":4,"text":"Analyzers","comment":true,"merge":true},{"lua_text":"function lua_text() <s>nlocal text =<s>"<s><s>n<s><s>nImmunity:<s>" <s>nfor i=1,6 do<s>nif lud[dom_zilci[i]].an > 0 then<s>ntext=text..<s>"<s><s>n<s>"..i..<s>". <s>"..lud[dom_zilci[i]].name..<s>": <s>"..({<s>"no immunity<s>", <s>"weak immunity<s>", <s>"normal immunity<s>", <s>"strong immunity<s>"})[lud[dom_zilci[i]].imun<plus>1] <s>nelse<s>ntext=text..<s>"<s><s>n<s>"..i..<s>". <s>"..lud[dom_zilci[i]].name..<s>": unknown<s>"<s>nend end<s>nreturn text<s>nend","id":4,"text":"New answer. enter the text","comment":true,"merge":true},{"var_show":["lekarstvo","%"],"comment":true,"id":4,"text":"The cure is created on","middle_answer":true},{"lua_if":"function lua_if() return lekarstvo < 100 end","instant":true,"middle_answer":true,"text":"Back","id":2,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"]},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true,"text":"Create the cure","lua_if":"function lua_if() return lekarstvo >= 100 end","id":7},{"id":4,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Village/Main_House2.jpg"}]},{"id":5,"text":"<s>nThe first chapter: Little Village<s>n<s>nYou were sent to the village to help local inhabitants to solve the problem of unknown disease.<s>n<s>nYou haven't much time. The inhabitants, their immunity and the first contaminated ones are set randomly in each new game! ","answers":[{"id":5,"text":"Choose the disease of this chapter:","comment":true,"middle_answer":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_do":"function lua_do() g1_sloz=1<s>n<s>nderevny={} bolezn={} bolezn2={} <s>nfor i=1,7 do<s>nderevny[i] = baza_derevny[g1_sloz][i] end<s>nfor i=1,3 do<s>nbolezn[i] = baza_bolezn[g1_sloz][i] end<s>nfor i=1,3 do<s>nbolezn2[i] = baza_bolezn2[g1_sloz][i] end<s>n<s>nend","text":"Black taint<s>n( Low contagiousness )","middle_answer":true,"id":2},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true,"text":"Mushroom plague<s>n( Medium contagiousness)","id":2,"lua_do":"function lua_do() g1_sloz=2<s>n<s>nderevny={} bolezn={} bolezn2={} <s>nfor i=1,7 do<s>nderevny[i] = baza_derevny[g1_sloz][i] end<s>nfor i=1,3 do<s>nbolezn[i] = baza_bolezn[g1_sloz][i] end<s>nfor i=1,3 do<s>nbolezn2[i] = baza_bolezn2[g1_sloz][i] end<s>n<s>nend"},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":2,"text":"Insect disease<s>n( High contagiousness )","lua_do":"function lua_do() g1_sloz=3<s>n<s>nderevny={} bolezn={} bolezn2={} <s>nfor i=1,7 do<s>nderevny[i] = baza_derevny[g1_sloz][i] end<s>nfor i=1,3 do<s>nbolezn[i] = baza_bolezn[g1_sloz][i] end<s>nfor i=1,3 do<s>nbolezn2[i] = baza_bolezn2[g1_sloz][i] end<s>n<s>nend","middle_answer":true},{"comment":true,"super_calculate":false,"id":5,"calculate":true,"text":"New answer. enter the text","lua_do":"function lua_do()<s>nglava_num = 1<s>nday = 1<s>nlekarstvo = 0<s>nmed = {math.random(5,7),math.random(4,5),math.random(3,4)}<s>nreklam = 1<s>nreklam0 =1<s>nmed = {7,6,4} blok = 5<s>n<s>nanaliz = {0,0,0}<s>nanaliz_kol = 0<s>n<s>ndom_baza={<s>n{text= <s>"Grandpa Thomas and his granddaughter live here. They didn't escape from the village just because they don't have any place to go. They haven't any relatives alive.<s>", z1=1,z2=2, vkl=0, name= <s>"Grandpa Thomas and Little Mary<s>"},<s>n{text=<s>"Local drunkard Alex and his aged mother Grandma Grace live here. Somewhen Alex lived in town but he gambled his flat away.<s>", z1=3,z2=4, vkl=0, name = <s>"Alex and Grandma Grace<s>"},<s>n{text=<s>"Young couple Peter and Amelia live here. They moved from town for some time and didn't manage to leave till the quarantine.<s>", z1=5,z2=6, vkl=0, name=<s>"Peter and Amelia<s>"},<s>n{text=<s>"Deborah and her little son Nick live here. Nick's father went to the city for work. He didn't even guess what a misfortune dropped on his native village.<s>", z1=7,z2=8, vkl=0, name=<s>"Nick and Deborah<s>"},<s>n}<s>n<s>nlocal tabl_dom1 = {1,2,3,4}<s>nlocal tabl_dom2 = {}<s>nfor i=1,#tabl_dom1 do<s>nlocal a = math.random(1,#tabl_dom1)<s>ntabl_dom2[i] = tabl_dom1[a]<s>ntable.remove(tabl_dom1, a) end<s>n<s>ndom={}<s>nfor i=1,3 do<s>ndom[i] = dom_baza[tabl_dom2[i]] end<s>n<s>ndom_zilci = {}<s>n<s>nfor i=1,5,2 do<s>ndom_zilci[i] = dom[math.ceil(i/2)].z1<s>ndom_zilci[i<plus>1] = dom[math.ceil(i/2)].z2<s>nend<s>n<s>nlud={<s>n-- number / name / blocker taken (0,1) / the stage of contamination (0,1,2,3) / antibodies (0,1,2,3) / was the analysis or not (0,1) / replies for each of 7 days<s>n<s>n{n=1,name=<s>"Grandpa Thomas<s>", med=0, bol=0, imun=0, an=0, rech={<s>"Be healthy, grandkid! So, you came to our village to cure us, eh?<s>",<s>"Hello, grandkid... How is your work going?<s>",<s>"I've read many books when I was younger. But I didn't hear about such a lurg... Both trees and humans...<s>",<s>"Even crows are silenced in the forest. What an affliction is this?<s>",<s>"Could our forest create such an evil...<s>",<s>"Hurry up, grandkid... I feel the forest won't keep us alive for long...<s>",<s>n<s>"It is already here... Already here...<s>"},}, <s>n<s>n{n=2,name=<s>"Little Mary<s>", med=0, bol=0, imun=0, an=0, rech={<s>"Wow, are you a doctor?<s>", <s>"Are all the doctors so serious?<s>", <s>"These things... Grandpa says I mustn't touch them...<s>", <s>"I heard some whisper last night... As if the forest called for me...<s>", <s>"I'm scared...<s>",<s>"Don't you hear them, doctor?<s>", <s>"They are calling... Calling for all of us...<s>"},}, <s>n<s>n{n=3,name=<s>"Alex<s>", med=0, bol=0, imun=0, an=0, rech={<s>"You'll cure us, eh?<s>", <s>"Hey you! Don't roam here on the mooch!<s>", <s>"So, did you find why the forest growned up in that way?<s>", <s>"Will there be any use of you?!<s>", <s>"Is it exactly that I mustn't touch it? It's everywhere here...<s>", <s>"But I got into the habit...<s>", <s>"Go your own way, doc, and don't touch our forest!<s>"},}, <s>n<s>n{n=4,name=<s>"Grandma Grace<s>", med=0, bol=0, imun=0, an=0, rech={<s>"Oh, sonnie, what did you forget in our sticks?<s>", <s>"Everybody just runs from our village, nobody arrives...<s>", <s>"It surely must be a curse on our village!<s>", <s>"Oh, all my garden is overgrowned with these roots...<s>", <s>"Nature was always strong at these places but not in such way... The forest is angry with us. What for?<s>", <s>"Probably, my time is coming. I hear some whisper at night...<s>", <s>"It won't be long now... Soon...<s>"},}, <s>n<s>n{n=5,name=<s>"Peter<s>", med=0, bol=0, imun=0, an=0, rech={<s>"Good afternoon, did you come to fight against the disease?<s>", <s>"I hope, you'll be lucky in searching for the cure.<s>", <s>"If you need something, just tell me...<s>", <s>"Things are really bad, aren't they?<s>", <s>"Giant roots twined our shutters at night...<s>", <s>"It seems to be too late to do something...<s>", <s>"Nothing can be done already... Nothing...<s>"},}, <s>n<s>n{n=6,name=<s>"Amelia<s>", med=0, bol=0, imun=0, an=0, rech={<s>"Hello, doctor!<s>", <s>"Keep us informed about the disease research, okay?<s>", <s>"I hope, the quarantine will be lifted soon...<s>", <s>"I slipped up of a big root today and twisted my ankle. There wasn't root there earlier!<s>", <s>"The forest is so scareful... I didn't imagine it like that...<s>", <s>"It already seems to me someone whispers!<s>", <s>"Who is this? Who is calling me?<s>"},}, <s>n<s>n{n=7,name=<s>"Nick<s>", med=0, bol=0, imun=0, an=0, rech={<s>"Wow, a real doctor!<s>", <s>"Will you cure everybody here?<s>", <s>"Don't think, I'm not scared at all...<s>", <s>"Everybody is so strange somehow...<s>", <s>"My father and I went to the forest a lot but didn't see such a thing...<s>", <s>"Does it seem to me the forest tries to tell something?<s>", <s>"They say... Forest... Need to go...<s>"},}, <s>n<s>n{n=8,name=<s>"Deborah<s>", med=0, bol=0, imun=0, an=0, rech={<s>"I hope, this is a mistake and the quarantine will be cancelled soon...<s>", <s>"Did you find something out? Is this disease dangerous?<s>", <s>"And I hoped so much that the quarantine would be lifted soon and I would go to my husband to the city...<s>", <s>"Don't tell how much bad it is while Nick is here...<s>", <s>"Will we get out of here in some time...<s>", <s>"What? Didn't you say anything? But then who did...<s>", <s>"They are everywhere... Everywhere...<s>"},}, <s>n<s>n{n,name, med=0, bol=0, imun, an}<s>n<s>n}<s>n<s>nlocal t ={} for i=1,6 do t[i] = i end<s>n<s>nfor i =1,3 do<s>nlocal vibil = math.random (1,#t)<s>nlocal a = dom_zilci[t[vibil]] <s>nlud[a].imun=i table.remove(t, vibil) end<s>n<s>nlocal t ={} for i=1,6 do t[i] = i end<s>nfor i =1,2 do<s>nlocal vibil = math.random (1,#t)<s>nlocal a = dom_zilci[t[vibil]] <s>nlud[a].bol=1 table.remove(t, vibil) end<s>n<s>nend"},{"super_calculate":false,"id":5,"calculate":true,"text":"Village","lua_do":"function lua_do()<s>n<s>n<s>nbaza_derevny= {<s>n<s>n{<s>"It is a world forgotten village in the forest. There are many deserted small houses here. You were sent here just to make locals stop annoying the regional centre with their complaints. Nobody believes in gravity of the disease here.<s>",<s>n<s>"It begins to seem to you that the forest around the village becames thicker. You began to notice darkened roots oozing with black slime. They grew from under the ground in different places. There weren't any of them here yesterday...<s>",<s>n<s>"Darkened roots and tree knurrs oozing black slime made alive wall around the village. The only road covered with something like asphault was still good. It seems the mysterious disease influences on plants too.<s>",<s>n<s>"The forest surrounded the village completely. There is no road any more. The black puddles of masut-like slime oozed by darkened trees can be seen everywhere on the ground... Well, you need to spend the blockers more economically and hurry up with the cure.<s>", <s>n<s>"Black slime was everywhere. It flowed even from houses' walls. Darkened tree crowns loomed large over the village.<s>",<s>n<s>"The slime began to shiver weakly as if it was alive. Black particles rose from the puddles from time to time and made light fog in the air. Unfortunately, lack of the equipment didn't allow you to investigate the event...<s>",<s>n<s>"Black miasmas were floating in the air. All the village was covered with grey fog. It seems the end is coming...<s>"<s>n}, <s>n<s>n{<s>"It is a world forgotten village in the forest. There are many deserted small houses here. You were sent here just to make locals stop annoying the regional centre with their complaints. Nobody believes in gravity of the disease here.<s>",<s>n<s>"It began to seem to you that the forest around the village became thicker. You began to notice thick roots covered with scatter of small red mushrooms. They grew from under the ground in different places. There weren't any of them here yesterday...<s>",<s>n<s>"The roots and tree knurrs made alive wall around the village. The only road covered with something like asphault was still good. It seems the mysterious disease influences on plants too.<s>",<s>n<s>"The forest surrounded the village completely. There is no road any more. The black puddles of masut-like slime oozed by darkened trees can be seen everywhere on the ground... Well, you need to spend the blockers more economically and hurry up with the cure.<s>", <s>n<s>"The mushrooms are everywhere. They grew even through the houses' walls. Tree crowns loomed large over the village.<s>",<s>n<s>"Dark-red mushrooms began to pulse weakly and emitted dim light. Unfortunately, lack of the equipment didn't allow you to investigate them. They are definitely related to the disease...<s>",<s>n<s>"The air around was lighting softly. All the village was covered with red fog of mushroom spores. It seems the end is coming...<s>"<s>n}, <s>n<s>n{<s>"It is a world forgotten village in the forest. There are many deserted small houses here. You were sent here just to make locals stop annoying the regional centre with their complaints. Nobody believes in gravity of the disease here.<s>",<s>n<s>"It begins to seem to you that the forest around the village becames thicker. You began to notice thick roots and many unusually big insects walked on them. They come from under the ground in different places. There weren't any of them here yesterday...<s>",<s>n<s>"The roots and tree knurrs sprangled with insects made alive wall around the village. The only road covered with something like asphault was still good. It seems the mysterious disease influences on plants too.<s>",<s>n<s>"The forest surrounded the village completely. There is no road any more. Huge insects swarmed on the ground and on the trees... Well, you need to spend the blockers more economically and hurry up with the cure.<s>", <s>n<s>"Huge insects are everywhere. They are going to crawl under clothes. You need to shake yourself down periodically. Tree crowns loomed large over the village.<s>",<s>n<s>"The insects in the village became bigger. However, now this horde began to buzz simultaneously from time to time and quiver with their wings to shake them down of flower dust shining weakly. Unfortunately, lack of the equipment didn't allow you to investigate the event...<s>",<s>n<s>"The air around was lighting softly of the insects flower dust. The insects themselves captivated all around and disturbed moving. It seems the end is coming...<s>"<s>n}, <s>n<s>n}<s>nend"},{"super_calculate":false,"lua_do":"function lua_do()<s>n<s>nbaza_bolezn ={<s>n<s>n{<s>"there is no changes, the patient is healthy.<s>", <s>"dimmed eyes, grey skin, black veins porrect strongly at the face and hands, black blood spots can be seen somewhere.<s>", <s>"the eyes almost dimouted, black slime oozes from everywhere and covers rather big surfaces on the patient's body, the patient is conscious but practically indifferent, aloof.<s>"}, <s>n<s>n{<s>"there is no changes, the patient is healthy.<s>", <s>"red eyes, shifty looking, nervousness, red veins porrect snrongly at the face and hands.<s>", <s>"mushroom spawn grows in random parts of patient's body and twines the limbs, the patient is conscious completely, but sometimes shivers strangely as if lost control.<s>"}, <s>n<s>n{<s>"there is no changes, the patient is healthy.<s>", <s>"yellow eyes, shifty looking, rapid convulsive moves, skin became unhealthy green tone and it peels heavily in some places, green scales replace the injures.<s>", <s>"in some areas of the patient's body the skin came off and bared green scale, chaotically shivering arms appeared somewhere and they look like arthropod's claws.<s>"}<s>n<s>n}<s>n<s>n<s>nbaza_bolezn2 ={<s>n<s>n{<s>"there is no changes, you are healthy.<s>", <s>"dimmed eyes, grey skin, black veins porrect strongly at the face and hands, black blood spots can be seen somewhere.<s>", <s>"the eyes almost dimouted, black slime oozes from everywhere and covers rather big surfaces on your body, you are conscious but feel apathetic heavily. You should take more blockers and hurry up with the cure search.<s>"}, <s>n<s>n{<s>"there is no changes, you are healthy.<s>", <s>"red eyes, shivering hands with red veins porrected, it's bad.<s>", <s>"mushroom spawn grows in random parts of your body and twines the limbs, though you are conscious completely sometimes you shiver strangely as if lost your body's control. You should take more blockers and hurry up with the cure search.<s>"}, <s>n<s>n{<s>"there is no changes, you are healthy.<s>", <s>"yellow eyes, shifty looking, rapid convulsive moves, skin became unhealthy green tone and it peels heavily in some places, green scales replace the injures.<s>", <s>"in some areas of the your body the skin came off and bared green scale, chaotically shivering arms appeared somewhere and they look like arthropod's claws. You should take more blockers and hurry up with the cure search.<s>"}<s>n<s>n} <s>n<s>nend","calculate":true,"text":"New answer. enter the text","id":5},{"id":3,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Village/Village1.jpg"}]},{"id":6,"text":"    <s>n","answers":[{"id":6,"text":"Number","lua_text":"function lua_text()<s>nreturn ({<s>"The first<s>", <s>"The second<s>", <s>"The third<s>"})[v0]..<s>" house<s><s>n<s><s>n<s>"<s>nend","merge":true},{"lua_text":"function lua_text()<s>nreturn dom[v0].text end","id":6,"text":"New answer. enter the text","comment":true,"merge":true},{"comment":true,"id":6,"text":"New answer. enter the text","lua_text":"function lua_text()<s>nreturn <s>"<s><s>n<s><s>n<s>"..lud[v1].name..<s>": <s><s><s>"<s>"..lud[v1].rech[day]..<s>"<s><s><s>" - <s>"..bolezn[lud[v1].bol<plus>1]..<s>"<s><s>n<s><s>n<s>"..lud[v2].name..<s>": <s><s><s>"<s>"..lud[v2].rech[day]..<s>"<s><s><s>" - <s>"..bolezn[lud[v2].bol<plus>1]<s>nend","merge":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true,"instant":true,"text":"Back","id":3},{"comment":true,"id":6,"text":"Name","middle_answer":true,"lua_text":"function lua_text() return lud[v1].name end"},{"comment":false,"id":6,"text":"Blocker","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_do":"function lua_do() lud[v1].med = 1<s>nblok = blok - 1 end","lua_if":"function lua_if()<s>nreturn blok > 0 and lud[v1].med == 0 end","middle_answer":true,"lua_text":"function lua_text()<s>nreturn <s>"Give a blocker ( <s>"..blok..<s>" )<s>" <s>nend","instant":true},{"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"lua_if":"function lua_if() return lud[v1].med == 1 end","id":6,"text":"Blocker is given","comment":true,"middle_answer":true},{"comment":true,"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"id":6,"text":"No more blockers","lua_if":"function lua_if() return lud[v1].med == 0 and blok < 1 end","middle_answer":true},{"lua_if":"function lua_if()<s>nlocal vkl = 0<s>nfor i = 1,3 do<s>nif analiz[i] == v1 then vkl = 1 break end end<s>nreturn analiz_kol < 3 and vkl == 0<s>nend","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":6,"lua_do":"function lua_do() analiz_kol = analiz_kol <plus> 1<s>nfor i = 1,3 do<s>nif analiz[i] == 0 then analiz[i] = v1 break end<s>nend end","text":"Take some blood for test","instant":true,"middle_answer":true},{"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"lua_if":"function lua_if()<s>nlocal vkl = 0 for i = 1,3 do<s>nif analiz[i] == v1 then vkl = 1 break end end<s>nreturn vkl == 1 end","id":6,"text":"The blood is taken","comment":true,"middle_answer":true},{"comment":true,"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"id":6,"text":"A day no more<s>nthan three blood samples","lua_if":"function lua_if() local vkl = 0 for i = 1,3 do<s>nif analiz[i] == v1 then vkl = 1 break end end<s>nreturn vkl == 0 and analiz_kol == 3 end","middle_answer":true},{"lua_text":"function lua_text() return lud[v2].name end","middle_answer":true,"text":"Name","id":6,"comment":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":6,"lua_if":"function lua_if()<s>nreturn blok > 0 and lud[v2].med == 0 end","text":"Blocker","lua_do":"function lua_do() lud[v2].med = 1<s>nblok = blok - 1 end","instant":true,"middle_answer":true,"lua_text":"function lua_text()<s>nreturn <s>"Give a blocker ( <s>"..blok..<s>" )<s>" <s>nend"},{"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"lua_if":"function lua_if() return lud[v2].med == 1 end","id":6,"text":"Blocker is given","comment":true,"middle_answer":true},{"comment":true,"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"id":6,"text":"No more blockers","lua_if":"function lua_if() return lud[v1].med == 0 and blok < 1 end","middle_answer":true},{"lua_if":"function lua_if()<s>nlocal vkl = 0<s>nfor i = 1,3 do<s>nif analiz[i] == v2 then vkl = 1 break end end<s>nreturn analiz_kol < 3 and vkl == 0<s>nend","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":6,"lua_do":"function lua_do() analiz_kol = analiz_kol <plus> 1<s>nfor i = 1,3 do<s>nif analiz[i] == 0 then analiz[i] = v2 break end<s>nend end","text":"Take some blood for test","instant":true,"middle_answer":true},{"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"lua_if":"function lua_if()<s>nlocal vkl = 0 for i = 1,3 do<s>nif analiz[i] == v2 then vkl = 1 break end end<s>nreturn vkl == 1 end","id":6,"text":"The blood is taken","comment":true,"middle_answer":true},{"comment":true,"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"id":6,"text":"A day no more<s>nthan three blood samples","lua_if":"function lua_if() local vkl = 0 for i = 1,3 do<s>nif analiz[i] == v2 then vkl = 1 break end end<s>nreturn vkl == 0 and analiz_kol == 3 end","middle_answer":true},{"comment":true,"id":6,"text":"To slow down the disease progression or to delay the contamination for a day use the blocker. However, blood test will be useful just if it is taken of patient contaminated.","middle_answer":true,"merge":false},{"id":6,"text":"stretch movie back","lua_if":"function lua_if() return v1 == 5 end","url":"http://188.120.236.127/Epidemic/Village/House1.jpg"},{"id":6,"text":"stretch movie back","lua_if":"function lua_if() return v1 == 7 end","url":"http://188.120.236.127/Epidemic/Village/House2.jpg"},{"id":6,"text":"stretch movie back","lua_if":"function lua_if() return v1 == 3 end","url":"http://188.120.236.127/Epidemic/Village/House3.jpg"},{"id":6,"text":"stretch movie back","lua_if":"function lua_if() return v1 == 1 end","url":"http://188.120.236.127/Epidemic/Village/House4.jpg"},{"comment":true,"super_calculate":true,"id":6,"text":"Heroes","calculate":false,"lua_do":"function lua_do()<s>n<s>nfor i=1,2 do<s>nlink = <s>"http://188.120.236.127/Epidemic/Characters/<s>"..({<s>"Tyihon<s>", <s>"Masha<s>", <s>"Aleksey<s>", <s>"Klava<s>", <s>"Petr<s>", <s>"Nastya<s>", <s>"Kolya<s>", <s>"Darya<s>"})[vars[<s>"v<s>"..i]]<s>n<s>nif lud[vars[<s>"v<s>"..i]].bol > 0 then<s>nlink=link..({<s>"Filth<s>", <s>"Mushroom<s>", <s>"Insect<s>"})[g1_sloz]..lud[vars[<s>"v<s>"..i]].bol..<s>".png<s>"<s>nelse<s>nlink = link..<s>"1.png<s>"<s>nend<s>n<s>nvars[<s>"Hero<s>"..i] = display.newImage(link)<s>nvars[<s>"Hero<s>"..i].yScale =0.95*canvas.height / vars[<s>"Hero<s>"..i].height<s>nif vars[<s>"v<s>"..i] == 2 or vars[<s>"v<s>"..i] == 7 then<s>nvars[<s>"Hero<s>"..i].yScale =0.85*canvas.height / vars[<s>"Hero<s>"..i].height<s>nend<s>nvars[<s>"Hero<s>"..i].xScale = vars[<s>"Hero<s>"..i].yScale<s>nif vars[<s>"v<s>"..i] == 3 then<s>nvars[<s>"Hero<s>"..i].xScale = -vars[<s>"Hero<s>"..i].xScale<s>nend<s>n<s>nvars[<s>"Hero<s>"..i].x = ({0.3, 0.7})[i]*canvas.width<s>nvars[<s>"Hero<s>"..i].y = canvas.height - 0.5*vars[<s>"Hero<s>"..i].contentHeight <s>n<s>nend<s>n<s>nend"}]},{"id":7,"text":"<s>nThe cure<s>n<s>nYou were able to create the cure and save the village inhabitants left!<s>n<s>nNow you can look at your achievements, move to the second chapter choosing an opened disease or go back to menu to try this chapter with another final.<s>n<s>n","answers":[{"id":7,"text":"New answer. enter the text","lua_text":"function lua_text()<s>nlocal n = 0<s>nfor i=1,(#dom_zilci) do<s>nif lud[dom_zilci[i]].bol < 3 then n=n<plus>1 end end<s>ng1_vizil = n<s>n<s>nif g1_sloz == 1 then g.g1_o1 = 1<s>nelseif g1_sloz == 2 then g.g1_o2 = 1<s>nelseif g1_sloz == 3 then g.g1_o3 = 1 end<s>n<s>nif g1_vizil == #dom_zilci and g1_sloz == 1 then<s>ng.g1_o4 = 1<s>nelseif g1_vizil == #dom_zilci and g1_sloz == 2 then<s>ng.g1_o5 = 1<s>nelseif g1_vizil == #dom_zilci and g1_sloz == 3 then<s>ng.g1_o6 = 1 end<s>n<s>nreturn <s>"Saved: <s>"..n..<s>" from <s>"..(#dom_zilci)<s>nend","merge":true},{"middle_answer":true,"text":"The second chapter: Road","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":11},{"id":10,"text":"Achievements","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true},{"id":1,"text":"To menu","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true},{"id":7,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Final/Antidote1.jpg"},{"super_calculate":false,"id":7,"calculate":true,"lua_do":"function lua_do()<s>nfor i= 1,6 do<s>n<s>nfor stran = 1,3 do<s>n   for h = 1,7,3 do<s>n      if dom_zilci[i] == g.cards_table[stran][h].num then<s>n          g.cards_table[stran][h<plus>g1_sloz-1].vkl = 1<s>n       end<s>n   end<s>nend<s>n<s>n<s>nend<s>nend","text":"Open cards"}]},{"id":8,"text":"<s>nSelect Chapter<s>n<s>nEach chapter is a new challenge for you as a doctor in front of unusual epidemic...","answers":[{"id":1,"text":"Achievements run","run":[25],"comment":true},{"module":true,"super_calculate":false,"lua_do":"function lua_do()<s>n<s>r<s>n<s>r<s>n<s>r<s>n<s>r<s>nif not card_page then card_page = 1 end<s>r<s>nif not click_protection then click_protection = 0 end<s>r<s>n<s>r<s>nif not g.cards_table then<s>r<s>n<s>tg.cards_table = {<s>r<s>n<s>t<s>t{<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/TyihonFilth2.png<s>", vkl = 0, num = 1, name= <s>"Grandpa Thomas<s><s>nBlack taint<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/TyihonMushroom2.png<s>", vkl = 0, name= <s>"Grandpa Thomas<s><s>nMushroom plague<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/TyihonInsect2.png<s>", vkl = 0, name= <s>"Grandpa Thomas<s><s>nInsect disease<s>"},<s>r<s>n<s>t<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/MashaFilth2.png<s>", vkl = 0, num = 2, name= <s>"Little Mary<s><s>nBlack taint<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/MashaMushroom2.png<s>", vkl = 0, name= <s>"Little Mary<s><s>nMushroom plague<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/MashaInsect2.png<s>", vkl = 0, name= <s>"Little Mary<s><s>nInsect disease<s>"},<s>r<s>n<s>t<s>t<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/AlekseyFilth2.png<s>", vkl = 0, num = 3, name= <s>"Alex<s><s>nBlack taint<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/AlekseyMushroom2.png<s>", vkl = 0, name= <s>"Alex<s><s>nMushroom plague<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/AlekseyInsect2.png<s>", vkl = 0, name= <s>"Alex<s><s>nInsect disease<s>"},<s>r<s>n<s>t<s>t},<s>r<s>n<s>t<s>t<s>r<s>n<s>t<s>t{<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/KlavaFilth2.png<s>", vkl = 0, num = 4, name= <s>"Grandma Grace<s><s>nBlack taint<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/KlavaMushroom2.png<s>", vkl = 0, name= <s>"Grandma Grace<s><s>nMushroom plague<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/KlavaInsect2.png<s>", vkl = 0, name= <s>"Grandma Grace<s><s>nInsect disease<s>"},<s>r<s>n<s>t<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/PetrFilth2.png<s>", vkl = 0, num = 5, name= <s>"Peter<s><s>nBlack taint<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/PetrMushroom2.png<s>", vkl = 0, name= <s>"Peter<s><s>nMushroom plague<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/PetrInsect2.png<s>", vkl = 0, name= <s>"Peter<s><s>nInsect disease<s>"},<s>r<s>n<s>t<s>t<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/NastyaFilth2.png<s>", vkl = 0, num = 6, name= <s>"Amelia<s><s>nBlack taint<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/NastyaMushroom2.png<s>", vkl = 0, name= <s>"Amelia<s><s>nMushroom plague<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/NastyaInsect2.png<s>", vkl = 0, name= <s>"Amelia<s><s>nInsect disease<s>"},<s>r<s>n<s>t<s>t},<s>r<s>n<s>t<s>t<s>r<s>n<s>t<s>t{<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/KolyaFilth2.png<s>", vkl = 0, num = 7, name= <s>"Nick<s><s>nBlack taint<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/KolyaMushroom2.png<s>", vkl = 0, name= <s>"Nick<s><s>nMushroom plague<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/KolyaInsect2.png<s>", vkl = 0, name= <s>"Nick<s><s>nInsect disease<s>"},<s>r<s>n<s>t<s>t<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/DaryaFilth2.png<s>", vkl = 0, num = 8, name= <s>"Deborah<s><s>nBlack taint<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/DaryaMushroom2.png<s>", vkl = 0, name= <s>"Deborah<s><s>nMushroom plague<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/DaryaInsect2.png<s>", vkl = 0, name= <s>"Deborah<s><s>nInsect disease<s>"},<s>r<s>n<s>t<s>t<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/MonsterFilth.png<s>", vkl = 0, num = 9, name= <s>"Black taint<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/MonsterMushroom.png<s>", vkl = 0, name= <s>"Mushroom plague<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/MonsterInsect.png<s>", vkl = 0, name= <s>"Insect disease<s>"},<s>r<s>n<s>t<s>t}<s>r<s>n<s>t}<s>r<s>nend<s>r<s>n<s>r<s>n<s>r<s>n<s>r<s>n<s>r<s>n<s>r<s>n--Function of view<s>r<s>nshow_cards_fun = function()<s>r<s>n<s>t<s>r<s>n<s>tlocal table_posicion = {{1/5, 1/2, 4/5}, {1/5, 2/5, 3/5} }<s>r<s>n<s>tlocal card_bas = {nil,nil,nil,nil,nil,nil,nil,nil,nil}<s>r<s>n<s>tlocal hero = {}<s>r<s>n<s>tnum_of_hero = 0<s>r<s>n<s>tgroop_of_cards = {}<s>r<s>n<s>tcards_text = <s>"<s>"<s>r<s>n<s>t<s>r<s>n<s>tlocal k = 0<s>r<s>n<s>tfor i = 1,3 do<s>r<s>n<s>t<s>tfor j = 1,3 do<s>r<s>n<s>t<s>t<s>tk = k<plus>1<s>r<s>n<s>t<s>t<s>tlocal k = k<s>r<s>n<s>t<s>t<s>tcard_bas[k] = display.newImage(<s>"http://188.120.236.127/Epidemic/Cards/fon.jpg<s>")<s>r<s>n<s>t<s>t<s>tcard_bas[k].x = canvas.width*table_posicion[1][j]<s>r<s>n<s>t<s>t<s>tcard_bas[k].y = canvas.height*table_posicion[2][i]<s>r<s>n<s>t<s>t<s>tcard_bas[k].xScale = math.min(canvas.width*(1/3.5)/card_bas[k].width, canvas.height*(1/3.5)/card_bas[k].height )<s>r<s>n<s>t<s>t<s>tcard_bas[k].yScale = card_bas[k].xScale<s>r<s>n<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>thero[k] = display.newImage(g.cards_table[card_page][k].link)<s>r<s>n<s>t<s>t<s>thero[k].xScale = math.min( card_bas[k].width*card_bas[k].xScale*(1.1)/hero[k].width, card_bas[k].height*card_bas[k].yScale*(1.1)/hero[k].height )<s>r<s>n<s>t<s>t<s>thero[k].yScale = hero[k].xScale<s>r<s>n<s>t<s>t<s>thero[k].x = canvas.width*table_posicion[1][j]<s>r<s>n<s>t<s>t<s>thero[k].y = canvas.height*table_posicion[2][i] <plus> 0.5*card_bas[k].contentHeight - 0.5*hero[k].contentHeight<s>r<s>n<s>t<s>t<s>tif g.cards_table[card_page][k].vkl == 0 then hero[k]:setFillColor( 0, 0, 0) end<s>r<s>n<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>tlocal card_frame = display.newImage(<s>"http://188.120.236.127/Epidemic/Cards/frame.png<s>")<s>r<s>n<s>t<s>t<s>tcard_frame.x = canvas.width*table_posicion[1][j]<s>r<s>n<s>t<s>t<s>tcard_frame.y = canvas.height*table_posicion[2][i]<s>r<s>n<s>t<s>t<s>tcard_frame.xScale = math.min(canvas.width*(1/3.5)/card_frame.width, canvas.height*(1/3.5)/card_frame.height )<s>r<s>n<s>t<s>t<s>tcard_frame.yScale = card_frame.xScale<s>r<s>n<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>tgroop_of_cards[k] = display.newGroup()<s>r<s>n<s>t<s>t<s>tgroop_of_cards[k]:insert(card_bas[k])<s>r<s>n<s>t<s>t<s>tgroop_of_cards[k]:insert(hero[k])<s>r<s>n<s>t<s>t<s>tgroop_of_cards[k]:insert(card_frame)<s>r<s>n<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>tnum_of_hero = num_of_hero <plus> 1<s>r<s>n<s>t<s>t<s>tgroop_of_cards[k].num_of_hero = num_of_hero<s>r<s>n<s>t<s>t<s>tgroop_of_cards[k]:addEventListener(<s>"tap<s>", function()<s>r<s>n<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>t<s>tshow_full = function()<s>r<s>n<s>t<s>t<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>t<s>t<s>tcard_bas_full = display.newImage(<s>"http://188.120.236.127/Epidemic/Cards/fon.jpg<s>")<s>r<s>n<s>t<s>t<s>t<s>t<s>tcard_bas_full.xScale = canvas.width/card_bas_full.width<s>r<s>n<s>t<s>t<s>t<s>t<s>tcard_bas_full.yScale = card_bas_full.xScale<s>r<s>n<s>t<s>t<s>t<s>t<s>tcard_bas_full.x = 0.5*canvas.width <s>r<s>n<s>t<s>t<s>t<s>t<s>tcard_bas_full.y = 0.5*card_bas_full.contentHeight<s>r<s>n<s>t<s>t<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>t<s>t<s>thero_full = display.newImage(g.cards_table[card_page][groop_of_cards[k].num_of_hero].link)<s>r<s>n<s>t<s>t<s>t<s>t<s>thero_full.xScale = math.min( card_bas_full.width*card_bas_full.xScale*(1.1)/hero_full.width, card_bas_full.height*card_bas_full.yScale*(1.1)/hero_full.height )<s>r<s>n<s>t<s>t<s>t<s>t<s>thero_full.yScale = hero_full.xScale<s>r<s>n<s>t<s>t<s>t<s>t<s>thero_full.x = 0.5*canvas.width<s>r<s>n<s>t<s>t<s>t<s>t<s>thero_full.y = card_bas_full.y <plus> card_bas_full.contentHeight/2 - hero_full.contentHeight/2<s>r<s>n<s>t<s>t<s>t<s>t<s>tif g.cards_table[card_page][groop_of_cards[k].num_of_hero].vkl == 0 then hero_full:setFillColor( 0, 0, 0) end<s>r<s>n<s>t<s>t<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>t<s>t<s>tcard_frame_full = display.newImage(<s>"http://188.120.236.127/Epidemic/Cards/frame.png<s>")<s>r<s>n<s>t<s>t<s>t<s>t<s>tcard_frame_full.xScale = canvas.width/card_frame_full.width<s>r<s>n<s>t<s>t<s>t<s>t<s>tcard_frame_full.yScale = card_frame_full.xScale<s>r<s>n<s>t<s>t<s>t<s>t<s>tcard_frame_full.x = 0.5*canvas.width <s>r<s>n<s>t<s>t<s>t<s>t<s>tcard_frame_full.y = 0.5*card_frame_full.contentHeight<s>t<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>t<s>tend<s>t<s>r<s>n<s>t<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>t<s>tshow_cards_text = function()<s>r<s>n<s>t<s>t<s>t<s>t<s>tcards_text = g.cards_table[card_page][groop_of_cards[k].num_of_hero].name<s>r<s>n<s>t<s>t<s>t<s>tend<s>r<s>n<s>t<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>t<s>tshowPage({id = 36, transition=<s>"instant<s>"})<s>t<s>t<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>tend )<s>r<s>n<s>t<s>t<s>t<s>r<s>n<s>t<s>tend<s>r<s>n<s>tend<s>r<s>n<s>t<s>r<s>n<s>r<s>n<s>t--Buttons<s>r<s>n<s>tbutton_left = display.newImage(<s>"http://188.120.236.127/images/buttons/blanc.png<s>")<s>r<s>n<s>tbutton_left.x = (1/4)*canvas.width<s>r<s>n<s>tbutton_left.y = (8/10)*canvas.height<s>t<s>r<s>n<s>tbutton_left.xScale = (1/3)*canvas.width / button_left.width<s>r<s>n<s>tbutton_left.yScale = button_left.xScale<s>r<s>n<s>t<s>r<s>n<s>tbutton_left:addEventListener(<s>"tap<s>",<s>r<s>n<s>t<s>tfunction() if click_protection < g.time then<s>r<s>n<s>t<s>t<s>tclick_protection = g.time <plus> 0.5<s>r<s>n<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>tcard_page = card_page - 1<s>r<s>n<s>t<s>t<s>tif card_page < 1 then card_page = 3 end<s>r<s>n<s>t<s>t<s>tshowPage({id =33, transition=<s>"instant<s>"})<s>r<s>n<s>t<s>treturn true<s>r<s>n<s>tend end)<s>r<s>n<s>t<s>r<s>n<s>tlocal text = display.newText(<s>"<<s>", button_left.x, button_left.y, native.systemFont, 48 )<s>r<s>n<s>ttext.yScale = button_left.height*0.9 / text.height<s>r<s>n<s>ttext.xScale = text.yScale<s>r<s>n<s>ttext:setFillColor( 0, 0, 0 )<s>r<s>n<s>tcanvasGroup:insert(text)<s>r<s>n<s>t<s>r<s>n<s>tbutton_right = display.newImage(<s>"http://188.120.236.127/images/buttons/blanc.png<s>")<s>r<s>n<s>tbutton_right.x = (3/4)*canvas.width<s>t<s>r<s>n<s>tbutton_right.y = button_left.y<s>r<s>n<s>tbutton_right.xScale = button_left.xScale<s>r<s>n<s>tbutton_right.yScale = button_left.yScale<s>r<s>n<s>t<s>r<s>n<s>tbutton_right:addEventListener(<s>"tap<s>",<s>r<s>n<s>t<s>tfunction() if click_protection < g.time then<s>r<s>n<s>t<s>t<s>tclick_protection = g.time <plus> 0.3<s>r<s>n<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>tcard_page = card_page <plus> 1<s>r<s>n<s>t<s>t<s>tif card_page > 3 then card_page = 1 end<s>r<s>n<s>t<s>t<s>tshowPage({id =33, transition=<s>"instant<s>"})<s>r<s>n<s>t<s>treturn true<s>r<s>n<s>tend end)<s>r<s>n<s>t<s>r<s>n<s>tlocal text = display.newText(<s>"><s>", button_right.x, button_right.y, native.systemFont, 48 )<s>r<s>n<s>ttext.yScale = button_right.height*0.9 / text.height<s>r<s>n<s>ttext.xScale = text.yScale<s>r<s>n<s>ttext:setFillColor( 0, 0, 0 )<s>r<s>n<s>tcanvasGroup:insert(text)<s>r<s>n<s>t<s>r<s>n<s>t<s>r<s>nend<s>nend","text":"luaModuleUpdate http://188.120.236.127/Epidemic/Cards/show_card.lua","id":33,"calculate":true},{"id":1,"text":"To menu","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true},{"lua_text":"function lua_text()<s>nreturn <s>"The first chapter: Little Village<s><s>n( <s>"..g1_o..<s>" % )<s>" <s>nend","id":5,"text":"The first chapter: Little Village","middle_answer":true,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"]},{"comment":true,"id":8,"middle_answer":true,"text":"The second chapter: Road<s>n( Closed )","bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"lua_if":"function lua_if()<s>nreturn g.g1_o1 ~=1 and g.g1_o2 ~=1 and g.g1_o3 ~=1 end"},{"lua_if":"function lua_if()<s>nreturn g.g1_o1 ==1 or g.g1_o2 ==1 or g.g1_o3 ==1 end","id":11,"middle_answer":true,"text":"The second chapter: Road","lua_text":"function lua_text()<s>nreturn <s>"The second chapter: Road<s><s>n( <s>"..g2_o..<s>" % )<s>" <s>nend","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"]},{"comment":true,"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"id":8,"text":"The third chapter: City<s>n( Closed )","middle_answer":true,"lua_if":"function lua_if()<s>nreturn g.g2_o1 ~=1 and g.g2_o2 ~=1 and g.g2_o3 ~=1 end"},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_text":"function lua_text()<s>nreturn <s>"The third chapter: City<s><s>n( <s>"..g3_o..<s>" % )<s>" <s>nend","id":18,"text":"The third chapter: City","lua_if":"function lua_if()<s>nreturn g.g2_o1 ==1 or g.g2_o2 ==1 or g.g2_o3 ==1 end","middle_answer":true},{"comment":true,"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"id":8,"text":"Epilogue<s>n( Closed )","middle_answer":true,"lua_if":"function lua_if()<s>nreturn g.g3_o1 ~=1 and g.g3_o2 ~=1 and g.g3_o3 ~=1 end"},{"lua_if":"function lua_if()<s>nreturn g.g3_o1 ==1 or g.g3_o2 ==1 or g.g3_o3 ==1 end","lua_text":"function lua_text()<s>nreturn <s>"Epilogue<s><s>n( <s>"..g4_o..<s>" % )<s>" <s>nend","id":26,"text":"Epilogue","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true}]},{"id":9,"text":"<s>nAchievements","answers":[{"id":25,"text":"Achievements run","need":10000},{"id":1,"text":"Achievements run","run":[25],"comment":true},{"id":1,"text":"To menu","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true},{"id":9,"text":"    ","comment":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_do":"function lua_do()<s>ng.fullscreen = 1<s>nback_button = 9<s>nend","middle_answer":true,"text":"Collection cards","id":33,"instant":false},{"id":9,"text":"    ","comment":true},{"lua_text":"function lua_text()<s>nreturn <s>"The first chapter: <s>"..g1_o..<s>" %<s>" <s>nend","middle_answer":true,"text":"The first chapter: Little Village","id":10,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"]},{"lua_text":"function lua_text()<s>nreturn <s>"The second chapter: <s>"..g2_o..<s>" %<s>" <s>nend","id":16,"text":"The second chapter: Road","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":24,"text":"The third chapter: City","middle_answer":true,"lua_text":"function lua_text()<s>nreturn <s>"The third chapter: <s>"..g3_o..<s>" %<s>" <s>nend"},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true,"text":"Epilogue","lua_text":"function lua_text()<s>nreturn <s>"Epilogue: <s>"..g4_o..<s>" %<s>" <s>nend","id":31}]},{"id":10,"text":"<s>nThe first chapter's achievements","answers":[{"comment":true,"lua_text":"function lua_text()<s>ng1_o=0 local kol = 9<s>nfor i=1,kol do<s>nif not g[<s>"g1_o<s>"..i] then g[<s>"g1_o<s>"..i]=0 end end<s>nfor i=1,kol do<s>nif g[<s>"g1_o<s>"..i]==1 then g1_o=g1_o<plus>1 end end <s>ng1_o = math.floor(g1_o*100/kol)<s>nreturn <s>"Done <s>"..g1_o..<s>" %<s>" <s>nend","super_calculate":false,"id":10,"text":"New answer. enter the text","middle_answer":true,"calculate":false},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"var_equal":["global previous_id",7],"id":7,"text":"Back to game","middle_answer":true},{"var_not":["global previous_id",7],"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true,"text":"To menu","id":1},{"middle_answer":true,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"var_equal":["global previous_id",7],"id":33,"text":"Collection cards","lua_do":"function lua_do()<s>ng.fullscreen = 1<s>nback_button = 10<s>nend","instant":true},{"id":10,"text":"   ","comment":true},{"lua_if":"function lua_if() return g.g1_o1 == 0 end","id":10,"text":"Achievement: <s>"Fighter against the taint<s>"<s>n(To run the chapter with the first disease)<s>nNOT DONE<s>n_______________","middle_answer":true,"comment":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_if":"function lua_if() return g.g1_o1 == 1 end","id":10,"middle_answer":true,"text":"Achievement: <s>"Fighter against the taint<s>"<s>n(To run the chapter with the first disease)<s>nDONE","comment":false,"no_transition":true},{"comment":true,"id":10,"text":"Achievement: <s>"Mushrooms liker<s>"<s>n(To run the chapter with the second disease)<s>nNOT DONE<s>n_______________","middle_answer":true,"lua_if":"function lua_if() return g.g1_o2 == 0 end"},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_if":"function lua_if() return g.g1_o2 == 1 end","id":10,"middle_answer":true,"text":"Achievement: <s>"Mushrooms liker<s>"<s>n(To run the chapter with the second disease)<s>nDONE","comment":false,"no_transition":true},{"lua_if":"function lua_if() return g.g1_o3 == 0 end","middle_answer":true,"text":"Achievement: <s>"Vivisector<s>"<s>n(To run the chapter with the third disease)<s>nNOT DONE<s>n_______________","id":10,"comment":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_if":"function lua_if() return g.g1_o3 == 1 end","id":10,"middle_answer":true,"text":"Achievement: <s>"Vivisector<s>"<s>n(To run the chapter with the third disease)<s>nDONE","comment":false,"no_transition":true},{"comment":true,"middle_answer":true,"text":"Achievement: <s>"Taint king<s>"<s>n(To run the chapter with the first disease and save all the village inhabitants)<s>nNOT DONE<s>n_______________","id":10,"lua_if":"function lua_if() return g.g1_o4 == 0 end"},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_if":"function lua_if() return g.g1_o4 == 1 end","id":10,"middle_answer":true,"text":"Achievement: <s>"Taint king<s>"<s>n(To run the chapter with the first disease and save all the village inhabitants)<s>nDONE","comment":false,"no_transition":true},{"lua_if":"function lua_if() return g.g1_o5 == 0 end","id":10,"text":"Achievement: <s>"Mycologist<s>"<s>n(To run the chapter with the second disease and save all the village inhabitants)<s>nNOT DONE<s>n_______________","middle_answer":true,"comment":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_if":"function lua_if() return g.g1_o5 == 1 end","id":10,"middle_answer":true,"text":"Achievement: <s>"Mycologist<s>"<s>n(To run the chapter with the second disease and save all the village inhabitants)<s>nDONE","comment":false,"no_transition":true},{"lua_if":"function lua_if() return g.g1_o6 == 0 end","middle_answer":true,"text":"Achievement: <s>"Disinsector<s>"<s>n(To run the chapter with the third disease and save all the village inhabitants)<s>nNOT DONE<s>n_______________","comment":true,"id":10},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_if":"function lua_if() return g.g1_o6 == 1 end","id":10,"middle_answer":true,"text":"Achievement: <s>"Disinsector<s>"<s>n(To run the chapter with the third disease and save all the village inhabitants)<s>nDONE","comment":false,"no_transition":true},{"comment":true,"id":10,"text":"Achievement: <s>"Heartlessness<s>"<s>n(Allow Little Mary to fall victim to the disease)<s>nNOT DONE<s>n_______________","lua_if":"function lua_if() return g.g1_o7 == 0 end","middle_answer":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_if":"function lua_if() return g.g1_o7 == 1 end","id":10,"middle_answer":true,"text":"Achievement: <s>"Heartlessness<s>"<s>n(Allow Little Mary to fall victim to the disease)<s>nDONE","comment":false,"no_transition":true},{"lua_if":"function lua_if() return g.g1_o8 == 0 end","id":10,"text":"Achievement: <s>"A wheelbarrow without a wheel<s>"<s>n(Neglect your own disease)<s>nNOT DONE<s>n_______________","middle_answer":true,"comment":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_if":"function lua_if() return g.g1_o8 == 1 end","id":10,"middle_answer":true,"text":"Achievement: <s>"A wheelbarrow without a wheel<s>"<s>n(Neglect your own disease)<s>nDONE","comment":false,"no_transition":true},{"lua_if":"function lua_if() return g.g1_o9 == 0 end","middle_answer":true,"text":"Achievement: <s>"Welcome<s>"<s>n(Play out)<s>nNOT DONE<s>n_______________","comment":true,"id":10},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_if":"function lua_if() return g.g1_o9 == 1 end","id":10,"middle_answer":true,"text":"Achievement: <s>"Welcome<s>"<s>n(Play out)<s>nDONE","comment":false,"no_transition":true}]},{"id":11,"text":"<s>nThe second chapter: Road<s>n<s>nAfter you saved the village inhabitants and cleared the passage to the road you decided to go to City. You took four village inhabitants who really wanted to leave this place.<s>n<s>nYou found the deserted car delivering blockers to you at the road. Keys and blockers pack were at their place but according to dust layer the driver dissapeared several days ago. You got into the car and went to City. You need to deliver the information about new disease to the regional hospital as soon as possible... Besides, one of the village inhabitants going with you felt bad again... <s>n<s>nEach new game the volunteers and the contaminated one are set randomly! ","answers":[{"id":5,"text":"Choose the disease of this chapter:","comment":true,"middle_answer":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_do":"function lua_do() g2_sloz=1 calc_sloz()<s>nend","middle_answer":true,"text":"Black taint<s>n( Low speed of contamination )","id":12,"lua_if":"function lua_if() return g.g1_o1 == 1 end"},{"comment":true,"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"id":11,"middle_answer":true,"text":"Black taint<s>n( Closed )","lua_do":"function lua_do() g2_sloz=1 calc_sloz()<s>nend","lua_if":"function lua_if() return g.g1_o1 == 0 end"},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true,"id":12,"text":"Mushroom plague<s>n( Medium speed of contamination )","lua_do":"function lua_do() g2_sloz=2 calc_sloz()<s>nend","lua_if":"function lua_if() return g.g1_o2 == 1 end"},{"comment":true,"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"lua_do":"function lua_do() g2_sloz=2 calc_sloz()<s>nend","id":11,"text":"Mushroom plague<s>n( Closed )","middle_answer":true,"lua_if":"function lua_if() return g.g1_o2 == 0 end"},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":12,"lua_do":"function lua_do() g2_sloz=3 calc_sloz()<s>nend","text":"Insect disease<s>n( High speed of contamination )","middle_answer":true,"lua_if":"function lua_if() return g.g1_o3 == 1 end"},{"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"comment":true,"lua_if":"function lua_if() return g.g1_o3 == 0 end","middle_answer":true,"text":"Insect disease<s>n( Closed )","id":11,"lua_do":"function lua_do() g2_sloz=3 calc_sloz()<s>nend"},{"comment":true,"super_calculate":false,"id":5,"calculate":true,"lua_do":"function lua_do()<s>nglava_num = 2<s>nkm = 100<s>nblok = 5 blok_p = 0<s>ntest = 7 test_p = 0<s>npohod = 3<s>nreklam1 = 1<s>nreklam2 = 1<s>nfin = 0<s>nmnogo_obraz =0<s>nobraz={test1=0, test2=0, blok1=0, blok2=0}<s>n<s>n<s>ncalc_sloz = function ()<s>n   telo={} local t={}<s>n<s>n   for i=1,6 do<s>n      telo[i] = {zaraza=5*math.random(0,2), prirost=0, test=0, g_test=0, blok=0}<s>n      t[i] = i<s>n   end<s>n<s>n   for i=1,6 do<s>n      local a = math.random(1,#t)<s>n      telo[t[a]].prirost =<s>n({{1,2,3,1,2,1},{1,2,3,1,2,2},{1,2,3,1,2,3}})[g2_sloz][i]<s>n      table.remove(t,a)<s>n   end<s>nend<s>n<s>nif not dom_zilci or #dom_zilci < 4 then<s>n   local t={1,2,3,4,5,6,7,8} dom_zilci={}<s>n   for i=1,3,2 do<s>n      local a = (2*math.random(1,#t/2))-1<s>n      dom_zilci[i] = t[a] dom_zilci[i<plus>1] = t[a<plus>1]<s>n      table.remove(t,a) table.remove(t,a)<s>n   end<s>nelse<s>n      local a = (2*math.random(1,#dom_zilci/2))-1<s>n      table.remove(dom_zilci,a)<s>n      table.remove(dom_zilci,a)<s>nend<s>n<s>nlocal a = math.random(1,#dom_zilci)<s>ninfektiv = dom_zilci[a] table.remove(dom_zilci,a)<s>n<s>nend","text":"New answer. enter the text"},{"super_calculate":false,"id":11,"text":"New answer. enter the text","calculate":true,"lua_do":"function lua_do()<s>nlud={<s>n<s>n{n=1,name=<s>"Grandpa Thomas<s>", name2=<s>"Grandpa Thomas<s>", rech={<s>n<s>"Aging is no fun... It seems I won't get the disease over, even with your cure, doctor...<s>",<s>n<s>"Well, not at all, I've lived enough... I'm worrying only for Little Mary, whom she will leave with...<s>",<s>n<s>"Little Mary's parents died in car crash when she was a baby... My wife went for them out of grief... So we left alone, me and Little Mary...<s>",<s>n<s>"Oh, doctor, we haven't gone even a halfway to the city... I feel so uncomfortable that you have to stop because of me every time...<s>",<s>n<s>"I'll understand if you decide just to leave dying old man at the road...<s>",<s>n<s>"Oh, what is that? It seemed to me that I saw something in the forest. Probably, my old eyes betrayed me...<s>",<s>n<s>"The closer the city was, the clearer the forest became, did you notice it too, doctor? I hope, this disease will leave in the sticks...<s>",<s>n<s>"I feel completely bad, doctor... My mind isn't so clear in my old age, but now it is awful at all...<s>",<s>n<s>"I feel as if my old body is not mine any more... As if I share my head with somebody else...<s>",<s>n<s>"I'm tired of fighting with him, doctor, I'm so tired...<s>" },}, <s>n<s>n{n=2,name=<s>"Little Mary<s>", name2=<s>"Little Mary<s>", rech={<s>n<s>"I feel somehow bad... Is it beginning again?..<s>",<s>n<s>"Grandpa is worrying... Tell him that everything will be fine, okay?<s>",<s>n<s>"Will it take long to go there? I want to see City soon...<s>",<s>n<s>"Grandpa said that I was born in City but I haven't remembered it at all. Since... Grandpa and I left together I haven't been there...<s>",<s>n<s>"Grandpa says we have passed a half of our way! Is that true?<s>",<s>n<s>"Oh, what's this? It seems to me I saw something in the forest! Does somebody live here?<s>",<s>n<s>"I... It seems to me I hear something again... As then, in the village. This voice sounds right in my head...<s>", <s>n<s>"Sometimes I don't feel my hands. It seems to me that somebody rules my body...<s>", <s>n<s>"I'm so sleepy but I'm afraid to close my eyes so much...<s>", <s>n<s>"I'm so tired... Tired...<s>"<s>n},}, <s>n<s>n{n=3,name=<s>"Alex<s>", name2=<s>"Alex<s>", rech={<s>n<s>"What the hell is that, doc?! You've already cured all people? Why does it begin again?<s>",<s>n<s>"Roll on to achieve City, maybe there are normal doctors...<s>",<s>n<s>"City hospital is well surely, but I don't like be there...<s>",<s>n<s>"I know City, I know... I had both work and somewhat flat there, but they took away everything! Damn cards...<s>",<s>n<s>"You think, I'm glad to walk over my old mother, eh? I see you through, doc. You dissaprove...<s>",<s>n<s>"What's that? You see it? Something ran along the forest...<s>",<s>n<s>"I feel crappy... My mind is losing as if I was drinking for a week...<s>",<s>n<s>"Where is this whisper from? I didn't drink today...<s>",<s>n<s>"It's sorta like my hands and not mine. As if other person rules my body...<s>",<s>n<s>"Sorry, mum, it seems I'm goner...<s>"<s>n},}, <s>n<s>n{n=4,name=<s>"Grandma Grace<s>",name2=<s>"Grandma Grace<s>", rech={<s>n<s>"Holy mackerel, this disease doesn't release me no way...<s>",<s>n<s>"I'm too old for such trips and this illness...<s>",<s>n<s>"And we will come to City and what's the point? I will contaminate the healthy ones, won't I? I should stay in the village but who knew I didn't finish the cure completely...<s>",<s>n<s>"My Alex lived in this City, worked at the plant but one woman drove him over the edge. He decided to enrich his savings for her but chose a foul way and gambled everything away...<s>",<s>n<s>"When Alex gambled away, he began drinking. So, he was thrown out of work, the flat needed to be sold and he got into the village...<s>",<s>n<s>"I'm feeling badly, doctor. Suppose, I won't reach City... Heh, Alex will be lost without me, lost...<s>",<s>n<s>"What's there outside? It seemed to me as if somebody was roaming along the forest...<s>",<s>n<s>"Something seems to me again... As if somebody tried to talk to me...<s>",<s>n<s>"I hardly could control my creaky body earlier and now I feel heavily as if it wants to move itself...<s>",<s>n<s>"I'll have a sleep a bit... No more strength to stand...<s>"},}, <s>n<s>n{n=5,name=<s>"Peter<s>", name2=<s>"Peter<s>", rech={<s>n<s>"Here you are!.. I thought we got it over...<s>",<s>n<s>"We came to this village for nothing...<s>",<s>n<s>"My wife was interested in healthy lifestyle and insisted on our living in the village, close to nature...<s>",<s>n<s>"That's our healthy lifestyle at the nature... I feel right now as the health is growing and trying to eat me...<s>",<s>n<s>"What do you think, doctor? Had this disease reached the city? The further we go, the clearer the forest becomes...<s>",<s>n<s>"So, I look through the window and notice some movement in the forest for every time. But we haven't such big animals in our forest...<s>",<s>n<s>"I thought something... Will they let us enter City at the roadblock? Quarantine is any way and I'm contaminated...<s>",<s>n<s>"I feel myself being somebody's puppet. As if I didn't own my body any more...<s>",<s>n<s>"This whisper in my head... Interrupts thoughts...<s>",<s>n<s>"No more strength to stand against...<s>"<s>n},}, <s>n<s>n{n=6,name=<s>"Amelia<s>", name2=<s>"Amelia<s>", rech={<s>n<s>"I feel somehow bad... Is it beginning again?..<s>",<s>n<s>"And why did I want that healthy lifestyle? I'm dying in some sticks any way...<s>",<s>n<s>"I didn't imagine the life at the nature in such way...<s>",<s>n<s>"I thought I would take my husband closer to nature and we'll live in healthy area...<s>",<s>n<s>"The best of all would be to find and beat my yoga instructor. He advised me to move to the village so zealously! And how much money he took for his advice...<s>",<s>n<s>"Oh, it seemed to me I saw a man running along the forest! Or it wasn't a man...<s>",<s>n<s>"I constantly have some strange shadows in front of my eyes and I'm always feel as half-asleep...<s>",<s>n<s>"It's hard for me to move my hands. As if they oppose to me moving them...<s>",<s>n<s>"This quiet whisper in my head... As it was then, in the village... It returned again...<s>",<s>n<s>"My eyes are closing themselves... I'll have a sleep a bit...<s>"},}, <s>n<s>n{n=7,name=<s>"Nick<s>", name2=<s>"Nick<s>", rech={<s>n<s>"I couldn't be cured, could I?<s>",<s>n<s>"It's interesting where this disease came from?<s>",<s>n<s>"I read some diseases were created synthetically. Maybe this is one of them? It is so strange...<s>",<s>n<s>"I miss my dad... I wonder if I will see him before...<s>",<s>n<s>"This is all because of me... Mum wanted to go to the city earlier and I asked her to stay in the village a little longer because there was a riber there... I hope, mother isn't too angry...<s>",<s>n<s>"When I was ill earlier, my parents read different books for me aloud. That's a pity we didn't take them with us...<s>",<s>n<s>"Is that a man there? No, it seemed to me probably, the forest is too thick...<s>",<s>n<s>"I can hardly move my hands, as if my body was replaced while I was sleeping... Will it gone, doctor?<s>",<s>n<s>"The voice in my head came back... I don't understand it but feel it is talking about something scareful... However, I'm not afraid of it, no...<s>",<s>n<s>"I feel somehow tired... Wake me up, when we arrive...<s>"},}, <s>n<s>n{n=8,name=<s>"Deborah<s>", name2=<s>"Deborah<s>", rech={<s>n<s>"Oh... I've already thought everything is behind! Is it happening again?<s>",<s>n<s>"My husband works there in City. I hope, we will meet...<s>",<s>n<s>"Hope, the quarantine prevented the contamination and the infection didn't get into the city...<s>",<s>n<s>"I wish just to hand Nick to my husband before... Before I... Well, you got it...<s>",<s>n<s>"I took care of my son myself while husband went for work. And I didn't pay attention to my illnesses. I must have cured more carefully...<s>",<s>n<s>"Tell me, doctor, do you think I have a chance? Sorry, don't answer... I'm just worrying about my son's fate...<s>",<s>n<s>"It seemed to me I saw human shadows behind the trees...<s>",<s>n<s>"It's so strange, I feel almost nothing... As if my body stops being mine...<s>",<s>n<s>"I'm so tired, some voices seem to me... The whisper... It is so familiar...<s>",<s>n<s>"No more strength to stand against... My eyes are closing themselves...<s>"},}, <s>n<s>n}<s>nend"},{"super_calculate":false,"id":11,"text":"New answer. enter the text","calculate":true,"lua_do":"function lua_do()<s>n<s>nbolezn1={<s>n<s>"Black slime covering the trees and the ground around was trembling dismally... Blech...<s>",<s>n<s>"The trees changed themselves too. The slime didn't kill them, no... The same as people they transformed under its influence. It even seemed to you that the branches turned towards you, when you didn't look at them...<s>",<s>n<s>"It's interesting what kind of disease is it? A giant colony of bacteria? Doubtly... But what is that if they aren't microorganisms?<s>", <s>n<s>"Black slime poured all around was definitely reacting to your attendance. It pulsed as stronger as closer you came to it... At one moment you began to scare of it might attack you...<s>",<s>n<s>"The slime began pulsing again and again within each of your appearances. Even if you suppose that this is the colony of microorganisms, how could this puddle of slime have such a brightly expressed reaction to human appearance?<s>",<s>n<s>"You've already passed a halfway to the city. The forest became significantly clearer but there was still enough black slime around...<s>",<s>n<s>"It seemed to you that somebody was roaming behind the trees... People? But what could they do here, so close to the center of contamination...<s>", <s>n<s>"You looked close to the healthy trees and noticed as the puddles of black slime were slowly and surely flowing towards them from contaminated plants...<s>", <s>n<s>"The closer City was, the less contaminated trees you met, but your soul wasn't patient any way...<s>", <s>n<s>"Ten kilometres left to City but the slime traces still caught your eyes... Can it be true the disease got so far?<s>", <s>n} <s>n<s>nbolezn2={<s>n<s>"Red mushrooms covering the trees and the ground around heavily lit dismally... What an affliction is that?<s>",<s>n<s>"The trees contaminated with the mushrooms didn't die, they were changing. The roots and branches twined with spawn became thicker and began to grow to all sides with enormous force. It began to seem to you that the branches turned towards you, when you didn't look at them...<s>",<s>n<s>"It's interesting where this agressive colony of mushrooms came from? The speed they spread with consuming other organisms was amazing...<s>", <s>n<s>"Red mushrooms growing everywhere reacted definitely to your attendance. They pulsed and lit the brighter the closer you came to them...<s>",<s>n<s>"The mushrooms began to pulse again and again and light more brightly within every your appearance. How could they have so brightly expressed reaction to human appearance?<s>",<s>n<s>"You've already passed a halfway to the city. The forest became significantly clearer but there were still enough red mushrooms around...<s>",<s>n<s>"It seemed to you that somebody was roaming behind the trees... People? But what could they do here, so close to the center of contamination...<s>", <s>n<s>"You looked close to the trees and noticed that mushroom spawn was spreading not to all the sides but grew towards the healthy plants...<s>", <s>n<s>"The closer City was, the less contaminated trees you met, but your soul wasn't patient any way...<s>", <s>n<s>"Ten kilometres left to City but red mushrooms still caught your eyes... Can it be true the disease got so far?<s>", <s>n}<s>n<s>nbolezn3={<s>n<s>"Huge insects covered the trees and the ground bonteously and buzzed grimly... What an affliction is that?<s>",<s>n<s>"The trees contaminated by the insects didn't die, they changed. The roots and branches were creepled with knurrs and swarms of these insects became thicker and began to grow to all the sides with monstrous power. It even began to seem to you that the branches turned towards you, when you didn't look at them...<s>",<s>n<s>"The most surprising for you was the fact that such morphologically different insects joined a single swarm... What makes them tick?<s>", <s>n<s>"The insects captivated the forest and definitely reacted to your attendance. They began to buzz and light as stronger as closer you came to them...<s>",<s>n<s>"The insects began to buzz and light brighter again and again within every your appearance. The most worrying was that they did it absolutely simultaneously as if they had hive mind...<s>",<s>n<s>"You've already passed a half way to the city. The forest became significantly clearer but there are still enough giant insects around...<s>",<s>n<s>"It seemed to you that somebody was roaming behind the trees... People? But what could they do here, so close to the center of contamination...<s>", <s>n<s>"You were staring at the trees and noticed that the insects searched for uncontaminated trees intentionally. They injected their poison into such trees... What had changed them and made to behave like that?<s>", <s>n<s>"The closer City was, the less contaminated trees you met, but your soul wasn't patient any way...<s>", <s>n<s>"Ten kilometres left to City but strange insects still caught your eyes... Can it be true the disease got so far?<s>", <s>n}<s>n<s>nend"},{"id":11,"text":"Background","url":"http://188.120.236.127/Epidemic/Forest/Forest.jpg"},{"id":11,"text":"New answer. enter the text","url":"http://188.120.236.127/Epidemic/Forest/Forest_Car_1.png"}]},{"id":12,"text":"<s>nCar<s>n<s>nYou are driving an old car on the back road towards City. You are accompanied by ","answers":[{"id":12,"text":"Text","lua_text":"function lua_text()<s>nreturn lud[dom_zilci[1]].name..<s>", <s>".. lud[dom_zilci[2]].name..<s>", <s>"..lud[dom_zilci[3]].name..<s>" and <s>"..lud[infektiv].name..<s>". However the infection in <s>"..lud[infektiv].name2..<s>" began to grow up with a new force. You need to stop permanently to keep the disease under control.<s>"<s>nend","merge":true},{"var_show":["km"],"comment":true,"id":12,"text":"Kilometres to the city:","middle_answer":true,"merge":false},{"id":13,"text":"Examine the sick one","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true},{"id":14,"text":"Lab","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true},{"id":15,"text":"Outing","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true},{"id":12,"text":"     ","comment":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":12,"middle_answer":true,"text":"Continue the driving","lua_do":"function lua_do()<s>nkm=km-10<s>npohod=3<s>n<s>nif km == 0 then fin = 2 end<s>n<s>nfor i=1,6 do<s>n   if telo[i].blok ==0 then<s>n   telo[i].zaraza=telo[i].zaraza<plus>telo[i].prirost*10<s>n      if telo[i].zaraza>=100 then<s>n         if fin==2 then g.g2_o6 = 1 end<s>n         fin = 1<s>n         dialog({ fontSizeForHeader = 0.9, <s>n         header = <s>"The end of the way<s>",<s>n         text = <s>"You were driving the car patiently, when some sounds were heard behind and then you heard your passengers' shouts. Next moment something caught your neck. You didn't hold the rudder and flipped off the road at full speed. Nobody would survive after such a crash...<s><s>n<s><s>nDon't lose your heart and try again!<s>", <s>n         answers = {{text = <s>"Continue<s>",<s>n         fontSize = 0.9}} })<s>n         showPage({id = 1})<s>n      end<s>n   end<s>nend<s>n<s>nif fin == 2 then showPage({id = 17}) end<s>n<s>nif fin == 0 then<s>n   blok = blok <plus> blok_p<s>n   test = test <plus> test_p<s>n         dialog({ fontSizeForHeader = 0.9, <s>n         header = <s>"Lab<s>",<s>n         text = <s>"Tests made: <s>"..test_p..<s>"<s><s>nBlockers made: <s>"..blok_p, <s>n         answers = {{text = <s>"Continue<s>",<s>n         fontSize = 0.9}} })<s>nend<s>n<s>nfor i=1,6 do<s>ntelo[i].test=0 telo[i].blok=0 end<s>nblok_p = 0 test_p = 0<s>nif fin==0 then showPage({id = 12})<s>nend<s>nreklam1=1 reklam2=1<s>n<s>nend","no_transition":true},{"id":12,"text":"     ","comment":true},{"lua_do":"function lua_do() if isPremium() ~= true then<s>n<s>nshowAd(<s>"rewardedVideo<s>",<s>nfunction() blok = blok <plus> 1 reklam1 = 0<s>nshowPage({id = 12}) end,<s>nfunction()<s>nshowPage({id = 12}) end)<s>n<s>nelse<s>nblok = blok <plus> 1 reklam1 = 0<s>nshowPage({id = 12})<s>nend end","text":"Bonus<s>nblocker","need":[1000],"left_answer":true,"bgAnswerImage":["http://188.120.236.127/images/buttons/ad.png"],"var_equal":["reklam1",1],"middle_answer":false,"id":12,"no_transition":true},{"lua_do":"function lua_do() if isPremium() ~= true then<s>n<s>nshowAd(<s>"rewardedVideo<s>",<s>nfunction() test = test <plus> 1 reklam2 = 0<s>nshowPage({id = 12}) end,<s>nfunction()<s>nshowPage({id = 12}) end)<s>n<s>nelse<s>ntest = test <plus> 1 reklam2 = 0<s>nshowPage({id = 12})<s>nend end","text":"Bonus<s>ntest","need":[1000],"no_transition":true,"right_answer":true,"bgAnswerImage":["http://188.120.236.127/images/buttons/ad.png"],"var_equal":["reklam2",1],"middle_answer":false,"id":12},{"bgAnswerImage":["http://188.120.236.127/Epidemic/button_buy.jpg"],"lua_if":"function lua_if()<s>nreturn isPremium() ~= true<s>nend","middle_answer":true,"id":12,"text":"Premium access","need":[1000],"dlc":"premium"},{"id":17,"text":"Final","need":1000},{"comment":true,"super_calculate":true,"id":13,"text":"background","lua_do":"function lua_do()<s>nlink = <s>"http://188.120.236.127/Epidemic/Forest/Forest<s>" <s>n<s>nif km < 40 then<s>nlink=link..<s>".jpg<s>"<s>nelseif km <70 then<s>nlink=link..({<s>"_Filth<s>", <s>"_Mushroom<s>", <s>"_Insect<s>"})[g2_sloz]..<s>"_1.jpg<s>"<s>nelse<s>nlink=link..({<s>"_Filth<s>", <s>"_Mushroom<s>", <s>"_Insect<s>"})[g2_sloz]..<s>"_2.jpg<s>"<s>nend<s>n<s>nlocal forest = display.newImage(link)<s>nforest.yScale = canvas.height / forest.height<s>nforest.xScale = forest.yScale<s>n<s>nforest.x = 0.5*canvas.width<s>nforest.y = 0.5*canvas.height<s>n<s>nforest:toBack() <s>n<s>nend","calculate":false},{"id":11,"text":"Car","url":"http://188.120.236.127/Epidemic/Forest/Forest_Car_1.png"}]},{"id":13,"text":"<s>nSick one<s>n<s>n","answers":[{"id":13,"text":"Text","lua_text":"function lua_text()<s>nreturn <s>"The infection in <s>"..lud[infektiv].name2..<s>" develops too fast... Recent cure is useless against the new strain. All you can do is to analyze body parts prevalence and block this process for some time. Each body part has its own period of infection spreading.<s><s>n<s><s>n<s>"..lud[infektiv].name..<s>": <s><s><s>"<s>"..lud[infektiv].rech[11-km/10]..<s>"<s><s><s>"<s><s>n<s><s>n<s>"<s>nend","merge":true},{"super_calculate":false,"lua_do":"function lua_do()<s>nvivod_boli = function()<s>nbol_text = (({<s>"Head<s>", <s>"Left hand<s>", <s>"Right hand<s>", <s>"Body<s>", <s>"Left leg<s>", <s>"Right leg<s>"})[num_telo])..<s>"<s><s>nSpeed: <s>"<s>n<s>nif telo[num_telo].g_test == 1 then<s>nbol_text= bol_text..(({<s>"slowly<s>", <s>"fastly<s>", <s>"immediately<s>"})[telo[num_telo].prirost])<s>nelse<s>nbol_text= bol_text..<s>"?<s>" end<s>n<s>nif telo[num_telo].test == 0 then<s>nbol_text= bol_text..<s>"<s><s>nContamination: ?<s>"<s>nelse bol_text= bol_text..<s>"<s><s>nContamination: <s>".. telo[num_telo].zaraza..<s>" %<s>" end<s>nif telo[num_telo].blok == 1 then<s>nbol_text=bol_text..<s>"<s><s>n<s><s>n<s>"..<s>"is blocked<s>" end<s>nend<s>nend","calculate":true,"text":"Conclusion","id":13},{"id":13,"text":"Blockers left:","var_show":["blok"],"merge":true},{"middle_answer":true,"text":"Back","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":12},{"var_show":["test",")"],"comment":true,"middle_answer":true,"text":"Take a puncture and make a test for speed and current contagion degree:<s>n( tests left:","id":13},{"middle_answer":true,"lua_do":"function lua_do() local i = 1<s>ntest = test - 1 telo[i].test = 1 <s>ntelo[i].g_test=1 end","lua_text":"function lua_text() num_telo = 1<s>nvivod_boli() return bol_text end","instant":true,"id":13,"text":"Head","lua_if":"function lua_if() local i=1<s>nreturn (telo[i].test == 0 and test > 0) end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"]},{"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"comment":true,"lua_text":"function lua_text() num_telo = 1<s>nvivod_boli() return bol_text end","id":13,"text":"Head","middle_answer":true,"lua_if":"function lua_if() local i=1<s>nreturn (telo[i].test == 1 or test == 0) end"},{"id":13,"lua_if":"function lua_if() local i=1<s>nreturn telo[i].blok == 0 and blok > 0 end","text":"Blocker","middle_answer":true,"instant":true,"lua_do":"function lua_do() local i = 1<s>nblok = blok - 1 telo[i].blok = 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"]},{"id":13,"instant":true,"left_answer":true,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"text":"Left hand","lua_text":"function lua_text() num_telo = 2<s>nvivod_boli() return bol_text end","middle_answer":false,"lua_if":"function lua_if() local i=2<s>nreturn (telo[i].test == 0 and test > 0) end","lua_do":"function lua_do() local i = 2<s>ntest = test - 1 telo[i].test = 1 <s>ntelo[i].g_test=1 end"},{"comment":true,"id":13,"text":"Left hand","left_answer":true,"right_answer":false,"lua_text":"function lua_text() num_telo = 2<s>nvivod_boli() return bol_text end","middle_answer":false,"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"lua_if":"function lua_if() local i=2<s>nreturn (telo[i].test == 1 or test == 0) end"},{"lua_if":"function lua_if() local i=2<s>nreturn telo[i].blok == 0 and blok > 0 end","lua_do":"function lua_do() local i = 2<s>nblok = blok - 1 telo[i].blok = 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"instant":true,"id":13,"text":"Blocker","middle_answer":false,"left_answer":true},{"id":13,"instant":true,"right_answer":true,"lua_text":"function lua_text() num_telo = 3<s>nvivod_boli() return bol_text end","text":"Right hand","middle_answer":false,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_if":"function lua_if() local i=3<s>nreturn (telo[i].test == 0 and test > 0) end","lua_do":"function lua_do() local i = 3<s>ntest = test - 1 telo[i].test = 1 <s>ntelo[i].g_test=1 end"},{"comment":true,"id":13,"text":"Right hand","left_answer":false,"right_answer":true,"lua_text":"function lua_text() num_telo = 3<s>nvivod_boli() return bol_text end","middle_answer":false,"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"lua_if":"function lua_if() local i=3<s>nreturn (telo[i].test == 1 or test == 0) end"},{"id":13,"instant":true,"left_answer":false,"right_answer":true,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"text":"Blocker","lua_if":"function lua_if() local i=3<s>nreturn telo[i].blok == 0 and blok > 0 end","middle_answer":false,"lua_do":"function lua_do() local i = 3<s>nblok = blok - 1 telo[i].blok = 1 end"},{"lua_do":"function lua_do() local i = 4<s>ntest = test - 1 telo[i].test = 1 <s>ntelo[i].g_test=1 end","id":13,"lua_text":"function lua_text() num_telo = 4<s>nvivod_boli() return bol_text end","instant":true,"middle_answer":true,"text":"Body","lua_if":"function lua_if() local i=4<s>nreturn (telo[i].test == 0 and test > 0) end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"]},{"comment":true,"lua_if":"function lua_if() local i=4<s>nreturn (telo[i].test == 1 or test == 0) end","lua_text":"function lua_text() num_telo = 4<s>nvivod_boli() return bol_text end","id":13,"text":"Body","middle_answer":true,"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"]},{"id":13,"lua_if":"function lua_if() local i=4<s>nreturn telo[i].blok == 0 and blok > 0 end","text":"Blocker","middle_answer":true,"instant":true,"lua_do":"function lua_do() local i = 4<s>nblok = blok - 1 telo[i].blok = 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"]},{"middle_answer":false,"instant":true,"left_answer":true,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"text":"Left leg","lua_text":"function lua_text() num_telo = 5<s>nvivod_boli() return bol_text end","id":13,"lua_if":"function lua_if() local i=5<s>nreturn (telo[i].test == 0 and test > 0) end","lua_do":"function lua_do() local i = 5<s>ntest = test - 1 telo[i].test = 1 <s>ntelo[i].g_test=1 end"},{"comment":true,"id":13,"text":"Left leg","left_answer":true,"right_answer":false,"lua_text":"function lua_text() num_telo = 5<s>nvivod_boli() return bol_text end","middle_answer":false,"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"lua_if":"function lua_if() local i=5<s>nreturn (telo[i].test == 1 or test == 0) end"},{"middle_answer":false,"instant":true,"left_answer":true,"right_answer":false,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"text":"Blocker","lua_if":"function lua_if() local i=5<s>nreturn telo[i].blok == 0 and blok > 0 end","lua_do":"function lua_do() local i = 5<s>nblok = blok - 1 telo[i].blok = 1 end","id":13},{"id":13,"instant":true,"right_answer":true,"lua_text":"function lua_text() num_telo = 6<s>nvivod_boli() return bol_text end","text":"Right leg","middle_answer":false,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_if":"function lua_if() local i=6<s>nreturn (telo[i].test == 0 and test > 0) end","lua_do":"function lua_do() local i = 6<s>ntest = test - 1 telo[i].test = 1<s>ntelo[i].g_test=1 end"},{"comment":true,"id":13,"text":"Right leg","left_answer":false,"right_answer":true,"lua_text":"function lua_text() num_telo = 6<s>nvivod_boli() return bol_text end","middle_answer":false,"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"lua_if":"function lua_if() local i=6<s>nreturn (telo[i].test == 1 or test == 0) end"},{"middle_answer":false,"instant":true,"left_answer":false,"right_answer":true,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"text":"Blocker","lua_if":"function lua_if() local i=6<s>nreturn telo[i].blok == 0 and blok > 0 end","lua_do":"function lua_do() local i = 6<s>nblok = blok - 1 telo[i].blok = 1 end","id":13},{"id":13,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Forest/Forest_Car_2.jpg"},{"comment":true,"super_calculate":true,"id":13,"text":"Heroes","calculate":false,"lua_do":"function lua_do()<s>nlink = <s>"http://188.120.236.127/Epidemic/Characters/<s>"..({<s>"Tyihon<s>", <s>"Masha<s>", <s>"Aleksey<s>", <s>"Klava<s>", <s>"Petr<s>", <s>"Nastya<s>", <s>"Kolya<s>", <s>"Darya<s>"})[infektiv]..({<s>"Filth<s>", <s>"Mushroom<s>", <s>"Insect<s>"})[g2_sloz]<s>n<s>nif km > 50 then<s>nlink=link..<s>"1.png<s>"<s>nelse<s>nlink = link..<s>"2.png<s>"<s>nend<s>n<s>nhero = display.newImage(link)<s>nhero.yScale =0.95*canvas.height / hero.height<s>nif vars[infektiv] == 1 or vars[infektiv] == 8 then<s>nhero.yScale =0.85*canvas.height / hero.height<s>nend<s>nhero.xScale = hero.yScale<s>nif vars[infektiv] == 3 then<s>nhero.xScale = -hero.xScale<s>nend<s>n<s>nhero.x = 0.5*canvas.width<s>nhero.y = canvas.height - 0.5*hero.contentHeight<s>n<s>n<s>nend"}]},{"id":14,"text":"<s>nLab<s>n<s>nYour field lab was looking like a piece of tarpaulin laid on back seat of the car. You put your equipment there fastly in each stop. The knowledge about the disease which you got in the village was enough to make primitive tests and blockers of the sampled taken in contaminated forest.<s>n<s>nTo make one reagent for test or blocker you need one big sample or three small ones.","answers":[{"middle_answer":true,"text":"Back","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":12},{"var_show":["test"],"comment":true,"id":14,"text":"Tests:","left_answer":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_do":"function lua_do() test_p = test_p<plus>1<s>nif obraz.test1 > 2 then<s>nobraz.test1 = obraz.test1 - 3<s>nelse obraz.test2 = obraz.test2 - 1 end end","lua_if":"function lua_if()<s>nreturn obraz.test1 > 2 or obraz.test2 > 0 end","instant":true,"id":14,"text":"Make<s>nreagent for test","middle_answer":false,"left_answer":true},{"lua_if":"function lua_if()<s>nreturn obraz.test1 < 3 and obraz.test2 == 0 end","bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"comment":true,"instant":true,"id":14,"text":"Make<s>nreagent for test","middle_answer":false,"left_answer":true},{"comment":true,"id":15,"text":"Samples","lua_text":"function lua_text()<s>nreturn <s>"Is making: <s>"..test_p..<s>"<s><s>n<s><s>nSmall sample: <s>"..obraz.test1..<s>"<s><s>nBig sample: <s>"..obraz.test2<s>nend","left_answer":true},{"var_show":["blok"],"comment":true,"id":14,"text":"Blockers:","right_answer":true,"left_answer":false},{"middle_answer":false,"instant":true,"left_answer":false,"right_answer":true,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"text":"Make<s>nblocker","lua_if":"function lua_if()<s>nreturn obraz.blok1 > 2 or obraz.blok2 > 0 end","id":14,"lua_do":"function lua_do() blok_p = blok_p<plus>1<s>nif obraz.blok1 > 2 then<s>nobraz.blok1 = obraz.blok1 - 3<s>nelse obraz.blok2 = obraz.blok2 - 1 end end"},{"comment":true,"middle_answer":false,"text":"Make<s>nblocker","left_answer":false,"right_answer":true,"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"lua_if":"function lua_if()<s>nreturn obraz.blok1 < 3 and obraz.blok2 == 0 end","instant":true,"id":14},{"right_answer":true,"lua_text":"function lua_text()<s>nreturn <s>"Is making: <s>"..blok_p..<s>"<s><s>n<s><s>nSmall sample: <s>"..obraz.blok1..<s>"<s><s>nBig sample: <s>"..obraz.blok2 end","id":15,"text":"Samples","comment":true},{"id":13,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Forest/Forest_Car_2.jpg"}]},{"id":15,"text":"<s>nOuting<s>n<s>nYou can gather some samples of contaminated tissues in the forest. However, you have a little time for outing and the quantity of the samples will decrease closer to City.<s>n<s>n","answers":[{"id":15,"text":"Text","lua_text":"function lua_text()<s>nreturn vars[<s>"bolezn<s>"..g2_sloz][11-km/10]<s>nend","merge":true},{"id":15,"text":"<s>n<s>nOutings left:","var_show":["pohod"],"merge":true},{"middle_answer":true,"text":"Back","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":12},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":false,"lua_if":"function lua_if() return pohod > 0 end","instant":true,"id":15,"text":"Samples<s>nfor tests","lua_do":"function lua_do() pohod = pohod - 1<s>n<s>nobraz.test1 = obraz.test1 <plus> mal<s>nobraz.test2 = obraz.test2 <plus> bol<s>n<s>ndialog({ fontSizeForHeader = 0.9, <s>n         header = <s>"Outing<s>",<s>n         text = <s>"Small samples found: <s>"..mal..<s>"<s><s>nBig samples found: <s>"..bol, <s>n         answers = {{text = <s>"Continue<s>",<s>n         fontSize = 0.9}} })<s>nend","left_answer":true},{"comment":true,"id":15,"text":"Samples","lua_text":"function lua_text()<s>nreturn <s>"Tests: <s>"..test..<s>"<s><s>n<s><s>nSmall sample: <s>"..obraz.test1..<s>"<s><s>nBig sample: <s>"..obraz.test2<s>nend","left_answer":true},{"middle_answer":false,"instant":true,"left_answer":false,"right_answer":true,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"text":"Samples<s>nfor blockers","lua_if":"function lua_if() return pohod > 0 end","lua_do":"function lua_do() pohod = pohod - 1<s>n<s>nobraz.blok1 = obraz.blok1 <plus> mal<s>nobraz.blok2 = obraz.blok2 <plus> bol<s>n<s>ndialog({ fontSizeForHeader = 0.9, <s>n         header = <s>"Outing<s>",<s>n         text = <s>"Small samples found: <s>"..mal..<s>"<s><s>nBig samples found: <s>"..bol, <s>n         answers = {{text = <s>"Continue<s>",<s>n         fontSize = 0.9}} })<s>nend","id":15},{"right_answer":true,"lua_text":"function lua_text()<s>nreturn <s>"Blockers: <s>"..blok..<s>"<s><s>n<s><s>nSmall sample: <s>"..obraz.blok1..<s>"<s><s>nBig sample: <s>"..obraz.blok2 end","id":15,"text":"Samples","comment":true},{"super_calculate":false,"id":15,"calculate":true,"lua_do":"function lua_do()<s>nbol = math.random(0,<s>n({3,2,2,1,1,1,0,0,0,0})[10-km/10<plus>1])<s>nmal = math.random(1,<s>n({6,6,5,5,4,4,3,3,2,2})[10-km/10<plus>1])<s>n<s>nif obraz.blok2 <plus> obraz.test2 >= 0 then<s>nmnogo_obraz = 1 end<s>n<s>nend","text":"New answer. enter the text"},{"id":11,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Forest/Forest.jpg"},{"comment":true,"super_calculate":true,"id":13,"text":"background","lua_do":"function lua_do()<s>nlink = <s>"http://188.120.236.127/Epidemic/Forest/Forest<s>" <s>n<s>nif km < 40 then<s>nlink=link..<s>".jpg<s>"<s>nelseif km <70 then<s>nlink=link..({<s>"_Filth<s>", <s>"_Mushroom<s>", <s>"_Insect<s>"})[g2_sloz]..<s>"_1.jpg<s>"<s>nelse<s>nlink=link..({<s>"_Filth<s>", <s>"_Mushroom<s>", <s>"_Insect<s>"})[g2_sloz]..<s>"_2.jpg<s>"<s>nend<s>n<s>nlocal forest = display.newImage(link)<s>nforest.yScale = canvas.height / forest.height<s>nforest.xScale = forest.yScale<s>n<s>nforest.x = 0.5*canvas.width<s>nforest.y = 0.5*canvas.height<s>n<s>nforest:toFront() <s>n<s>nend","calculate":false}]},{"id":16,"text":"<s>nThe second chapter's achievements","answers":[{"calculate":false,"lua_text":"function lua_text()<s>nreturn <s>"Done <s>"..g2_o..<s>" %<s>" <s>nend","super_calculate":false,"id":10,"text":"New answer. enter the text","middle_answer":true,"comment":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"var_equal":["global previous_id",17],"id":17,"text":"Back to game","middle_answer":true},{"var_not":["global previous_id",17],"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true,"text":"To menu","id":1},{"middle_answer":true,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"var_equal":["global previous_id",17],"id":33,"instant":true,"lua_do":"function lua_do()<s>ng.fullscreen = 1<s>nback_button = 16<s>nend","text":"Collection cards"},{"lua_if":"function lua_if() return g.g2_o1 == 0 end","middle_answer":true,"text":"Achievement: <s>"Sticky way<s>"<s>n(To run the chapter with the first disease)<s>nNOT DONE<s>n_______________","comment":true,"id":10},{"lua_if":"function lua_if() return g.g2_o1 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"Sticky way<s>"<s>n(To run the chapter with the first disease)<s>nDONE","id":10,"no_transition":true},{"comment":true,"middle_answer":true,"text":"Achievement: <s>"To the forest for the mushrooms<s>"<s>n(To run the chapter with the second disease)<s>nNOT DONE<s>n_______________","lua_if":"function lua_if() return g.g2_o2 == 0 end","id":10},{"lua_if":"function lua_if() return g.g2_o2 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"To the forest for the mushrooms<s>"<s>n(To run the chapter with the second disease)<s>nDONE","id":10,"no_transition":true},{"lua_if":"function lua_if() return g.g2_o3 == 0 end","id":10,"text":"Achievement: <s>"Runaway from the swarm<s>"<s>n(To run the chapter with the third disease)<s>nNOT DONE<s>n_______________","comment":true,"middle_answer":true},{"lua_if":"function lua_if() return g.g2_o3 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"Runaway from the swarm<s>"<s>n(To run the chapter with the third disease)<s>nDONE","id":10,"no_transition":true},{"comment":true,"id":10,"text":"Achievement: <s>"Pediatrician<s>"<s>n(Run the chapter with Little Mary and Nick simultaneously)<s>nNOT DONE<s>n_______________","lua_if":"function lua_if() return g.g2_o4 == 0 end","middle_answer":true},{"lua_if":"function lua_if() return g.g2_o4 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"Pediatrician<s>"<s>n(Run the chapter with Little Mary and Nick simultaneously)<s>nDONE","id":10,"no_transition":true},{"lua_if":"function lua_if() return g.g2_o5 == 0 end","middle_answer":true,"text":"Achievement: <s>"Odditorium<s>"<s>n(Gather twenty big samples within one run)<s>nNOT DONE<s>n_______________","comment":true,"id":10},{"lua_if":"function lua_if() return g.g2_o5 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"Odditorium<s>"<s>n(Gather twenty big samples within one run)<s>nDONE","id":10,"no_transition":true},{"comment":true,"middle_answer":true,"text":"Achievement: <s>"A little more<s>"<s>n(Die at the end of the way)<s>nNOT DONE<s>n_______________","id":10,"lua_if":"function lua_if() return g.g2_o6 == 0 end"},{"lua_if":"function lua_if() return g.g2_o6 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"A little more<s>"<s>n(Die at the end of the way)<s>nDONE","id":10,"no_transition":true}]},{"id":17,"text":"<s>nRoadblock<s>n<s>nYou were able to reach City! Military met you at the roadblock. When you left, there weren't so strict actions of quarantine support... After a short talk with an officer you and your mates were sent to the city hospital escorted by soldiers. It seems everything will be more difficult than you hoped...<s>n<s>nNow you can look at your achievements, move to the third chapter choosing an opened disease or go back to menu to try this chapter with another final.","answers":[{"id":18,"text":"The third chapter: City","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true},{"middle_answer":true,"text":"Achievements","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":16},{"id":1,"text":"To menu","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true},{"super_calculate":false,"id":17,"calculate":true,"lua_do":"function lua_do()<s>nif g2_sloz == 1 then g.g2_o1 = 1<s>nelseif g2_sloz == 2 then g.g2_o2 = 1<s>nelseif g2_sloz == 3 then g.g2_o3 = 1 end<s>n<s>nlocal a=0<s>nfor i=1,4 do<s>n   for j=1,3 do<s>n      if dom_zilci[j] == ({1,2,7,8})[i] then<s>n      a=a<plus>1 end<s>n   end<s>nend<s>nif a>=3 then g.g2_o4 = 1 end<s>n<s>nif mnogo_obraz == 1 then<s>ng.g2_o5 = 1 end<s>nend","text":"Achievement"},{"id":17,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Final/Finalscene0.jpg"}]},{"id":18,"text":"<s>nThe third chapter: City<s>n<s>nThe soldiers delivered you to the city hospital. The situation was nasty. The disease broke out in the forests and came up to the city. Quarantine couldn't hold it back any more. Because of the due attention deficiency the moment was missed. There was no cure. It appeared that only you were able to obtain the cure concept in that village. And now on the base of blood of recovered people you need to repeat your gest... For better or worse, you had a man with you for a new cure test...<s>n<s>nEach new game the blood components are set randomly! ","answers":[{"id":5,"text":"Choose the disease of this chapter:","comment":true,"middle_answer":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_if":"function lua_if() return g.g2_o1 == 1 end","lua_do":"function lua_do() g3_sloz=1 calc_sloz()<s>nend","text":"Black taint<s>n( Little quantity of components )","middle_answer":true,"id":19},{"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"comment":true,"middle_answer":true,"text":"Black taint<s>n( Closed )","id":11,"lua_if":"function lua_if() return g.g2_o1 == 0 end"},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_if":"function lua_if() return g.g2_o2 == 1 end","middle_answer":true,"text":"Mushroom plague<s>n( Medium quantity of components )","id":19,"lua_do":"function lua_do() g3_sloz=2 calc_sloz()<s>nend"},{"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"comment":true,"id":11,"text":"Mushroom plague<s>n( Closed )","middle_answer":true,"lua_if":"function lua_if() return g.g2_o2 == 0 end"},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_if":"function lua_if() return g.g2_o3 == 1 end","id":19,"text":"Insect disease<s>n( Big quantity of components )","lua_do":"function lua_do() g3_sloz=3 calc_sloz()<s>nend","middle_answer":true},{"comment":true,"id":11,"middle_answer":true,"text":"Insect disease<s>n( Closed )","lua_if":"function lua_if() return g.g2_o3 == 0 end","bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"]},{"comment":true,"super_calculate":false,"id":5,"calculate":true,"text":"New answer. enter the text","lua_do":"function lua_do()<s>nglava_num = 3<s>nday=1 nek=0 viz =0<s>nblok = 5<s>nanaliz = 2<s>nreklam = 1<s>nreklam0 =1<s>nfin = 0<s>nprep_sozdan = 0<s>nimun={}<s>ninv={}<s>ncod={}<s>nk={0,0,0}<s>nkomb={{b=<s>"( Empty )<s>",c=0},{b=<s>"( Empty )<s>",c=0},{b=<s>"( Empty )<s>",c=0}}<s>nhistory_num = 0 text_history=<s>"<s>"<s>nachivka_krovi= 1<s>nachivka_komb= 0<s>n<s>nif not dom_zilci or #dom_zilci < 3 then<s>n   local t={1,2,3,4,5,6,7,8} dom_zilci={}<s>n   for i=1,3,2 do<s>n      local a = (2*math.random(1,#t/2))-1<s>n      dom_zilci[i] = t[a] dom_zilci[i<plus>1] = t[a<plus>1]<s>n      table.remove(t,a) table.remove(t,a)<s>n   end<s>nlocal a = math.random(1,#dom_zilci)<s>ninfektiv = dom_zilci[a] table.remove(dom_zilci,a)<s>nend<s>n<s>ncalc_sloz = function ()<s>nlocal kol_elem = {} <s>nr = math.random(1,3)<s>nif r==1 then<s>nkol_elem =({{1,2,2},{2,2,2},{2,3,2}})[g3_sloz]<s>nelseif r==2 then<s>nkol_elem =({{2,1,2},{2,2,2},{3,2,2}})[g3_sloz]<s>nelse<s>nkol_elem =({{2,2,1},{2,2,2},{2,2,3}})[g3_sloz]<s>nend<s>nlocal bukvi={<s>"A<s>", <s>"B<s>", <s>"C<s>", <s>"D<s>", <s>"E<s>", <s>"F<s>", <s>"G<s>", <s>"H<s>"}<s>nlocal cifri= {1,2,3,4,5,6,7,8}<s>nlocal bukvi2 ={}<s>nlocal cifri2 ={}<s>n   for i=1,8 do<s>n      a = math.random(1,#bukvi)<s>n      bukvi2[i] = bukvi[a] table.remove(bukvi, a)<s>n      cifri2[i] = cifri[a] table.remove(cifri, a)<s>n   end<s>n<s>nlocal cod1={}<s>n<s>n   for i=1,3 do<s>n      imun[i]={n=dom_zilci[i], krov=0,g_krov=0, an_b={}, an_c={}}<s>n      for j=1,kol_elem[i] do<s>n         imun[i].an_b[j] = bukvi2[1]<s>n         table.remove(bukvi2, 1)<s>n         imun[i].an_c[j] = cifri2[1]<s>n         cod1[#cod1<plus>1] = cifri2[1]<s>n         table.remove(cifri2, 1)<s>n      end<s>n   end<s>n<s>n   for i=1,3 do<s>n      local a =math.random(1,#cod1)<s>n      cod[i] = cod1[a]<s>n      table.remove (cod1, a)<s>n   end<s>n<s>nend<s>n<s>nend"},{"super_calculate":false,"id":11,"calculate":true,"lua_do":"function lua_do()<s>nlud={<s>n<s>n{n=1,name=<s>"Grandpa Thomas<s>", name2=<s>"Grandpa Thomas<s>", rech={<s>n<s>"My, my!<s>",<s>n<s>"All these people are sick with the same disease? What's a pity...<s>",<s>n<s>"The soldiers do nice work guarding the hospital...<s>",<s>n<s>"Our goings are bad if they can't hold this disease back even in the hospital...<s>",<s>n<s>"The military couldn't hold City under control... You are our last hope, doctor...<s>",<s>n<s>"These monsters... Did they burst into the hospital? I wish I had my hunting shotgun with me...<s>",<s>n<s>"Fight till the end, doctor...<s>",},}, <s>n<s>n{n=2,name=<s>"Little Mary<s>", name2=<s>"Little Mary<s>", rech={<s>n<s>"There is always strange smells in the hospitals...<s>",<s>n<s>"Last time I was in the hospital when my parents...<s>",<s>n<s>"So many sick people...<s>",<s>n<s>"I heard some shouts. I'm scared...<s>",<s>n<s>"Will the soldiers support us? Will they?<s>",<s>n<s>"Why do they shoot in the hospital?<s>",<s>n<s>"They... Are they already here?<s>",},}, <s>n<s>n{n=3,name=<s>"Alex<s>", name2=<s>"Alex<s>", rech={<s>n<s>"And do they call this as modern hospital?!<s>",<s>n<s>"What a long time they will gather all the sick ones here...<s>",<s>n<s>"Shooting sounded from outside for the whole night, I couldn't sleep!<s>",<s>n<s>"They brought the contaminated ones to this hospital and didn't even care about their isolation?!<s>",<s>n<s>"The soldiers are worrying somehow...<s>",<s>n<s>"They shoot just right behind the wall! What's the hell is going on?<s>",<s>n<s>"Did you decide to bury us here?!<s>",},}, <s>n<s>n{n=4,name=<s>"Grandma Grace<s>",name2=<s>"Grandma Grace<s>", rech={<s>n<s>"Got to this hospital for all that...<s>",<s>n<s>"I've already thought that the disease is heavy handed just in our village...<s>",<s>n<s>"Oh, I don't like all of this...<s>",<s>n<s>"What's happened in that department? I've heard the shots or did it just seem to me?<s>",<s>n<s>"Oh, doctor, I have little blood left due to my old age. But take as much as you need if it helps...<s>",<s>n<s>"What's happened with them... These are alive people...<s>",<s>n<s>"What will happen to us?<s>",},},<s>n<s>n{n=5,name=<s>"Peter<s>", name2=<s>"Peter<s>", rech={<s>n<s>"Here we are in City again...<s>",<s>n<s>"It seems the disease didn't pass City aside...<s>",<s>n<s>"What's an extent does this epidemic have...<s>",<s>n<s>"Were there contaminated people in especially heavy state in that wing? So, it's clear why everything was beyond of control then...<s>",<s>n<s>"I doubt we'll get out of here alive...<s>",<s>n<s>"The soldiers won't be able to hold them long...<s>",<s>n<s>"Well, doctor, now or never...<s>",},}, <s>n<s>n{n=6,name=<s>"Amelia<s>", name2=<s>"Amelia<s>", rech={<s>n<s>"I didn't dream about such coming back...<s>",<s>n<s>"My head is swimming of blood sight...<s>",<s>n<s>"The doctors try to help all these people but can do nothing...<s>",<s>n<s>"Something grumbled there behind the wall...<s>",<s>n<s>"More and more soldiers arrive to the hospital. What are they preparing for?<s>",<s>n<s>"The soldiers will hold them back, won't they?<s>",<s>n<s>"It's so scaring...<s>",},}, <s>n<s>n{n=7,name=<s>"Nick<s>", name2=<s>"Nick<s>", rech={<s>n<s>"My father must be somewhere here. I hope, we'll meet...<s>",<s>n<s>"When will they discharge us?<s>",<s>n<s>"I'm not afraid, you can take as much of my blood as you wish...<s>",<s>n<s>"It seems something has happened in the hospital...<s>",<s>n<s>"So many soldiers...<s>",<s>n<s>"I've never seen something like that...<s>",<s>n<s>"You will save all of us, won't you, doctor?<s>",},}, <s>n<s>n{n=8,name=<s>"Deborah<s>", name2=<s>"Deborah<s>", rech={<s>n<s>"I thought we wouldn't arrive...<s>",<s>n<s>"I see there are enough sick people in City too?<s>",<s>n<s>"Quarantine wasn't useful enough...<s>",<s>n<s>"The shooting in the hospital... How awful...<s>",<s>n<s>"There are more soldiers than doctors here...<s>",<s>n<s>"Now you are our last hope, doctor...<s>",<s>n<s>"Not best final...<s>",},}, <s>n<s>n}<s>nend","text":"New answer. enter the text"},{"super_calculate":false,"id":11,"calculate":true,"lua_do":"function lua_do()<s>n<s>nbolezn1={<s>n<s>"Your contaminated travelmate was put into the isolator, others were sent to the wards. They shouldn't see each other...<s>",<s>n<s>n<s>"Other hospital staff tries to help contaminated people gathering from all around the area. How much of them...<s>", <s>n<s>n<s>"You knew from the soldiers' talk that armed conflict took place at the edge of the city where the disease arrived earlier... It seems they reached the final stage of the disease. You should hurry up...<s>",<s>n<s>n<s>"Part of hospital is blocked. The shots and shouts sounded there the whole morning. The soldiers didn't answer the questions but everything was clear any way. Somebody of contaminated people who was brought in here from all City was out of control...<s>",<s>n<s>n<s>"Sick people stopped to admit to hospital. The soldiers set the barricades on the edges. Were the doings of City so bad indeed?<s>",<s>n<s>n<s>"The contaminated people broke through the barricades. The soldiers left drew inwards the hospital holding the menace but they won't stand long...<s>", <s>n<s>n<s>"Everything you managed to do is to block fire-safe doors to your working section... Lab, isolator and a ward with three people. Everything you've got... No shots and shouts can be heard from behind the doors, you were all alone. But this won't be long...<s>", } <s>n<s>nend","text":"New answer. enter the text"},{"id":18,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Hospital/Hospital_1.jpg"}]},{"id":19,"text":"<s>nHospital<s>n<s>n","answers":[{"id":19,"text":"Text","lua_text":"function lua_text()<s>nreturn bolezn1[day] end","merge":true},{"var_show":["day"],"comment":true,"middle_answer":true,"text":"Day","id":19},{"id":20,"text":"Isolator","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true},{"middle_answer":true,"text":"Ward","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":21},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_if":"function lua_if() return prep_sozdan ==0 end","lua_do":"function lua_do() for i=1,3 do k[i]=0<s>nkomb[i]={b=<s>"( Empty )<s>", c=0} end end","text":"Lab","id":22,"middle_answer":true},{"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"lua_if":"function lua_if() return prep_sozdan ==1 end","middle_answer":true,"lua_do":"function lua_do() for i=1,3 do k[i]=0<s>nkomb[i]={b=<s>"( Empty )<s>", c=0} end end","text":"Lab<s>n( Preparation is ready )","id":19,"comment":true},{"id":19,"text":"     ","comment":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":19,"lua_do":"function lua_do() day=day<plus>1<s>nif analiz < 1 then achivka_krovi=0 end<s>nanaliz=2<s>nfor i=1,3 do imun[i].krov=0 end reklam =1<s>n<s>nif day==8 then fin=1<s>n         dialog({ fontSizeForHeader = 0.9, <s>n         header = <s>"The end of the way<s>",<s>n         text = <s>"Your time is over... The contaminated people burst into your lab moved by endless bloodthirst...<s><s>n<s><s>nDon't lose your heart and try again!<s>", <s>n         answers = {{text = <s>"Continue<s>",<s>n         fontSize = 0.9}} })<s>n         showPage({id = 1})<s>nend<s>n<s>nif day==2 then<s>nblok=blok<plus>2<s>n         dialog({ fontSizeForHeader = 0.9, <s>n         header = <s>"Blockers<s>",<s>n         text = <s>"The nurse handed two blockers to you: <s><s><s>"They ordered to give two blocker per each doctor. This is everything we have in the hospital...<s><s><s>"<s>", <s>n         answers = {{text = <s>"Continue<s>",<s>n         fontSize = 0.9}} })<s>nend<s>n<s>nif fin == 0 then showPage({id = 19})<s>nend<s>n<s>n<s>nend","text":"To go to bed","middle_answer":true,"no_transition":true},{"id":12,"text":"     ","comment":true},{"middle_answer":true,"id":2,"bgAnswerImage":["http://188.120.236.127/images/buttons/ad.png"],"var_equal":["reklam",1],"lua_do":"function lua_do() if isPremium() ~= true then<s>n<s>nshowAd(<s>"rewardedVideo<s>",<s>nfunction() blok = blok <plus> 1 reklam = 0<s>nshowPage({id = 19}) end,<s>nfunction()<s>nshowPage({id = 19}) end)<s>n<s>nelse<s>nblok = blok <plus> 1 reklam = 0<s>nshowPage({id = 19})<s>nend end","text":"Bonus<s>nblocker<s>n( each move )","need":[1000],"no_transition":true},{"middle_answer":true,"id":19,"bgAnswerImage":["http://188.120.236.127/images/buttons/ad.png"],"var_equal":["reklam0",1],"lua_do":"function lua_do() if isPremium() ~= true then<s>n<s>nshowAd(<s>"rewardedVideo<s>",<s>nfunction() blok = blok <plus> 3 reklam0 = 0<s>nshowPage({id = 19}) end,<s>nfunction()<s>nshowPage({id = 19}) end)<s>n<s>nelse<s>nblok = blok <plus> 1 reklam0 = 0<s>nshowPage({id = 19})<s>nend end","text":"Three bonus<s>nblockers<s>n( one time )","need":[1000],"no_transition":true},{"bgAnswerImage":["http://188.120.236.127/Epidemic/button_buy.jpg"],"lua_if":"function lua_if()<s>nreturn isPremium() ~= true<s>nend","id":19,"middle_answer":true,"text":"Premium access","need":[1000],"dlc":"premium"},{"id":23,"text":"Final","need":10000},{"id":18,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Hospital/Hospital_1.jpg"}]},{"id":20,"text":"<s>nIsolator<s>n<s>n","answers":[{"id":20,"text":"Text","lua_text":"function lua_text()<s>nreturn <s>"Disease <s>"..lud[infektiv].name2..<s>" progressed with an enormous speed. There was a little of human left in this body. But in spite of now it became more a monster thirsting of your blood than human you have to help him any way.<s><s>n<s><s>nThe preparation should consist of three components taken from cured people's blood. The preparation will have maximal effect if its components sequence will match with the sequence of contaminated person. Each correctly chosen component fastens the cure. Each wrong one leads the sick patient closer to his death and enforces tissues' necrosis.<s>" <s>nend","merge":true},{"middle_answer":true,"text":"Back","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":19},{"var_show":["nek","%"],"comment":true,"id":20,"text":"Necrosis:","left_answer":true},{"var_show":["viz","%"],"comment":true,"id":20,"text":"Curing:","right_answer":true},{"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"comment":true,"middle_answer":true,"text":"Inject the preparation","lua_if":"function lua_if() return prep_sozdan ==0 end","id":20},{"comment":false,"middle_answer":true,"text":"Inject the preparation","no_transition":true,"lua_if":"function lua_if() return prep_sozdan ==1 end","instant":true,"lua_do":"function lua_do()<s>n   prep_sozdan = 0<s>n   local good=0 local good_c = 10<s>n   local bad=0 local bad_c = 10<s>n   history_num = history_num <plus>1<s>n   for i=1,3 do<s>n      if cod[i] == komb[i].c then<s>n         good = good <plus> 1<s>n      else<s>n         bad = bad <plus> 1<s>n      end<s>n   end<s>n<s>n   if good==3 then achivka_komb= 1 end<s>n<s>n   nek = math.min(100,nek <plus> bad_c*bad)<s>n   viz = math.min(100,viz <plus> good_c*good)<s>n<s>n   local text = <s>"Preparation <s>"..komb_name..<s>" is injected. Correctly chosen components: <s>"..good..<s>" / 3<s><s>n<s><s>nNecrosis is enlarged on <s>"..bad_c*bad..<s>" %<s><s>nCuring is enlarged on <s>"..good_c*good..<s>" %<s>"<s>n   text_history = text_history..<s>"<s><s>n<s><s>n<s>"..history_num..<s>". Preparation <s>"..komb_name..<s>" - matches: <s>"..good..<s>" / 3<s>"<s>n<s>n   if nek == 100 then<s>n      fin=1<s>n         dialog({ fontSizeForHeader = 0.9, <s>n         header = <s>"The end of the way<s>",<s>n         text = <s>"It didn't work and the patient died... The hope to create a preparation for curing the disease surrounded everything around was gone together with him...<s><s>n<s><s>nDon't lose your heart and try again!<s>", <s>n         answers = {{text = <s>"Continue<s>",<s>n         fontSize = 0.9}} })<s>n         showPage({id = 1})<s>n   else<s>n         if viz == 100 then fin=1<s>n            showPage({id = 23})<s>n         else<s>n            dialog({ fontSizeForHeader = 0.9, <s>n            header = <s>"Isolator<s>",<s>n            text = text, <s>n            answers = {{text = <s>"Continue<s>",<s>n            fontSize = 0.9}} })<s>n            showPage({id = 20})<s>n         end<s>n   end<s>nend","lua_text":"function lua_text()<s>nreturn <s>"Inject the preparation <s>"..komb_name<s>nend","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":20},{"comment":true,"var_show":["blok",") for necrosis degree decreasement"],"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"lua_if":"function lua_if() return blok == 0 end","id":20,"text":"Give a blocker (","instant":false,"middle_answer":true},{"id":20,"var_show":["blok",") for necrosis degree decreasement"],"lua_if":"function lua_if() return blok > 0 end","text":"Give a blocker (","middle_answer":true,"instant":true,"lua_do":"function lua_do() blok = blok-1<s>nnek = math.max(0,nek - 10) end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"]},{"lua_text":"function lua_text()<s>nreturn <s>"Medical history: <s>"..text_history<s>nend","id":20,"text":"History","lua_if":"function lua_if() return history_num > 0 end","comment":true},{"id":20,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Hospital/Hospital_2.jpg"},{"id":20,"text":"New answer. enter the text","lua_if":"function lua_if()<s>nreturn g3_sloz==1<s>nend","url":"http://188.120.236.127/Epidemic/Characters/MonsterFilth.png"},{"id":20,"text":"New answer. enter the text","lua_if":"function lua_if()<s>nreturn g3_sloz==3<s>nend","url":"http://188.120.236.127/Epidemic/Characters/MonsterInsect.png"},{"id":20,"text":"New answer. enter the text","lua_if":"function lua_if()<s>nreturn g3_sloz==2<s>nend","url":"http://188.120.236.127/Epidemic/Characters/MonsterMushroom.png"}]},{"id":21,"text":"<s>nWards<s>n<s>nThe secret of creation of universal cure against this strange and constantly developing disease is hidden in blood of people whom you cured in the village.","answers":[{"comment":true,"lua_text":"function lua_text()<s>nlocal text=<s>"<s><s>n<s><s>nYou have in lab:<s><s>n<s>"<s>nfor i=1, (#inv) do<s>n   text=text..inv[i].k..<s>" <s>"..inv[i].b<s>n   if i<#inv then text=text..<s>", <s>" end<s>nend return text end","id":21,"text":"Equipment","lua_if":"function lua_if() return #inv > 0 end","merge":true},{"super_calculate":false,"lua_do":"function lua_do() text_krovi = function () <s>nlocal text= <s>"Take blood<s><s>n Components: <s>"<s>nlocal spis=<s>"<s>"<s>nif imun[num].g_krov == 0 then text=text..<s>"unknown<s>" else<s>nfor i=1,#imun[num].an_b do<s>nspis=spis..imun[num].an_b[i]<s>n   if i==#imun[num].an_b then<s>n   spis=spis..<s>"<s>"<s>n   else spis=spis..<s>", <s>"end<s>nend end<s>ntext_krov=text..spis <s>nend end","calculate":true,"text":"Calculator","id":21},{"var_show":["analiz"],"comment":true,"middle_answer":true,"text":"Analyses left for today:","id":21},{"middle_answer":true,"text":"Back","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":19},{"lua_text":"function lua_text() local num = 1<s>nreturn lud[imun[num].n].name..<s>": <s><s><s>"<s>"..lud[imun[num].n].rech[day]..<s>"<s><s><s>"<s>" end","id":21,"text":"The first man","comment":true,"middle_answer":true},{"lua_do":"function lua_do() n=1 analiz_krovi() end","middle_answer":true,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"text":"Take blood","id":21,"instant":true,"lua_if":"function lua_if() local num=1<s>nreturn analiz > 0 and imun[num].krov==0<s>nend","lua_text":"function lua_text() num = 1 text_krovi()<s>nreturn text_krov end"},{"comment":true,"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"lua_if":"function lua_if() local num=1<s>nreturn analiz == 0 or imun[num].krov==1<s>nend","text":"Take blood","middle_answer":true,"instant":true,"id":21,"lua_text":"function lua_text() num = 1 text_krovi()<s>nreturn text_krov end"},{"comment":true,"id":21,"text":"The second man","middle_answer":true,"lua_text":"function lua_text() local num = 2<s>nreturn lud[imun[num].n].name..<s>": <s><s><s>"<s>"..lud[imun[num].n].rech[day]..<s>"<s><s><s>"<s>" end"},{"lua_if":"function lua_if() local num=2<s>nreturn analiz > 0 and imun[num].krov==0<s>nend","id":21,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"text":"Take blood","middle_answer":true,"instant":true,"lua_do":"function lua_do() n=2 analiz_krovi() end","lua_text":"function lua_text() num = 2 text_krovi()<s>nreturn text_krov end"},{"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"lua_if":"function lua_if() local num=2<s>nreturn analiz == 0 or imun[num].krov==1<s>nend","comment":true,"text":"Take blood","id":21,"instant":true,"middle_answer":true,"lua_text":"function lua_text() num = 2 text_krovi()<s>nreturn text_krov end"},{"lua_text":"function lua_text() local num = 3<s>nreturn lud[imun[num].n].name..<s>": <s><s><s>"<s>"..lud[imun[num].n].rech[day]..<s>"<s><s><s>"<s>" end","middle_answer":true,"text":"The third man","id":21,"comment":true},{"lua_if":"function lua_if() local num=3<s>nreturn analiz > 0 and imun[num].krov==0<s>nend","id":21,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"text":"Take blood","lua_do":"function lua_do() n=3 analiz_krovi() end","instant":true,"middle_answer":true,"lua_text":"function lua_text() num = 3 text_krovi()<s>nreturn text_krov end"},{"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"lua_if":"function lua_if() local num=3<s>nreturn analiz == 0 or imun[num].krov==1<s>nend","comment":true,"text":"Take blood","id":21,"instant":true,"middle_answer":true,"lua_text":"function lua_text() num = 3 text_krovi()<s>nreturn text_krov end"},{"super_calculate":false,"lua_do":"function lua_do() analiz_krovi = function()<s>nif analiz < 1 then achivka_krovi=0 end<s>nimun[n].g_krov = 1<s>nimun[n].krov = 1<s>nanaliz = analiz-1<s>nlocal spis=<s>"<s>"<s>n<s>nfor i=1,#imun[n].an_b do<s>n   local est=0<s>n<s>n   if #inv > 0 then<s>n   for j=1,#inv do<s>n      if inv[j].c == imun[n].an_c[i] then<s>n         inv[j].k=inv[j].k<plus>1 <s>n         est=1<s>n      end<s>n   end<s>n   end<s>n<s>n   if est==0 then<s>n      inv[#inv<plus>1] = {k=1, b=<s>"<s>", c=0}<s>n      inv[#inv].b = imun[n].an_b[i]<s>n      inv[#inv].c = imun[n].an_c[i]<s>n   end<s>n<s>n   spis=spis..imun[n].an_b[i]<s>n   if i==#imun[n].an_b then<s>n   spis=spis..<s>"<s>"<s>n   else spis=spis..<s>", <s>"end<s>n<s>nend<s>n<s>n   local text_dialog = <s>"From blood <s>"..lud[imun[n].n].name2..<s>" the next components were obtained: <s>"..spis<s>n<s>n         dialog({ fontSizeForHeader = 0.9, <s>n         header = <s>"Component is selected<s>",<s>n         text = text_dialog, <s>n         answers = {{text = <s>"Continue<s>",<s>n         fontSize = 0.9}} })<s>n<s>nend end","calculate":true,"id":21,"text":"Calculator"},{"id":20,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Hospital/Hospital_2.jpg"},{"comment":true,"super_calculate":true,"id":13,"text":"Heroes","calculate":false,"lua_do":"function lua_do()<s>nlocal hero={}<s>nfor i=1,3 do<s>nlink =<s>"http://188.120.236.127/Epidemic/Characters/<s>"..({<s>"Tyihon<s>", <s>"Masha<s>", <s>"Aleksey<s>", <s>"Klava<s>", <s>"Petr<s>", <s>"Nastya<s>", <s>"Kolya<s>", <s>"Darya<s>"})[dom_zilci[i]]..<s>"1.png<s>"<s>n<s>nhero[i] = display.newImage(link)<s>nhero[i].yScale =0.95*canvas.height / hero[i].height<s>nif dom_zilci[i] == 2 or dom_zilci[i] == 7 then<s>nhero[i].yScale =0.85*canvas.height / hero[i].height<s>nend<s>nhero[i].xScale = hero[i].yScale<s>nif dom_zilci[i] == 3 then<s>nhero[i].xScale = -hero[i].xScale<s>nend<s>n<s>nhero[i].x = canvas.width * ({0.2, 0.5, 0.8})[i]<s>nhero[i].y = canvas.height - 0.5*hero[i].contentHeight<s>n<s>nend<s>nend"}]},{"id":22,"text":"<s>nLab<s>n<s>nYou need to combine the preparation from blood components of those people who were cured of disease. This preparation will be injected to contaminated one.","answers":[{"middle_answer":true,"text":"Back","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":19},{"comment":true,"lua_text":"function lua_text()<s>nlocal text=<s>"You have in lab:<s><s>n<s>"<s>nfor i=1, (#inv) do<s>n   text=text..inv[i].k..<s>" <s>"..inv[i].b<s>n   if i<#inv then text=text..<s>", <s>" end<s>nend return text end","id":21,"text":"Equipment","lua_if":"function lua_if() return #inv > 0 end","merge":false},{"id":22,"text":"Combine three components obtained from cured people's blood to make preparation:","comment":true},{"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"comment":true,"lua_text":"function lua_text()<s>nreturn <s>"<s>"..komb[1].b<s>nend","id":22,"text":"1","middle_answer":false,"left_answer":true},{"right_answer":true,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_do":"function lua_do() num=1 nazatie_pravo() end","middle_answer":false,"text":"Change","instant":true,"id":22},{"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"comment":true,"lua_text":"function lua_text()<s>nreturn <s>"<s>"..komb[2].b<s>nend","id":22,"text":"2","middle_answer":false,"left_answer":true},{"right_answer":true,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_do":"function lua_do() num=2 nazatie_pravo() end","middle_answer":false,"text":"Change","instant":true,"id":22},{"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"comment":true,"lua_text":"function lua_text()<s>nreturn <s>"<s>"..komb[3].b<s>nend","id":22,"text":"3","middle_answer":false,"left_answer":true},{"right_answer":true,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_do":"function lua_do() num=3 nazatie_pravo() end","middle_answer":false,"text":"Change","instant":true,"id":22},{"lua_if":"function lua_if() local ok=0<s>nfor i=1,3 do if komb[i].c > 0 then ok=ok<plus>1 end end return ok ==3 end","right_answer":false,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true,"id":19,"text":"Create the preparation","instant":true,"lua_do":"function lua_do() prep_sozdan = 1<s>nkomb_name=komb[1].b..<s>"-<s>"..komb[2].b..<s>"-<s>"..komb[3].b<s>nlocal t={}<s>n<s>nfor i=1,3 do<s>n   for j=1,#inv do<s>n      if inv[j].c == komb[i].c then<s>n         inv[j].k =inv[j].k - 1<s>n         if inv[j].k == 0 then<s>n            table.remove(inv[j],1)<s>n            table.remove(inv[j],2)<s>n            table.remove(inv[j],3)<s>n            table.remove(inv,j) break<s>n         end<s>n      end<s>n   end<s>nend<s>n<s>n         dialog({ fontSizeForHeader = 0.9, <s>n         header = <s>"Lab<s>",<s>n         text = <s>"The preparation is created <s>"..komb_name, <s>n         answers = {{text = <s>"Continue<s>",<s>n         fontSize = 0.9}} })<s>n<s>nend"},{"comment":true,"right_answer":false,"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"text":"Create the preparation","middle_answer":true,"instant":true,"id":22,"lua_if":"function lua_if() local ok=0<s>nfor i=1,3 do if komb[i].c > 0 then ok=ok<plus>1 end end return ok ~=3 end"},{"super_calculate":false,"id":22,"calculate":true,"lua_do":"function lua_do() nazatie_pravo = function()<s>nk[num]=k[num] <plus>1<s>nif k[num] >#inv then k[num] = 0 end<s>nlocal summ= 1<s>nlocal t={1,2,3} table.remove(t,num)<s>n   if k[num] == k[t[1]] then summ=summ<plus>1 end<s>n   if k[num] == k[t[2]] then summ=summ<plus>1 end<s>nfor i=1,#inv do<s>n   if (k[num] == k[t[1]] and k[t[1]] >0 and summ > inv[k[num]].k) or<s>n(k[num] == k[t[2]] and k[t[2]] >0 and summ > inv[k[num]].k) then<s>n      k[num]=k[num] <plus>1<s>n      if k[num] >#inv then k[num] = 0 end<s>n   end<s>nend<s>n<s>nif k[num] == 0 then<s>n   komb[num].b = <s>"( Empty )<s>" <s>n   komb[num].c = 0<s>nelse<s>n   komb[num].b = inv[k[num]].b<s>n   komb[num].c = inv[k[num]].c<s>nend<s>nend end","text":"New answer. enter the text"},{"comment":true,"id":20,"text":"History","lua_text":"function lua_text()<s>nreturn <s>"Medical history: <s>"..text_history<s>nend","lua_if":"function lua_if() return history_num > 0 end"},{"id":22,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Hospital/Hospital_3.jpg"}]},{"id":23,"text":"<s>nThe cure<s>n<s>nYou did it! You were able to find the cure of the heaviest form of this unusual disease! Of course you will need more time and forces to return your patient into his human body. But echo of human mind began to awoke in him. You need to synthesize more preparation as quickly as possible and dispense the first part in ventilation system of hospital...<s>n<s>nNow you can look at your achievements, move to the epilogue choosing an opened disease or go back to menu to try this chapter with another final.","answers":[{"middle_answer":true,"text":"Epilogue","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":26},{"id":24,"text":"Achievements","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true},{"id":1,"text":"To menu","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true},{"super_calculate":false,"lua_do":"function lua_do()<s>nif g3_sloz == 1 then g.g3_o1 = 1<s>n   if day<6 then g.g3_o4 = 1 sekret_konc = 1<s>nend<s>nelseif g3_sloz == 2 then g.g3_o2 = 1<s>n   if day<6 then g.g3_o5 = 1 sekret_konc = 1<s>nend<s>nelseif g3_sloz == 3 then g.g3_o3 = 1<s>n   if day<6 then g.g3_o6 = 1 sekret_konc = 1<s>nend<s>nend<s>n<s>nif imun[1].g_krov <plus> imun[2].g_krov <plus> imun[3].g_krov < 3 then g.g3_o7 = 1 end<s>n<s>nif achivka_krovi == 1 then g.g3_o8 = 1 end<s>n<s>nif achivka_komb==1 and g3_sloz == 3 then<s>ng.g3_o9 = 1 end<s>n<s>n<s>ng.cards_table[3][(6<plus>g3_sloz)].vkl = 1<s>n<s>nend","calculate":true,"text":"Achievement","id":17},{"id":23,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Final/Antidote2.jpg"}]},{"id":24,"text":"<s>nThe third chapter's achievements","answers":[{"calculate":false,"lua_text":"function lua_text()<s>nreturn <s>"Done <s>"..g3_o..<s>" %<s>" <s>nend","super_calculate":false,"id":10,"text":"New answer. enter the text","middle_answer":true,"comment":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"var_equal":["global previous_id",23],"id":23,"text":"Back to game","middle_answer":true},{"var_not":["global previous_id",23],"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true,"text":"To menu","id":1},{"middle_answer":true,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"var_equal":["global previous_id",23],"id":33,"text":"Collection cards","lua_do":"function lua_do()<s>ng.fullscreen = 1<s>nback_button = 24<s>nend","instant":true},{"lua_if":"function lua_if() return g.g3_o1 == 0 end","middle_answer":true,"text":"Achievement: <s>"The taint at the entrance<s>"<s>n(To run the chapter with the first disease)<s>nNOT DONE<s>n_______________","comment":true,"id":10},{"lua_if":"function lua_if() return g.g3_o1 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"The taint at the entrance<s>"<s>n(To run the chapter with the first disease)<s>nDONE","id":10,"no_transition":true},{"comment":true,"middle_answer":true,"text":"Achievement: <s>"Mushroom revenge<s>"<s>n(To run the chapter with the second disease)<s>nNOT DONE<s>n_______________","lua_if":"function lua_if() return g.g3_o2 == 0 end","id":10},{"lua_if":"function lua_if() return g.g3_o2 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"Mushroom revenge<s>"<s>n(To run the chapter with the second disease)<s>nDONE","id":10,"no_transition":true},{"lua_if":"function lua_if() return g.g3_o3 == 0 end","id":10,"text":"Achievement: <s>"Insectoids invasion<s>"<s>n(To run the chapter with the third disease)<s>nNOT DONE<s>n_______________","comment":true,"middle_answer":true},{"lua_if":"function lua_if() return g.g3_o3 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"Insectoids invasion<s>"<s>n(To run the chapter with the third disease)<s>nDONE","id":10,"no_transition":true},{"comment":true,"id":10,"text":"Achievement: <s>"Fast help<s>"<s>n(Pass the chapter with the first disease for five days or less)<s>nNOT DONE<s>n_______________","lua_if":"function lua_if() return g.g3_o4 == 0 end","middle_answer":true},{"lua_if":"function lua_if() return g.g3_o4 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"Fast help<s>"<s>n(Pass the chapter with the first disease for five days or less)<s>nDONE","id":10,"no_transition":true},{"lua_if":"function lua_if() return g.g3_o5 == 0 end","middle_answer":true,"text":"Achievement: <s>"Race the mushrooms<s>"<s>n(Pass the chapter with the second disease for five days or less)<s>nNOT DONE<s>n_______________","comment":true,"id":10},{"lua_if":"function lua_if() return g.g3_o5 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"Race the mushrooms<s>"<s>n(Pass the chapter with the second disease for five days or less)<s>nDONE","id":10,"no_transition":true},{"comment":true,"middle_answer":true,"text":"Achievement: <s>"Faster than drosophila<s>"<s>n(Pass the chapter with the third disease for five days or less)<s>nNOT DONE<s>n_______________","id":10,"lua_if":"function lua_if() return g.g3_o6 == 0 end"},{"lua_if":"function lua_if() return g.g3_o6 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"Faster than drosophila<s>"<s>n(Pass the chapter with the third disease for five days or less)<s>nDONE","id":10,"no_transition":true},{"lua_if":"function lua_if() return g.g3_o7 == 0 end","id":10,"text":"Achievement: <s>"Important person<s>"<s>n(Pass the chapter without taking blood of one of the patients)<s>nNOT DONE<s>n_______________","middle_answer":true,"comment":true},{"lua_if":"function lua_if() return g.g3_o7 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"Important person<s>"<s>n(Pass the chapter without taking blood of one of the patients)<s>nDONE","id":10,"no_transition":true},{"lua_if":"function lua_if() return g.g3_o8 == 0 end","middle_answer":true,"text":"Achievement: <s>"Careful attitude<s>"<s>n(Pass the chapter taking blood no more than once a day)<s>nNOT DONE<s>n_______________","comment":true,"id":10},{"lua_if":"function lua_if() return g.g3_o8 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"Careful attitude<s>"<s>n(Pass the chapter taking blood no more than once a day)<s>nDONE","id":10,"no_transition":true},{"comment":true,"middle_answer":true,"text":"Achievement: <s>"A brain twister<s>"<s>n(Pass the chapter with the third disease and unriddle right combination completely)<s>nNOT DONE<s>n_______________","id":10,"lua_if":"function lua_if() return g.g3_o9 == 0 end"},{"lua_if":"function lua_if() return g.g3_o9 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"A brain twister<s>"<s>n(Pass the chapter with the third disease and unriddle right combination completely)<s>nDONE","id":10,"no_transition":true}]},{"id":25,"text":"<s>nAchievements run ","answers":[{"super_calculate":false,"id":25,"text":"Calculator","calculate":true,"lua_do":"function lua_do()<s>n<s>ng1_o=0 local kol = 9<s>nfor i=1,kol do<s>nif not g[<s>"g1_o<s>"..i] then g[<s>"g1_o<s>"..i]=0 end end<s>nfor i=1,kol do<s>nif g[<s>"g1_o<s>"..i]==1 then g1_o=g1_o<plus>1 end end <s>ng1_o = math.floor(g1_o*100/kol)<s>n<s>ng2_o=0 local kol = 6<s>nfor i=1,kol do<s>nif not g[<s>"g2_o<s>"..i] then g[<s>"g2_o<s>"..i]=0 end end<s>nfor i=1,kol do<s>nif g[<s>"g2_o<s>"..i]==1 then g2_o=g2_o<plus>1 end end <s>ng2_o = math.floor(g2_o*100/kol)<s>n<s>ng3_o=0 local kol = 9<s>nfor i=1,kol do<s>nif not g[<s>"g3_o<s>"..i] then g[<s>"g3_o<s>"..i]=0 end end<s>nfor i=1,kol do<s>nif g[<s>"g3_o<s>"..i]==1 then g3_o=g3_o<plus>1 end end <s>ng3_o = math.floor(g3_o*100/kol)<s>n<s>ng4_o=0 local kol = 9<s>nfor i=1,kol do<s>nif not g[<s>"g4_o<s>"..i] then g[<s>"g4_o<s>"..i]=0 end end<s>nfor i=1,kol do<s>nif g[<s>"g4_o<s>"..i]==1 then g4_o=g4_o<plus>1 end end <s>ng4_o = math.floor(g4_o*100/kol)<s>n<s>nend"}]},{"id":26,"text":"<s>nEpilogue<s>n<s>nYour actions at the hospital saved many lives but the threat wasn't over yet... You understood that you need to surpress the origin of the disease - something that caused it. Though you haven't any idea of what was that... <s>"I... I still hear them...<s>" — a contaminated person cured by you came in company of the soldier injured: <s>"They are deeply in the forest... Will we stop them?..<s>"<s>n<s>nThe city was overtaken with the disease and chaos. There was almost nothing left of military post... The cure was everything you had except for the will to live. You need to act now or it will be too late. You took the air content analyser from the military, cure supply and fellow traveller who could lead you to that place. The place where as you thought everything had begun. You went into the forest...<s>n<s>nEach new game the forest map is set randomly! ","answers":[{"id":5,"text":"Choose the disease of this chapter:","comment":true,"middle_answer":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true,"id":27,"text":"Black taint<s>n( Low danger )","lua_do":"function lua_do() g4_sloz=1 calc_sloz()<s>nend","lua_if":"function lua_if() return g.g3_o1 == 1 end"},{"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"lua_if":"function lua_if() return g.g3_o1 == 0 end","middle_answer":true,"text":"Black taint<s>n( Closed )","id":11,"comment":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":27,"lua_do":"function lua_do() g4_sloz=2 calc_sloz()<s>nend","text":"Mushroom plague<s>n( High danger )","middle_answer":true,"lua_if":"function lua_if() return g.g3_o2 == 1 end"},{"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"lua_if":"function lua_if() return g.g3_o2 == 0 end","id":11,"text":"Mushroom plague<s>n( Closed )","middle_answer":true,"comment":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_do":"function lua_do() g4_sloz=3 calc_sloz()<s>nend","middle_answer":true,"text":"Insect disease<s>n( Very high danger )","id":27,"lua_if":"function lua_if() return g.g3_o3 == 1 end"},{"comment":true,"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"middle_answer":true,"text":"Insect disease<s>n( Closed )","lua_if":"function lua_if() return g.g3_o3 == 0 end","id":11},{"comment":true,"super_calculate":false,"id":5,"calculate":true,"lua_do":"function lua_do()<s>nglava_num = 4<s>nhod=30<s>nz = 100<s>nblok = 10<s>nreklam0 = 1<s>nreklam = 1<s>nfin = 0<s>nperehod=0<s>nhod_ok = 0<s>n<s>ncalc_sloz = function ()<s>n<s>nlocal a = math.random(1,3)<s>nif a==1 then<s>nx_hero = 4 y_hero = 9<s>nelseif a==2 then<s>nx_hero = 14 y_hero = 2<s>nelse<s>nx_hero = 13 y_hero = 7 end<s>n<s>nhistory_h={}<s>nhistory_h[1] ={a=0, b=0}<s>nhistory_h[1].a=x_hero<s>nhistory_h[1].b=y_hero<s>n<s>nend<s>n<s>nif not dom_zilci or #dom_zilci < 3 then<s>n   local t={1,2,3,4,5,6,7,8} dom_zilci={}<s>n   for i=1,3,2 do<s>n      local a = (2*math.random(1,#t/2))-1<s>n      dom_zilci[i] = t[a] dom_zilci[i<plus>1] = t[a<plus>1]<s>n      table.remove(t,a) table.remove(t,a)<s>n   end<s>nlocal a = math.random(1,#dom_zilci)<s>ninfektiv = dom_zilci[a] table.remove(dom_zilci,a)<s>nend<s>n<s>nend","text":"New answer. enter the text"},{"super_calculate":false,"lua_do":"function lua_do()<s>nlud={<s>n<s>n{n=1,name=<s>"Grandpa Thomas<s>", name2=<s>"Grandpa Thomas<s>", pol=1, rech={<s>n<s>"I hope, they will take care of Little Mary...<s>",<s>n<s>"These voices... Why do I continue to hear them?<s>",<s>n<s>"I'm too old for roaming in the forests...<s>",<s>n<s>"The forest overgrew in real earnest.<s>",<s>n<s>"I hunted in this forest somewhen...<s>",<s>n<s>"Oh, such an ache in my back...<s>",<s>n<s>"So much crumbs are in my beard...<s>",},}, <s>n<s>n{n=2,name=<s>"Little Mary<s>", name2=<s>"Little Mary<s>", pol=2, rech={<s>n<s>"It's so dark and scareful here...<s>",<s>n<s>"I hope, grandpa won't worry too much...<s>",<s>n<s>"I'm already tired of slipping up of these roots...<s>",<s>n<s>"I don't like the forest...<s>",<s>n<s>"I wish I could return home sooner...<s>",<s>n<s>"When I'm scared, I try to think about something positive...<s>",<s>n<s>"Will the trees recover too?...<s>",},}, <s>n<s>n{n=3,name=<s>"Alex<s>", name2=<s>"Alex<s>", pol=1, rech={<s>n<s>"Why did I go here...<s>",<s>n<s>"Hope, they will reward me when we finish here...<s>",<s>n<s>"Don't even know where it is worse - in the hospital full of contaminated ones or here...<s>",<s>n<s>"I have strange wish to drink something...<s>",<s>n<s>"Do the contaminated ones hang around here too?<s>",<s>n<s>"No any blockers will be enough to survive in such a dead place...<s>",<s>n<s>"I should have returned to the village...<s>",},}, <s>n<s>n{n=4,name=<s>"Grandma Grace<s>",name2=<s>"Grandma Grace<s>", pol=2, rech={<s>n<s>"I have so strong pain in my old bones...<s>",<s>n<s>"Oh, doctor, don't run so fast...<s>",<s>n<s>"I'm so tired, hardly stand on my feet...<s>",<s>n<s>"This forest is a dead place...<s>",<s>n<s>"I wish I could recover my breath a bit...<s>",<s>n<s>"I became old, oh, too old...<s>",<s>n<s>"Hope, you will be able to wipe out this disease...<s>",},},<s>n<s>n{n=5,name=<s>"Peter<s>", name2=<s>"Peter<s>", pol=1,rech={<s>n<s>"Dark place, nothing to say...<s>",<s>n<s>"Hope, not many contaminated ones hang around here...<s>",<s>n<s>"I would never think such situation can be with me...<s>",<s>n<s>"Well, never mind, we'll wipe out this disease...<s>",<s>n<s>"Don't dawdle, doctor.<s>",<s>n<s>"The forest is so thick, it's dark as if it was night...<s>",<s>n<s>"We'll be at the place soon...<s>",},}, <s>n<s>n{n=6,name=<s>"Amelia<s>", name2=<s>"Amelia<s>", pol=2, rech={<s>n<s>"What a horror...<s>",<s>n<s>"I'm already tired of slipping up of these roots...<s>",<s>n<s>"This ghastly thing is everywhere...<s>",<s>n<s>"I don't like here completely...<s>",<s>n<s>"You'll fix everything, won't you, doctor?<s>",<s>n<s>"I wish I could wake up... As if it was just a dream...<s>",<s>n<s>"I'm tired...<s>",},}, <s>n<s>n{n=7,name=<s>"Nick<s>", name2=<s>"Nick<s>", pol=1, rech={<s>n<s>"Real adventure...<s>",<s>n<s>"Dad will be proud of me...<s>",<s>n<s>"I wonder how mum let me go...<s>",<s>n<s>"It's so dark here... Is that so because the forest is so thick?<s>",<s>n<s>"We'll win the disease and become heroes!<s>",<s>n<s>"When I grow up, I will be a doctor too!<s>",<s>n<s>"I wish we could reach the place sooner...<s>",},}, <s>n<s>n{n=8,name=<s>"Deborah<s>", name2=<s>"Deborah<s>", pol=2, rech={<s>n<s>"Nasty place...<s>",<s>n<s>"Hope, the military will find my husband to handle Nick to him...<s>",<s>n<s>"Yes, the forest has changed heavily...<s>",<s>n<s>"I wonder if I will recover completely after the disease?<s>",<s>n<s>"I wish I couldn't hear the voices until the end of my days...<s>",<s>n<s>"I've never seen anything like that...<s>",<s>n<s>"How much time are we going already?<s>",},}, <s>n<s>n}<s>nend","calculate":true,"text":"New answer. enter the text","id":11},{"super_calculate":false,"id":27,"text":"New answer. enter the text","calculate":true,"lua_do":"function lua_do() rana=function() <s>n<s>n   if map[y_hero][x_hero] == 1 then<s>n      z=math.max(0, z - ({5,10,15})[g4_sloz])<s>n   elseif map[y_hero][x_hero] == 2 then<s>n      z=math.max(0, z - ({30,40,50})[g4_sloz])<s>n   elseif map[y_hero][x_hero] == 3 then<s>n      z=math.max(0, z - ({60,80,100})[g4_sloz])<s>n   end<s>n<s>nif fin~= 1 then<s>nshowPage({id =27, transition=<s>"instant<s>"}) end<s>nend<s>n<s>nsmert = function()<s>nif z <= 0 then<s>n         dialog({ fontSizeForHeader = 0.9, <s>n         header = <s>"Disease<s>",<s>n         text = <s>"You inhaled of <s>"..({<s>"taint miasmas<s>", <s>"mushrooms' spores<s>", <s>"insects' dust<s>"})[g4_sloz]..<s>", You began to lose control of your body... No one cure could fight against such amount of the disease...<s><s>n<s><s>nDon't lose your heart and try again!<s>", <s>n         answers = {{text = <s>"Continue<s>",<s>n         fontSize = 0.9}} })<s>nshowPage ({id=1}) fin=1<s>nelseif hod <= 0 then<s>n         dialog({ fontSizeForHeader = 0.9, <s>n         header = <s>"Disease<s>",<s>n         text = <s>"The cure action period was over... You inhaled of <s>"..({<s>"taint miasmas<s>", <s>"mushrooms' spores<s>", <s>"insects' dust<s>"})[g4_sloz]..<s>", and began to lose control of your body...<s><s>n<s><s>nDon't lose your heart and try again!<s>", <s>n         answers = {{text = <s>"Continue<s>",<s>n         fontSize = 0.9}} })<s>nshowPage ({id=1}) fin=1<s>nend end end"},{"id":11,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Forest/Forest.jpg"}]},{"id":27,"text":"    <s>n","answers":[{"id":27,"text":"Forest<s>n<s>n","lua_if":"function lua_if() return perehod == 0 end","merge":true},{"id":27,"text":"Deeper into the forest...<s>n<s>n","lua_if":"function lua_if() return perehod == 1 end","merge":true},{"id":28,"text":"Final","need":10000},{"id":29,"text":"Final 2","need":10000},{"lua_text":"function lua_text()<s>n   local text_stor=<s>"<s>"<s>n<s>n   if map[y_hero][x_hero] == 0 then<s>n      text_stor = <s>"There was rather safely here. The device showed very LOW concentration of <s>"..({<s>"taint particles<s>", <s>"mushroom spores<s>", <s>"insects' dust<s>"})[g4_sloz]..<s>" in the air.<s><s>n<s><s>n<s>"<s>n   elseif map[y_hero][x_hero] == 1 then<s>n      text_stor = <s>"The device showed ENHANCED concentration of <s>"..({<s>"taint particles<s>", <s>"mushroom spores<s>", <s>"insects' dust<s>"})[g4_sloz]..<s>" in the air. Now the situation isn't critical yet but you need to search for another way... Your disease resistance was decreased a bit.<s><s>n<s><s>n<s>"<s>n   elseif map[y_hero][x_hero] == 2 then<s>n      text_stor = <s>"The device showed HIGH concentration of <s>"..({<s>"taint particles<s>", <s>"mushroom spores<s>", <s>"insects' dust<s>"})[g4_sloz]..<s>" in the air! You must search another road immediately... Your disease resistance was decreased strongly.<s><s>n<s><s>n<s>"<s>n   elseif map[y_hero][x_hero] == 3 then<s>n      text_stor = <s>"The device is off the scale! There is UNUSUALLY HIGH concentration of <s>"..({<s>"taint particles<s>", <s>"mushroom spores<s>", <s>"insects' dust<s>"})[g4_sloz]..<s>"! Your disease resistance is decreased too much!<s><s>n<s><s>n<s>"<s>n   end<s>n<s>n   local vertikal = 5 - y_hero<s>n   local gorizontal = 6 - x_hero<s>n<s>n  text_stor=text_stor..lud[infektiv].name..<s>": <s><s><s>"<s>"..lud[infektiv].rech[math.random(1,#lud[infektiv].rech)]..<s>" <s>"<s>n<s>n   if math.abs(vertikal) >= math.abs(gorizontal) then<s>n      if vertikal < 0 then<s>n         text_stor=text_stor..<s>"According to my feelings, the aim is to the NORTH from us<s><s><s>".<s>"<s>n      else<s>n         text_stor=text_stor.. <s>"It seems the aim is to the SOUTH from us<s><s><s>".<s>"<s>n      end<s>n   else<s>n      if gorizontal < 0 then<s>n         text_stor=text_stor.. <s>"I feel that the aim is to the WEST from us<s><s><s>".<s>"<s>n      else<s>n         text_stor=text_stor.. <s>"Most likely the aim is to the EAST from us<s><s><s>".<s>"<s>n      end<s>n   end<s>n<s>n--text_stor = text_stor..<s>"<s><s>n<s><s>nDisease resistance: <s>"..z..<s>" %<s>"<s>nreturn text_stor<s>nend","lua_if":"function lua_if() return fin==0 end","id":27,"text":"Text of course","comment":true,"merge":true},{"var_show":["z","%"],"comment":true,"middle_answer":true,"text":"Resistance:","id":27},{"var_show":["hod"],"comment":true,"middle_answer":true,"text":"Moves left:","id":27},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true,"lua_if":"function lua_if() return y_hero - 1 >= 1 end","instant":false,"id":27,"text":"The North","lua_do":"function lua_do() y_hero = y_hero - 1 reklam = 1 hod=hod-1 smert() if fin ~= 1 then rana() end end","no_transition":true},{"lua_if":"function lua_if() return y_hero - 1 < 1 end","comment":true,"id":27,"middle_answer":true,"text":"Weak signal","instant":true,"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"]},{"middle_answer":false,"text":"The West","left_answer":true,"lua_if":"function lua_if() return x_hero - 1 >= 1 end","id":27,"instant":false,"lua_do":"function lua_do() x_hero = x_hero - 1 <s>nreklam = 1 hod=hod-1 smert() if fin ~= 1 then rana() end end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"no_transition":true},{"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"comment":true,"lua_if":"function lua_if() return x_hero - 1 < 1 end","text":"Weak signal","middle_answer":false,"instant":true,"id":27,"left_answer":true},{"lua_do":"function lua_do() x_hero = x_hero <plus> 1<s>nreklam = 1 hod=hod-1 smert() if fin ~= 1 then rana() end end","text":"The East","left_answer":false,"right_answer":true,"lua_if":"function lua_if() return x_hero <plus> 1 <= 15 end","id":27,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"instant":false,"middle_answer":false,"no_transition":true},{"comment":true,"middle_answer":false,"text":"Weak signal","left_answer":false,"right_answer":true,"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"instant":true,"lua_if":"function lua_if() return x_hero <plus> 1 > 15 end","id":27},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_do":"function lua_do() y_hero = y_hero <plus> 1<s>nreklam = 1 hod=hod-1 smert() if fin ~= 1 then rana() end end","lua_if":"function lua_if() return y_hero <plus> 1 <= 10 end","instant":false,"middle_answer":true,"text":"The South","id":27,"no_transition":true},{"comment":true,"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"lua_if":"function lua_if() return y_hero <plus> 1 > 10 end","id":27,"text":"Weak signal","instant":true,"middle_answer":true},{"middle_answer":true,"var_show":["blok",") to increase the resistance"],"lua_if":"function lua_if() return blok > 0 end","instant":true,"id":27,"text":"Use the blocker (","lua_do":"function lua_do() z= math.min(z<plus>10,100)<s>nblok=blok-1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"]},{"id":27,"text":"     ","comment":true},{"middle_answer":true,"id":27,"bgAnswerImage":["http://188.120.236.127/images/buttons/ad.png"],"var_equal":["reklam",1],"lua_do":"function lua_do() if isPremium() ~= true then<s>n<s>nshowAd(<s>"rewardedVideo<s>",<s>nfunction() blok = blok <plus> 1 reklam = 0<s>nshowPage({id = 27}) end,<s>nfunction()<s>nshowPage({id = 27}) end)<s>n<s>nelse<s>nblok = blok <plus> 1 reklam = 0<s>nshowPage({id = 27})<s>nend end","text":"Bonus<s>nblocker<s>n( each move )","need":[1000],"no_transition":true},{"middle_answer":true,"id":27,"bgAnswerImage":["http://188.120.236.127/images/buttons/ad.png"],"var_equal":["reklam0",1],"lua_do":"function lua_do() if isPremium() ~= true then<s>n<s>nshowAd(<s>"rewardedVideo<s>",<s>nfunction() blok = blok <plus> 3 reklam0 = 0<s>nshowPage({id = 27}) end,<s>nfunction()<s>nshowPage({id = 27}) end)<s>n<s>nelse<s>nblok = blok <plus> 3 reklam0 = 0<s>nshowPage({id = 27})<s>nend end","text":"Three bonus<s>nblockers<s>n( one time )","need":[1000],"no_transition":true},{"bgAnswerImage":["http://188.120.236.127/Epidemic/button_buy.jpg"],"lua_if":"function lua_if()<s>nreturn isPremium() ~= true<s>nend","middle_answer":true,"id":27,"text":"Premium access","need":[1000],"dlc":"premium"},{"lua_if":"function lua_if() return fin==0 end","super_calculate":false,"lua_do":"function lua_do()<s>nhistory_h[#history_h<plus>1] ={a, b}<s>nhistory_h[#history_h].a=x_hero<s>nhistory_h[#history_h].b=y_hero<s>nmap = {<s>n{0,1,0,0,0,0,0,0,0,0,0,0,0,0,0},<s>n{1,2,1,0,0,0,0,0,1,0,0,0,0,0,0},<s>n{0,1,0,0,1,0,0,1,2,1,0,1,0,0,0},<s>n{0,0,0,1,2,1,0,0,1,0,1,2,1,0,0},<s>n{0,0,1,2,3,5,1,0,0,1,2,3,2,1,0},<s>n{0,0,0,1,2,3,2,1,0,0,1,2,1,0,0},<s>n{0,0,1,2,1,2,1,0,0,0,0,1,0,0,0},<s>n{0,1,2,1,0,1,0,0,0,1,0,0,0,0,0},<s>n{0,0,1,0,0,0,0,0,1,2,1,0,0,0,1},<s>n{0,0,0,0,0,0,0,1,2,3,2,1,0,1,2},<s>n}<s>nend","calculate":true,"id":27,"text":"New answer. enter the text"},{"bgAnswerImage":["http://188.120.236.127/images/koloda8/b_pust.png"],"lua_if":"function lua_if() return fin==0 end","middle_answer":true,"id":27,"text":"New answer. enter the text","comment":true,"lua_text":"function lua_text()<s>ntext=<s>"You schematically denoted the contamination degree in the areas passed:<s><s>n<s>" <s>nfor i=1,#map do<s>n   for j=1,#map[1] do<s>n      if y_hero==i and x_hero ==j then<s>n         text = text..<s>"<plus> <s>"<s>n      else<s>n         local a=0<s>n         for t=1,#history_h do<s>n            if history_h[t].a==j and history_h[t].b==i <s>nthen text = text..map[i][j] a=1 break end<s>n          end<s>n           if a==0 then text = text..<s>"• <s>" end<s>n      end<s>n      if j==#map[1] and i~=#map then<s>n         text = text..<s>"<s><s>n<s>"<s>n      end<s>n   end<s>nend<s>nreturn text<s>nend"},{"super_calculate":false,"id":27,"calculate":true,"lua_do":"function lua_do() if x_hero == 6 and y_hero==5 and perehod==0 then<s>nshowPage ({id=28}) perehod=1<s>nelseif x_hero == 6 and y_hero==5 and perehod==1 then<s>nshowPage ({id=29}) perehod=2 end<s>nend","text":"New answer. enter the text"},{"id":11,"text":"New answer. enter the text","url":"http://188.120.236.127/Epidemic/Forest/Forest.jpg"},{"comment":true,"super_calculate":true,"id":13,"text":"background","calculate":false,"lua_do":"function lua_do()<s>nlink = <s>"http://188.120.236.127/Epidemic/Forest/Forest<s>" <s>n<s>nif map[y_hero][x_hero] ==0 then<s>nlink=link..<s>".jpg<s>"<s>nelseif map[y_hero][x_hero] ==1 then<s>nlink=link..({<s>"_Filth<s>", <s>"_Mushroom<s>", <s>"_Insect<s>"})[g4_sloz]..<s>"_1.jpg<s>"<s>nelse<s>nlink=link..({<s>"_Filth<s>", <s>"_Mushroom<s>", <s>"_Insect<s>"})[g4_sloz]..<s>"_2.jpg<s>"<s>nend<s>n<s>nlocal forest = display.newImage(link)<s>nforest.yScale = canvas.height / forest.height<s>nforest.xScale = forest.yScale<s>n<s>nforest.x = 0.5*canvas.width<s>nforest.y = 0.5*canvas.height <s>n<s>nend"}]},{"id":28,"text":"     ","answers":[{"lua_text":"function lua_text()<s>nreturn <s>"<s><s>nBlack heart<s><s>n<s><s>nYou came to the glade with a massive object of black slime in the middle of it. You looked carefully and noticed that it was pulsing as a huge heart... Slime spreaded to all the sides from it and moved slowly inwards the forest... <s><s><s>"No, it's not the origin... So strange... Not this thing was calling for me...<s><s><s>" - <s>"..lud[infektiv].name..<s>" <s>"..({<s>"made a step towards the heart and immediately fell<s>", <s>"made a step towards the heart and immediately fell<s>"})[lud[infektiv].pol]..<s>" on knees... All the taint around began trembling simultaneously...<s><s>n<s><s>nYou made a lot of efforts to pull out <s>"..lud[infektiv].name2..<s>" from sticky capture of the taint spreaded around and draw aside: <s><s><s>"It was... Like they tried to tear my mind of my body... But now the voices became louder... Much louder! I know where we must go!<s><s><s>"<s><s>n<s><s>nThis contact wasn't definitely useless for <s>"..({<s>"him<s>",<s>"her<s>"})[lud[infektiv].pol]..<s>" The contamination began to progress. Maybe you should stop to attach unbearable heroic duties to yourself and help those whom you really can help... Or should you continue your way...<s><s>n<s><s>nDo you want to continue?<s>"<s>nend","id":28,"text":"Text 1","lua_if":"function lua_if() return g4_sloz ==1 end","merge":true},{"lua_if":"function lua_if() return g4_sloz ==2 end","id":28,"text":"Text 2","lua_text":"function lua_text()<s>nreturn <s>"<s><s>nGiant mushroom<s><s>n<s><s>nYou came to the glade with a monstrously huge red mushroom in its middle... Pulsing spawn fibres spreaded to all the sides from it and twined the forest... <s><s><s>"No, it's not the disease's origin... Just a tool... So strange... Not this thing was calling me...<s><s><s>" - <s>"..lud[infektiv].name..<s>" <s>"..({<s>"made a step towards the mushroom and immediately fell<s>", <s>"made a step towards the mushroom and immediately fell<s>"})[lud[infektiv].pol]..<s>" on knees... All the spawn fibres around began trembling simultaneously...<s><s>n<s><s>nYou made a lot of efforts to pull out <s>"..lud[infektiv].name2..<s>" from capture of the fibres twined everything around and draw aside: <s><s><s>"It was... Like they tried to tear my mind of my body... But now the voices became louder... Much louder! I know where we must go!<s><s><s>"<s><s>n<s><s>nThis contact wasn't definitely useless for <s>"..({<s>"him<s>",<s>"her<s>"})[lud[infektiv].pol]..<s>" The contamination began to progress. Maybe you should stop to attach unbearable heroic duties to yourself and help those whom you really can help... Or should you continue your way...<s><s>n<s><s>nDo you want to continue?<s>"<s>nend","merge":true},{"lua_text":"function lua_text()<s>nreturn <s>"<s><s>nGiant swarm<s><s>n<s><s>nYou came to the glade with a huge buzzing swarm in its middle... Sticky fibres spreaded to the all sides, twined the forest and unimaginable quantity of giant insects crawled on them... <s><s><s>"No, it's not the disease's origin... Just a tool... So strange... Not this thing was calling me...<s><s><s>" - <s>"..lud[infektiv].name..<s>" <s>"..({<s>"made a step towards the mushroom and immediately fell<s>", <s>"made a step towards the mushroom and immediately fell<s>"})[lud[infektiv].pol]..<s>" on knees... The insects on the glade began buzzing simultaneously so loudly that your ears became plugged...<s><s>n<s><s>nYou made a lot of efforts to pull out <s>"..lud[infektiv].name2..<s>" from the flocking all around creatures' legs and draw aside: <s><s><s>"It was... Like they tried to tear my mind of my body... But now the voices became louder... Much louder! I know where we must go!<s><s><s>"<s><s>n<s><s>nThis contact wasn't definitely useless for <s>"..({<s>"him<s>",<s>"her<s>"})[lud[infektiv].pol]..<s>" The contamination began to progress. Maybe you should stop to attach unbearable heroic duties to yourself and help those whom you really can help... Or should you continue your way...<s><s>n<s><s>nDo you want to continue?<s>"<s>nend","id":28,"text":"Text 3","lua_if":"function lua_if() return g4_sloz ==3 end","merge":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":27,"text":"Yes","lua_do":"function lua_do() calc_sloz()<s>nend","left_answer":true},{"id":30,"right_answer":true,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"text":"No"},{"id":28,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Final/Finalscene6.jpg","var_equal":["g4_sloz",1]},{"id":28,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Final/Finalscene1.jpg","var_equal":["g4_sloz",2]},{"id":28,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Final/Finalscene3.jpg","var_equal":["g4_sloz",3]}]},{"id":29,"text":"    ","answers":[{"lua_if":"function lua_if() return g4_sloz ==1 end","id":28,"text":"Text 1","lua_text":"function lua_text()<s>nreturn <s>"<s><s>nMilitary town<s><s>n<s><s>nYou fought your way through the thick brushwood and appeared near concrete fence which was destroyed with the roots of contaminated trees. Barracks and hangars covered with black slime can be seen behind it. Is it any military post? <s><s><s>"Go here, it's definitely here...<s><s><s>" - <s>"..lud[infektiv].name..<s>" <s>"..({<s>"ran towards one of the hangars and hid inside.<s>", <s>"ran towards one of the hangars and hid inside.<s>"})[lud[infektiv].pol]..<s>" You hurried to follow, tried not to step into the slime spreaded everywhere, entered the hangar and froze at the entrance...<s><s>n<s><s>nThere was an ark risen in the centre of the hangar. It was surrounded with a lot of stairs and equipment and looked like a pilule made of black smooth metal... But it was opened a little and the slime poured from it with a steady flow... <s><s><s>"It was sleeping... Very long time... They found... And opened...<s><s><s>" - <s>"..lud[infektiv].name..<s>" <s>"..({<s>"was already near the ark and you could do nothing to stop him: <s>", <s>"was already near the ark and you could do nothing to stop her: <s>"})[lud[infektiv].pol]..<s>"<s><s><s>"I hear them... Hundreds of people voices... I know what I should do...<s><s><s>"<s>"<s>nend","merge":true},{"lua_text":"function lua_text()<s>nreturn <s>"<s><s>nArboretum<s><s>n<s><s>nYou fought your way through the thick brushwood and appeared near wicker fence which was scrunched with the roots of contaminated trees. Exotic trees and glassy green-house cupolas can be seen behind it. Somewhen it was a reservation here... <s><s><s>"Go here, it's definitely here...<s><s><s>" - <s>"..lud[infektiv].name..<s>" <s>"..({<s>"ran to one of the green-houses and hid inside.<s>", <s>"ran to one of the green-houses and hid inside.<s>"})[lud[infektiv].pol]..<s>" You hurried to follow, tried not to tangle in mushroom fibres, entered the green-house and froze at the entrance...<s><s>n<s><s>nThe room was almost fulled with spawn twined in one unit mass... And all these fibres grew up from human body which was embedded into mushroom mass... To say the truth, it wasn't looking like human any more, just an aptrophied mummy... But the body was alive and you saw the heart beating... <s><s><s>"She experimented... Crossbreeded the species... They didn't survive... Died... But one experiment was successful... Crossbreeding with her own DNA...<s><s><s>" - <s>"..lud[infektiv].name..<s>" <s>"..({<s>"was already near the body and you couldn't stop him: <s>", <s>"was already near the body and you couldn't stop her: <s>"})[lud[infektiv].pol]..<s>"<s><s><s>"I know what we should do... We need to cure her... Cure...<s><s><s>"<s>"<s>nend","id":28,"text":"Text 2","lua_if":"function lua_if() return g4_sloz ==2 end","merge":true},{"lua_if":"function lua_if() return g4_sloz ==3 end","id":28,"text":"Text 3","lua_text":"function lua_text()<s>nreturn <s>"<s><s>nQueen<s><s>n<s><s>nYou fought your way through the thick brushwood and appeared near concrete building without any windows and doors. Deep ravine can be seen near it, and approximately it appeared recently... Was it local earthquake? You went around the concrete block and found that part of the building fell to the ravine and showed the barrels with radioactive waste buried under the ground and concrete thickness... <s><s><s>"Go here, it's definitely here...<s><s><s>" - <s>"..lud[infektiv].name..<s>" <s>"..({<s>"began<s>", <s>"began<s>"})[lud[infektiv].pol]..<s>" to go down into the ravine by a plumb slant. You hurried to follow, fought against endless insects simultaneously and froze at the ravine edge...<s><s>n<s><s>nThe ravine slants were fully covered with sticky mass which looked like bee wax... And an ugly awfully huge bee was sitting on the heap of yellow barrels at the bottom of the ravine. It was surrounded with unimaginable amount of insects... <s><s><s>"This poison changed her... But she remembered... She had to make the swarm... To became its mind... She was able... She could control all the insects... And change them as she changed herself...<s><s><s>" - <s>"..lud[infektiv].name..<s>" <s>"..({<s>"was already at the bottom of the ravine and you couldn't stop him: <s>", <s>"was already at the bottom of the ravine and you couldn't stop her: <s>"})[lud[infektiv].pol]..<s>"<s><s><s>"I hear her... She wants us all to become the part of her swarm...<s><s><s>"<s>"<s>nend","merge":true},{"id":32,"text":"Continue","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"middle_answer":true},{"id":29,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Final/Finalscene5.jpg","var_equal":["g4_sloz",1]},{"id":29,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Final/Finalscene2.jpg","var_equal":["g4_sloz",2]},{"id":29,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Final/Finalscene4.jpg","var_equal":["g4_sloz",3]}]},{"id":30,"text":"<s>nDecision<s>n<s>nYou decided to refuse a following search for the contamination origin. Better a tomtit in your hand than a crane in the sky. At least you will save life of the man which you are responsible for. Besides, you've invented the cure indeed! So, at the end people will get this contamination over... Probably...<s>n<s>nCongratulations! You've passed the game with one of the ends of this disease! Now you can estimate your achievements or go back to menu to run the game with another disease or try to run the epilogue with another final.","answers":[{"text":"New answer. enter the text","comment":true,"super_calculate":false,"lua_do":"function lua_do()<s>nif g4_sloz == 1 then g.g4_o1 = 1<s>nelseif g4_sloz == 2 then g.g4_o2 = 1<s>nelseif g4_sloz == 3 then g.g4_o3 = 1 end<s>nend","calculate":true,"id":30,"merge":false},{"middle_answer":true,"text":"Achievements","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":31},{"id":28,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Final/Finalscene6.jpg","var_equal":["g4_sloz",1]},{"id":28,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Final/Finalscene1.jpg","var_equal":["g4_sloz",2]},{"id":28,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Final/Finalscene3.jpg","var_equal":["g4_sloz",3]}]},{"id":31,"text":"<s>nEpilogue's achievements","answers":[{"calculate":false,"lua_text":"function lua_text()<s>nreturn <s>"Done <s>"..g4_o..<s>" %<s>" <s>nend","super_calculate":false,"id":10,"text":"New answer. enter the text","middle_answer":true,"comment":true},{"middle_answer":true,"text":"To menu","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":1},{"lua_if":"function lua_if() return g.g4_o1 == 0 end","middle_answer":true,"text":"Achievement: <s>"Broken heart<s>"<s>n(To run the chapter with the first disease and go back after meeting black heart)<s>nNOT DONE<s>n_______________","comment":true,"id":10},{"lua_if":"function lua_if() return g.g4_o1 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"Broken heart<s>"<s>n(To run the chapter with the first disease and go back after meeting black heart)<s>nDONE","id":10,"no_transition":true},{"comment":true,"middle_answer":true,"text":"Achievement: <s>"False mushroom<s>"<s>n(To run the chapter with the second disease and go back after meeting giant mushroom)<s>nNOT DONE<s>n_______________","lua_if":"function lua_if() return g.g4_o2 == 0 end","id":10},{"lua_if":"function lua_if() return g.g4_o2 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"False mushroom<s>"<s>n(To run the chapter with the second disease and go back after meeting giant mushroom)<s>nDONE","id":10,"no_transition":true},{"lua_if":"function lua_if() return g.g4_o3 == 0 end","id":10,"text":"Achievement: <s>"Wrong bees<s>"<s>n(To run the chapter with the third disease and go back after meeting the swarm)<s>nNOT DONE<s>n_______________","comment":true,"middle_answer":true},{"lua_if":"function lua_if() return g.g4_o3 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"Wrong bees<s>"<s>n(To run the chapter with the third disease and go back after meeting the swarm)<s>nDONE","id":10,"no_transition":true},{"comment":true,"id":10,"text":"Achievement: <s>"Taint victim<s>"<s>n(Get the first disease over with sacrifice)<s>nNOT DONE<s>n_______________","lua_if":"function lua_if() return g.g4_o4 == 0 end","middle_answer":true},{"lua_if":"function lua_if() return g.g4_o4 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"Taint victim<s>"<s>n(Get the first disease over with sacrifice)<s>nDONE","id":10,"no_transition":true},{"lua_if":"function lua_if() return g.g4_o5 == 0 end","middle_answer":true,"text":"Achievement: <s>"Science victim<s>"<s>n(Get the second disease over with sacrifice)<s>nNOT DONE<s>n_______________","comment":true,"id":10},{"lua_if":"function lua_if() return g.g4_o5 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"Science victim<s>"<s>n(Get the second disease over with sacrifice)<s>nDONE","id":10,"no_transition":true},{"comment":true,"middle_answer":true,"text":"Achievement: <s>"Queen's victim<s>"<s>n(Get the third disease over with sacrifice)<s>nNOT DONE<s>n_______________","id":10,"lua_if":"function lua_if() return g.g4_o6 == 0 end"},{"lua_if":"function lua_if() return g.g4_o6 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"Queen's victim<s>"<s>n(Get the third disease over with sacrifice)<s>nDONE","id":10,"no_transition":true},{"lua_if":"function lua_if() return g.g4_o7 == 0 end","id":10,"text":"Achievement: <s>"Perfect victory!<s>"<s>n(Get the first disease over without any victims)<s>nNOT DONE<s>n_______________","middle_answer":true,"comment":true},{"lua_if":"function lua_if() return g.g4_o7 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"Perfect victory!<s>"<s>n(Get the first disease over without any victims)<s>nDONE","id":10,"no_transition":true},{"lua_if":"function lua_if() return g.g4_o8 == 0 end","middle_answer":true,"text":"Achievement: <s>"Great victory!<s>"<s>n(Get the second disease over without any victims)<s>nNOT DONE<s>n_______________","comment":true,"id":10},{"lua_if":"function lua_if() return g.g4_o8 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"Great victory!<s>"<s>n(Get the second disease over without any victims)<s>nDONE","id":10,"no_transition":true},{"comment":true,"middle_answer":true,"text":"Achievement: <s>"Legendary victory!<s>"<s>n(Get the third disease over without any victims)<s>nNOT DONE<s>n_______________","id":10,"lua_if":"function lua_if() return g.g4_o9 == 0 end"},{"lua_if":"function lua_if() return g.g4_o9 == 1 end","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"comment":false,"middle_answer":true,"text":"Achievement: <s>"Legendary victory!<s>"<s>n(Get the third disease over without any victims)<s>nDONE","id":10,"no_transition":true},{"id":31,"text":"Help clue: you can get the last achievements if you pass the third chapter for five days or less.","comment":true}]},{"id":32,"text":"<s>nRecovery price<s>n<s>n","answers":[{"lua_if":"function lua_if() return g4_sloz ==1 end","id":28,"text":"Text 1","lua_text":"function lua_text()<s>nreturn <s>"The closer <s>"..lud[infektiv].name..<s>" <s>"..({<s>"came to the ark, the stronger contamination got him over... And when his body <s>", <s>"came to the ark, the stronger contamination got her over... And when her body <s>"})[lud[infektiv].pol]..<s>"was covered with black slime completely all the substance coated the hangar and the ark together with it - everything began trembling... A drawling creak sounded and the capsula of ark closed with a bang. At the same moment black slime froze, lost its viscosity and flowed like water... The cure you injected in the hospital was enough... - <s>"..lud[infektiv].name..({<s>" was able to save his mind and...<s>", <s>" was able to save her mind and...<s>"})[lud[infektiv].pol]..<s>" give the order to the ark when became a part of this terrible system? You leaned on the wall and crawled down to the floor. Was the world saved indeed? <s>"<s>nend","merge":true},{"lua_text":"function lua_text()<s>nreturn <s>"Right in front of your eyes the spawn began to twine <s>"..lud[infektiv].name2..<s>". The contamination progressed each second until pulsing spawn stopped frozen immediately... Next moment bloody brightening of the mushrooms dimmed and the fibres began to shrivel and go to dust... The cure! That cure you had injected in the hospital was enough - <s>"..lud[infektiv].name..({<s>" transferred <s>", <s>" transferred <s>"})[lud[infektiv].pol]..<s>" it to this terrible mushroom system from blood! You leaned on the wall and crawled down to the floor. Was the world saved indeed? <s>"<s>nend","id":28,"text":"Text 2","lua_if":"function lua_if() return g4_sloz ==2 end","merge":true},{"lua_if":"function lua_if() return g4_sloz ==3 end","id":28,"text":"Text 3","lua_text":"function lua_text()<s>nreturn <s>"Hordes of the insects stuck all over <s>"..lud[infektiv].name2..<s>". The contamination progressed each second but <s>"..({<s>"he went forward stubbornly.<s>", <s>"she went forward stubbornly.<s>"})[lud[infektiv].pol]..<s>" Giant bee didn't show any reaction until <s>"..lud[infektiv].name..({<s>" came <s>", <s>" came <s>"})[lud[infektiv].pol]..<s>"close to it... The bee clicked with its mandibles, rose the victim by shoulder and looked attentively on blood flowing out of it... In a couple of moments it shivered and threw the haul aside. The consternation didn't allow you to notice that something changed... The most of insects fell dead on the ground and others chirred hostilely and rushed to their queen... Ex-queen... The cure! That cure you had injected in the hospital was enough - <s>"..lud[infektiv].name..({<s>" transferred <s>", <s>" transferred <s>"})[lud[infektiv].pol]..<s>" it to this monster through blood and ran up the processes which destroyed the swarm's mind! You leaned on the wall and crawled down to the floor. Was the world saved indeed? <s>"<s>nend","merge":true},{"lua_if":"function lua_if()<s>nreturn (sekret_konc and sekret_konc == 1) end","id":32,"text":"Text 4","lua_text":"function lua_text()<s>nreturn <s>"You recovered and came closer to your subject's body... <s>"..lud[infektiv].name..<s>" <s>"..({<s>"was alive!<s>", <s>"was alive!<s>"})[lud[infektiv].pol]..<s>" It seems you have worked much better than it was expected. The cure was able to convert the contamination process even in such conditions...<s><s>n<s><s>nCongratulations, you have passed the game with the BEST final of one of the diseases! <s>"<s>nend","merge":true},{"id":32,"text":"But what's the price...<s>n<s>nCongratulations, you have passed the game with a final of one of the diseases! ","lua_if":"function lua_if()<s>nreturn ((not sekret_konc) or sekret_konc == 0) end","merge":true},{"id":32,"text":"Now you can estimate your achievements or go back to menu to run the game with another disease or try to run the epilogue with another final.","merge":true},{"calculate":true,"comment":true,"super_calculate":false,"lua_do":"function lua_do()<s>nif g4_sloz == 1 then g.g4_o4 = 1<s>nelseif g4_sloz == 2 then g.g4_o5 = 1<s>nelseif g4_sloz == 3 then g.g4_o6 = 1 end<s>n<s>nif (sekret_konc and sekret_konc == 1) then<s>nif g4_sloz == 1 then g.g4_o7 = 1<s>nelseif g4_sloz == 2 then g.g4_o8 = 1<s>nelseif g4_sloz == 3 then g.g4_o9 = 1 end end<s>nend","text":"New answer. enter the text","id":30,"merge":false},{"middle_answer":true,"text":"Achievements","bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":31},{"id":29,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Final/Finalscene5.jpg","var_equal":["g4_sloz",1]},{"id":29,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Final/Finalscene2.jpg","var_equal":["g4_sloz",2]},{"id":29,"text":"stretch movie back","url":"http://188.120.236.127/Epidemic/Final/Finalscene4.jpg","var_equal":["g4_sloz",3]}]},{"id":33,"text":"         ","answers":[{"super_calculate":false,"lua_do":"function lua_do() g.fullscreen = 1<s>nend","text":"New answer. enter the text","calculate":true,"id":33},{"module":true,"super_calculate":false,"lua_do":"function lua_do()<s>n<s>r<s>n<s>r<s>n<s>r<s>n<s>r<s>nif not card_page then card_page = 1 end<s>r<s>nif not click_protection then click_protection = 0 end<s>r<s>n<s>r<s>nif not g.cards_table then<s>r<s>n<s>tg.cards_table = {<s>r<s>n<s>t<s>t{<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/TyihonFilth2.png<s>", vkl = 0, num = 1, name= <s>"Grandpa Thomas<s><s>nBlack taint<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/TyihonMushroom2.png<s>", vkl = 0, name= <s>"Grandpa Thomas<s><s>nMushroom plague<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/TyihonInsect2.png<s>", vkl = 0, name= <s>"Grandpa Thomas<s><s>nInsect disease<s>"},<s>r<s>n<s>t<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/MashaFilth2.png<s>", vkl = 0, num = 2, name= <s>"Little Mary<s><s>nBlack taint<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/MashaMushroom2.png<s>", vkl = 0, name= <s>"Little Mary<s><s>nMushroom plague<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/MashaInsect2.png<s>", vkl = 0, name= <s>"Little Mary<s><s>nInsect disease<s>"},<s>r<s>n<s>t<s>t<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/AlekseyFilth2.png<s>", vkl = 0, num = 3, name= <s>"Alex<s><s>nBlack taint<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/AlekseyMushroom2.png<s>", vkl = 0, name= <s>"Alex<s><s>nMushroom plague<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/AlekseyInsect2.png<s>", vkl = 0, name= <s>"Alex<s><s>nInsect disease<s>"},<s>r<s>n<s>t<s>t},<s>r<s>n<s>t<s>t<s>r<s>n<s>t<s>t{<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/KlavaFilth2.png<s>", vkl = 0, num = 4, name= <s>"Grandma Grace<s><s>nBlack taint<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/KlavaMushroom2.png<s>", vkl = 0, name= <s>"Grandma Grace<s><s>nMushroom plague<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/KlavaInsect2.png<s>", vkl = 0, name= <s>"Grandma Grace<s><s>nInsect disease<s>"},<s>r<s>n<s>t<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/PetrFilth2.png<s>", vkl = 0, num = 5, name= <s>"Peter<s><s>nBlack taint<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/PetrMushroom2.png<s>", vkl = 0, name= <s>"Peter<s><s>nMushroom plague<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/PetrInsect2.png<s>", vkl = 0, name= <s>"Peter<s><s>nInsect disease<s>"},<s>r<s>n<s>t<s>t<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/NastyaFilth2.png<s>", vkl = 0, num = 6, name= <s>"Amelia<s><s>nBlack taint<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/NastyaMushroom2.png<s>", vkl = 0, name= <s>"Amelia<s><s>nMushroom plague<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/NastyaInsect2.png<s>", vkl = 0, name= <s>"Amelia<s><s>nInsect disease<s>"},<s>r<s>n<s>t<s>t},<s>r<s>n<s>t<s>t<s>r<s>n<s>t<s>t{<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/KolyaFilth2.png<s>", vkl = 0, num = 7, name= <s>"Nick<s><s>nBlack taint<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/KolyaMushroom2.png<s>", vkl = 0, name= <s>"Nick<s><s>nMushroom plague<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/KolyaInsect2.png<s>", vkl = 0, name= <s>"Nick<s><s>nInsect disease<s>"},<s>r<s>n<s>t<s>t<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/DaryaFilth2.png<s>", vkl = 0, num = 8, name= <s>"Deborah<s><s>nBlack taint<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/DaryaMushroom2.png<s>", vkl = 0, name= <s>"Deborah<s><s>nMushroom plague<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/DaryaInsect2.png<s>", vkl = 0, name= <s>"Deborah<s><s>nInsect disease<s>"},<s>r<s>n<s>t<s>t<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/MonsterFilth.png<s>", vkl = 0, num = 9, name= <s>"Black taint<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/MonsterMushroom.png<s>", vkl = 0, name= <s>"Mushroom plague<s>"},<s>r<s>n<s>t<s>t<s>t{link = <s>"http://188.120.236.127/Epidemic/Characters/MonsterInsect.png<s>", vkl = 0, name= <s>"Insect disease<s>"},<s>r<s>n<s>t<s>t}<s>r<s>n<s>t}<s>r<s>nend<s>r<s>n<s>r<s>n<s>r<s>n<s>r<s>n<s>r<s>n<s>r<s>n--Function of view<s>r<s>nshow_cards_fun = function()<s>r<s>n<s>t<s>r<s>n<s>tlocal table_posicion = {{1/5, 1/2, 4/5}, {1/5, 2/5, 3/5} }<s>r<s>n<s>tlocal card_bas = {nil,nil,nil,nil,nil,nil,nil,nil,nil}<s>r<s>n<s>tlocal hero = {}<s>r<s>n<s>tnum_of_hero = 0<s>r<s>n<s>tgroop_of_cards = {}<s>r<s>n<s>tcards_text = <s>"<s>"<s>r<s>n<s>t<s>r<s>n<s>tlocal k = 0<s>r<s>n<s>tfor i = 1,3 do<s>r<s>n<s>t<s>tfor j = 1,3 do<s>r<s>n<s>t<s>t<s>tk = k<plus>1<s>r<s>n<s>t<s>t<s>tlocal k = k<s>r<s>n<s>t<s>t<s>tcard_bas[k] = display.newImage(<s>"http://188.120.236.127/Epidemic/Cards/fon.jpg<s>")<s>r<s>n<s>t<s>t<s>tcard_bas[k].x = canvas.width*table_posicion[1][j]<s>r<s>n<s>t<s>t<s>tcard_bas[k].y = canvas.height*table_posicion[2][i]<s>r<s>n<s>t<s>t<s>tcard_bas[k].xScale = math.min(canvas.width*(1/3.5)/card_bas[k].width, canvas.height*(1/3.5)/card_bas[k].height )<s>r<s>n<s>t<s>t<s>tcard_bas[k].yScale = card_bas[k].xScale<s>r<s>n<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>thero[k] = display.newImage(g.cards_table[card_page][k].link)<s>r<s>n<s>t<s>t<s>thero[k].xScale = math.min( card_bas[k].width*card_bas[k].xScale*(1.1)/hero[k].width, card_bas[k].height*card_bas[k].yScale*(1.1)/hero[k].height )<s>r<s>n<s>t<s>t<s>thero[k].yScale = hero[k].xScale<s>r<s>n<s>t<s>t<s>thero[k].x = canvas.width*table_posicion[1][j]<s>r<s>n<s>t<s>t<s>thero[k].y = canvas.height*table_posicion[2][i] <plus> 0.5*card_bas[k].contentHeight - 0.5*hero[k].contentHeight<s>r<s>n<s>t<s>t<s>tif g.cards_table[card_page][k].vkl == 0 then hero[k]:setFillColor( 0, 0, 0) end<s>r<s>n<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>tlocal card_frame = display.newImage(<s>"http://188.120.236.127/Epidemic/Cards/frame.png<s>")<s>r<s>n<s>t<s>t<s>tcard_frame.x = canvas.width*table_posicion[1][j]<s>r<s>n<s>t<s>t<s>tcard_frame.y = canvas.height*table_posicion[2][i]<s>r<s>n<s>t<s>t<s>tcard_frame.xScale = math.min(canvas.width*(1/3.5)/card_frame.width, canvas.height*(1/3.5)/card_frame.height )<s>r<s>n<s>t<s>t<s>tcard_frame.yScale = card_frame.xScale<s>r<s>n<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>tgroop_of_cards[k] = display.newGroup()<s>r<s>n<s>t<s>t<s>tgroop_of_cards[k]:insert(card_bas[k])<s>r<s>n<s>t<s>t<s>tgroop_of_cards[k]:insert(hero[k])<s>r<s>n<s>t<s>t<s>tgroop_of_cards[k]:insert(card_frame)<s>r<s>n<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>tnum_of_hero = num_of_hero <plus> 1<s>r<s>n<s>t<s>t<s>tgroop_of_cards[k].num_of_hero = num_of_hero<s>r<s>n<s>t<s>t<s>tgroop_of_cards[k]:addEventListener(<s>"tap<s>", function()<s>r<s>n<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>t<s>tshow_full = function()<s>r<s>n<s>t<s>t<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>t<s>t<s>tcard_bas_full = display.newImage(<s>"http://188.120.236.127/Epidemic/Cards/fon.jpg<s>")<s>r<s>n<s>t<s>t<s>t<s>t<s>tcard_bas_full.xScale = canvas.width/card_bas_full.width<s>r<s>n<s>t<s>t<s>t<s>t<s>tcard_bas_full.yScale = card_bas_full.xScale<s>r<s>n<s>t<s>t<s>t<s>t<s>tcard_bas_full.x = 0.5*canvas.width <s>r<s>n<s>t<s>t<s>t<s>t<s>tcard_bas_full.y = 0.5*card_bas_full.contentHeight<s>r<s>n<s>t<s>t<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>t<s>t<s>thero_full = display.newImage(g.cards_table[card_page][groop_of_cards[k].num_of_hero].link)<s>r<s>n<s>t<s>t<s>t<s>t<s>thero_full.xScale = math.min( card_bas_full.width*card_bas_full.xScale*(1.1)/hero_full.width, card_bas_full.height*card_bas_full.yScale*(1.1)/hero_full.height )<s>r<s>n<s>t<s>t<s>t<s>t<s>thero_full.yScale = hero_full.xScale<s>r<s>n<s>t<s>t<s>t<s>t<s>thero_full.x = 0.5*canvas.width<s>r<s>n<s>t<s>t<s>t<s>t<s>thero_full.y = card_bas_full.y <plus> card_bas_full.contentHeight/2 - hero_full.contentHeight/2<s>r<s>n<s>t<s>t<s>t<s>t<s>tif g.cards_table[card_page][groop_of_cards[k].num_of_hero].vkl == 0 then hero_full:setFillColor( 0, 0, 0) end<s>r<s>n<s>t<s>t<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>t<s>t<s>tcard_frame_full = display.newImage(<s>"http://188.120.236.127/Epidemic/Cards/frame.png<s>")<s>r<s>n<s>t<s>t<s>t<s>t<s>tcard_frame_full.xScale = canvas.width/card_frame_full.width<s>r<s>n<s>t<s>t<s>t<s>t<s>tcard_frame_full.yScale = card_frame_full.xScale<s>r<s>n<s>t<s>t<s>t<s>t<s>tcard_frame_full.x = 0.5*canvas.width <s>r<s>n<s>t<s>t<s>t<s>t<s>tcard_frame_full.y = 0.5*card_frame_full.contentHeight<s>t<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>t<s>tend<s>t<s>r<s>n<s>t<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>t<s>tshow_cards_text = function()<s>r<s>n<s>t<s>t<s>t<s>t<s>tcards_text = g.cards_table[card_page][groop_of_cards[k].num_of_hero].name<s>r<s>n<s>t<s>t<s>t<s>tend<s>r<s>n<s>t<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>t<s>tshowPage({id = 36, transition=<s>"instant<s>"})<s>t<s>t<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>tend )<s>r<s>n<s>t<s>t<s>t<s>r<s>n<s>t<s>tend<s>r<s>n<s>tend<s>r<s>n<s>t<s>r<s>n<s>r<s>n<s>t--Buttons<s>r<s>n<s>tbutton_left = display.newImage(<s>"http://188.120.236.127/images/buttons/blanc.png<s>")<s>r<s>n<s>tbutton_left.x = (1/4)*canvas.width<s>r<s>n<s>tbutton_left.y = (8/10)*canvas.height<s>t<s>r<s>n<s>tbutton_left.xScale = (1/3)*canvas.width / button_left.width<s>r<s>n<s>tbutton_left.yScale = button_left.xScale<s>r<s>n<s>t<s>r<s>n<s>tbutton_left:addEventListener(<s>"tap<s>",<s>r<s>n<s>t<s>tfunction() if click_protection < g.time then<s>r<s>n<s>t<s>t<s>tclick_protection = g.time <plus> 0.5<s>r<s>n<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>tcard_page = card_page - 1<s>r<s>n<s>t<s>t<s>tif card_page < 1 then card_page = 3 end<s>r<s>n<s>t<s>t<s>tshowPage({id =33, transition=<s>"instant<s>"})<s>r<s>n<s>t<s>treturn true<s>r<s>n<s>tend end)<s>r<s>n<s>t<s>r<s>n<s>tlocal text = display.newText(<s>"<<s>", button_left.x, button_left.y, native.systemFont, 48 )<s>r<s>n<s>ttext.yScale = button_left.height*0.9 / text.height<s>r<s>n<s>ttext.xScale = text.yScale<s>r<s>n<s>ttext:setFillColor( 0, 0, 0 )<s>r<s>n<s>tcanvasGroup:insert(text)<s>r<s>n<s>t<s>r<s>n<s>tbutton_right = display.newImage(<s>"http://188.120.236.127/images/buttons/blanc.png<s>")<s>r<s>n<s>tbutton_right.x = (3/4)*canvas.width<s>t<s>r<s>n<s>tbutton_right.y = button_left.y<s>r<s>n<s>tbutton_right.xScale = button_left.xScale<s>r<s>n<s>tbutton_right.yScale = button_left.yScale<s>r<s>n<s>t<s>r<s>n<s>tbutton_right:addEventListener(<s>"tap<s>",<s>r<s>n<s>t<s>tfunction() if click_protection < g.time then<s>r<s>n<s>t<s>t<s>tclick_protection = g.time <plus> 0.3<s>r<s>n<s>t<s>t<s>t<s>r<s>n<s>t<s>t<s>tcard_page = card_page <plus> 1<s>r<s>n<s>t<s>t<s>tif card_page > 3 then card_page = 1 end<s>r<s>n<s>t<s>t<s>tshowPage({id =33, transition=<s>"instant<s>"})<s>r<s>n<s>t<s>treturn true<s>r<s>n<s>tend end)<s>r<s>n<s>t<s>r<s>n<s>tlocal text = display.newText(<s>"><s>", button_right.x, button_right.y, native.systemFont, 48 )<s>r<s>n<s>ttext.yScale = button_right.height*0.9 / text.height<s>r<s>n<s>ttext.xScale = text.yScale<s>r<s>n<s>ttext:setFillColor( 0, 0, 0 )<s>r<s>n<s>tcanvasGroup:insert(text)<s>r<s>n<s>t<s>r<s>n<s>t<s>r<s>nend<s>nend","text":"luaModuleUpdate http://188.120.236.127/Epidemic/Cards/show_card.lua","id":33,"calculate":true},{"super_calculate":false,"id":33,"calculate":true,"lua_do":"function lua_do() show_cards_fun()<s>nend","text":"New answer. enter the text"},{"no_transition":false,"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_do":"function lua_do()<s>ng.fullscreen = 0<s>nend","id":33,"text":"Back","middle_answer":true,"go_to":["back_button"]}]},{"id":34,"text":"Autoran","answers":[{"super_calculate":false,"lua_do":"function lua_do()<s>n<s>nif (glava_num == 1 and g1_sloz == 1)<s>nor (glava_num == 2 and g2_sloz == 1)<s>nor (glava_num == 3 and g3_sloz == 1)<s>nor (glava_num == 4 and g4_sloz == 1) then<s>ng.standartDialogOptions={background = <s>"http://188.120.236.127/Epidemic/Dialogue/dialogue.jpg<s>", <s>nanswers ={background = <s>"http://188.120.236.127/Epidemic/Dialogue/button1.jpg<s>", }} <s>n<s>nelseif (glava_num == 1 and g1_sloz == 2)<s>nor (glava_num == 2 and g2_sloz == 2)<s>nor (glava_num == 3 and g3_sloz == 2)<s>nor (glava_num == 4 and g4_sloz == 2) then<s>ng.standartDialogOptions={background = <s>"http://188.120.236.127/Epidemic/Dialogue/dialogue.jpg<s>", <s>nanswers ={background = <s>"http://188.120.236.127/Epidemic/Dialogue/button2.jpg<s>", }} <s>n<s>nelseif (glava_num == 1 and g1_sloz == 3)<s>nor (glava_num == 2 and g2_sloz == 3)<s>nor (glava_num == 3 and g3_sloz == 3)<s>nor (glava_num == 4 and g4_sloz == 3) then<s>ng.standartDialogOptions={background = <s>"http://188.120.236.127/Epidemic/Dialogue/dialogue.jpg<s>", <s>nanswers ={background = <s>"http://188.120.236.127/Epidemic/Dialogue/button3.jpg<s>", }} <s>n<s>nend<s>n<s>nend","calculate":true,"id":34,"text":"New answer. enter the text"}]},{"id":35,"text":"<s>nPremium access","answers":[{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"lua_do":"function lua_do() g.fullscreen = 0<s>nend","middle_answer":true,"text":"Back","id":35,"go_to":["back_button"]},{"id":35,"text":"     ","comment":true},{"dlc":"premium","bgAnswerImage":["http://188.120.236.127/Epidemic/button_buy.jpg"],"middle_answer":true,"id":35,"text":"Premium access","lua_do":"function lua_do() g.fullscreen = 0<s>nend","go_to":["back_button"]},{"id":35,"text":"stretch","comment":true,"url":"http://188.120.236.127/Epidemic/full2.jpg"},{"super_calculate":false,"lua_do":"function lua_do() g.fullscreen = 1<s>nend","calculate":true,"text":"New answer. enter the text","id":35},{"id":35,"text":"You can remove all ads from the app including those necessary to get bonus blockers - in this case they will be provided for free! If you like the Epidemic, support the developers and get premium access!","comment":true,"bgAnswerImage":["http://188.120.236.127/Epidemic/Dialogue/dialogue.jpg"]}]},{"id":36,"text":"<s>nCard","answers":[{"id":36,"text":"     ","comment":true},{"id":36,"text":"     ","comment":true},{"bgAnswerImage":["http://188.120.236.127/images/buttons/blanc.png"],"id":33,"text":"Back","middle_answer":true,"no_transition":false},{"id":36,"text":"     ","comment":true},{"super_calculate":false,"lua_do":"function lua_do()<s>nshow_full() <s>nend","text":"Viewing","calculate":true,"id":36},{"lua_text":"function lua_text()<s>nshow_cards_text()<s>nreturn cards_text<s>nend","text":"Text","comment":true,"super_calculate":false,"id":36,"calculate":false,"middle_answer":true,"bgAnswerImage":["http://188.120.236.127/Epidemic/Dialogue/dialogue.jpg"]}]},{"id":37,"text":"","answers":[]}]