[{"id":1,"text":"By the will of fate you find yourself in the same house that you have heard so much about. The bloodthirsty grandmother does not release anybody alive for many years.<s>r<s>n<s>r<s>nTry not to join dozens of people who became a her dinner, and maybe you'll put an end to it?<s>r<s>n<s>r<s>nAttention! This quest is almost impossible to complete without dying. Prepare.<s>r<s>n<s>r<s>nv 1.0","answers":[{"id":2,"text":"Start2","lua_do":"function lua_do()<s>ng.autorun = 30<s>ng[<s>"autorun after<s>"]= 31<s>nbabushka_dist = 20<s>npodval_corpse = 0<s>ngaraj_search = 0<s>nkuhnya_searches = 0<s>npodval_door_locked = true<s>ngaraj_door_blocked = true<s>nhp = 50<s>nstamina = 50<s>nfloor=0<s>nend","contentList":["http://188.120.236.127/BabkaEng/plants1.jpg http://188.120.236.127/BabkaEng/babyroom.jpg http://188.120.236.127/BabkaEng/upfloor.jpg http://188.120.236.127/BabkaEng/livingroom.jpg http://188.120.236.127/BabkaEng/underthebed1.jpg http://188.120.236.127/BabkaEng/underthebed2.jpg http://188.120.236.127/BabkaEng/bedroom1.jpg http://188.120.236.127/BabkaEng/bedroom2.jpg http://188.120.236.127/BabkaEng/garaj.jpg http://188.120.236.127/BabkaEng/closet.jpg http://188.120.236.127/BabkaEng/kitchen.jpg http://188.120.236.127/BabkaEng/vewtrap.jpg http://188.120.236.127/BabkaEng/kor1floor.jpg http://188.120.236.127/BabkaEng/kor2floor.jpg http://188.120.236.127/BabkaEng/kor3floor.jpg http://188.120.236.127/BabkaEng/cellar.jpg http://188.120.236.127/BabkaEng/Babka_face.png http://188.120.236.127/BabkaEng/Babka_full.png http://188.120.236.127/BabkaEng/Babka_nogi.png http://188.120.236.127/BabkaEng/Babka_top.png http://188.120.236.127/BabkaEng/oblojka.jpg"]},{"id":30,"text":"Windows","need":1000},{"id":31,"text":"Windows the after","need":1000},{"id":34,"text":"death","need":[1000]}]},{"id":2,"text":"It's very cold in the basement. A dim vandal-proof light bulb illuminates the empty concrete floor and walls. In one corner there is a mountain of dirty rags, and in the other the bodies of dead people are piled up.","answers":[{"comment":false,"id":2,"text":"Activate immortality","lua_if":"function lua_if()<s>nreturn false<s>nend","lua_do":"function lua_do()<s>ni_am_undead_too = true<s>nend"},{"id":2,"text":"The door is closed from the outside, there is no lock or keyhole.","comment":true,"lua_if":"function lua_if()<s>nreturn podval_door_locked<s>nend"},{"id":3,"text":"The door is open, go upstairs","lua_if":"function lua_if()<s>nreturn not podval_door_locked<s>nend","lua_do":"function lua_do()<s>nupstairs()<s>nfloor = 1<s>nend"},{"id":4,"text":"Hide in the rags","lua_do":"function lua_do()<s>nhide()<s>npodval_tryapki_hide = (podval_tryapki_hide or 0) <plus> 1<s>nsecond_floor_bed_hide = (second_floor_bed_hide or 0) - 1 -- reset another shelter<s>nif second_floor_bed_hide <0 then<s>nsecond_floor_bed_hide = 0 -- limit of reset<s>nend<s>nif podval_tryapki_hide == 3 then<s>ndialog{header = <s>"You too often hide here. Grandmother is beginning to suspect something.<s>", text = <s>"<s>", answers = {{text = <s>"Ok<s>"}}}<s>nend<s>nbabushka_distract = babushka_distract - podval_tryapki_hide*3<s>nif babushka_distract <0 then<s>nbabushka_distract = 0<s>nend<s>nend"},{"lua_if":"function lua_if()<s>nreturn podval_corpse < 20<s>nend","id":2,"text":"Examine one corpse","lua_do":"function lua_do()<s>npodval_corpse = podval_corpse  <plus> 1<s>nif podval_corpse == 1 then<s>n message2(<s>"You found a letter!<s>")<s>nelseif podval_corpse == 2 then<s>n message2(<s>"You found a moldy bread!<s>")<s>nelseif podval_corpse == 3 then<s>n message2(<s>"You found a rotten potatoes!<s>")<s>nelseif podval_corpse == 4 then<s>n message2(<s>"You found the pills!<s>")<s>nelseif podval_corpse == 5 then<s>n message2(<s>"You found an empty lighter! At least it gives a spark.<s>")<s>nelseif podval_corpse == 10 then<s>n message2(<s>"You found the doll's hand!<s>")<s>nelseif podval_corpse == 15 then<s>n message2(<s>"You found the pills!<s>")<s>nelseif podval_corpse == 20 then<s>nmessage2(<s>"You found a corpse with a red fibre sticking out of its mouth. <s>")<s>nend<s>nend","instant":true},{"comment":true,"id":2,"text":"Studied corpses: 8","lua_text":"function lua_text()<s>nreturn <s>"<s><s>nStudied corpses: <s>".. (podval_corpse or 0)<s>nend","merge":true},{"id":2,"text":"Take the empty lighter","lua_if":"function lua_if()<s>nreturn podval_corpse > 4 and (not inventory_zajigalka)<s>nend","lua_do":"function lua_do()<s>ninventory_zajigalka = 1<s>nend"},{"lua_if":"function lua_if()<s>nreturn podval_corpse > 0 <s>nend","id":2,"text":"Read the letter","lua_do":"function lua_do()<s>nmessage2(<s>"'Hi, grandma! How are you doing without me? I miss you. Come, soon. Save me, somebody. I don't want to die. I don't want to find yourself in the basement!!!<s>")<s>nend","no_transition":false},{"id":2,"text":"Take the hand of the doll","lua_if":"function lua_if()<s>nreturn podval_corpse > 9 and (not podval_kukla_hand_taken)<s>nend","lua_do":"function lua_do()<s>ninventory_kukla_pieces = (inventory_kukla_pieces or 0) <plus>1<s>npodval_kukla_hand_taken = true<s>nend"},{"super_calculate":false,"id":2,"text":"A new answer. enter the text","calculate":true,"lua_do":"function lua_do()<s>nif podval_door_locked and babushka_dist == 15 then<s>nmessage2(<s>"A hoarse breath comes from the closed door.<s>")<s>nelseif podval_door_locked and babushka_dist == 14 then<s>nmessage2(<s>"There is a rumble, and the door is shaking.<s>")<s>nelseif podval_door_locked and babushka_dist == 12 then<s>nmessage2(<s>"The sound of a falling lock is heard.<s>")<s>nelseif podval_door_locked and babushka_dist == 10 then<s>nmessage2(<s>"With a deafening screech the door opens.<s>")<s>npodval_door_locked = false<s>nelseif podval_door_locked and babushka_dist < 8 then<s>npodval_door_locked = false<s>nend<s>nend<s>n<s>n<s>n<s>n"},{"id":2,"text":"Eat the moldy bread","lua_if":"function lua_if()<s>nreturn podval_corpse > 1 and (not podval_bread_eated)<s>nend","lua_do":"function lua_do()<s>npodval_bread_eated = 1<s>nhp = hp <plus> 10<s>nend"},{"id":2,"text":"Eat the rotten potatoes","lua_if":"function lua_if()<s>nreturn podval_corpse > 2 and (not podval_potato_eated)<s>nend","lua_do":"function lua_do()<s>npodval_potato_eated = 1<s>nhp = hp <plus> 10<s>nend"},{"showAd":true,"lua_if":"function lua_if()<s>nreturn podval_corpse > 3 and (not podval_tabletki_eated)<s>nend","lua_do":"function lua_do()<s>npodval_tabletki_eated = 1<s>nhp = hp <plus> 30<s>nend","text":"Eat the pills (Large bonus to health. The side effect - advertising hallucinations.)","id":2},{"lua_text":"function lua_text()<s>nreturn <s>"To pull a red fibre from the corpse (retrieved on <s>" .. (podval_trup_20_nitka or 0) .. <s>"%)<s>"<s>nend","lua_if":"function lua_if()<s>nreturn podval_corpse > 19 and(podval_trup_20_nitka and (podval_trup_20_nitka<100) or (not podval_trup_20_nitka))<s>nend","lua_do":"function lua_do()<s>npodval_trup_20_nitka = (podval_trup_20_nitka or 0) <plus> 10<s>nend","text":"Pull the red fibre from the mouth of the corpse (retrieved on 50%)","id":2,"instant":true},{"lua_if":"function lua_if()<s>nreturn (podval_trup_20_nitka and (podval_trup_20_nitka>=100) and (podval_trup_20_nitka<200))<s>nend","lua_text":"function lua_text()<s>nreturn <s>"Clear red fibre of mucus (cleared on <s>" .. podval_trup_20_nitka - 100 .. <s>" %)<s>"<s>nend<s>n","id":2,"text":"Clear red fibre of mucus (cleared on 50%)","lua_do":"function lua_do()<s>npodval_trup_20_nitka = (podval_trup_20_nitka or 0) <plus> 25<s>nend","instant":true},{"lua_text":"function lua_text()<s>nreturn <s>"Roll the red fibre in a tangle (rolled on <s>" ..  podval_trup_20_nitka - 200 .. <s>" %)<s>"<s>nend<s>n","lua_if":"function lua_if()<s>nreturn (podval_trup_20_nitka and (podval_trup_20_nitka>=200) and (podval_trup_20_nitka<300))<s>nend","lua_do":"function lua_do()<s>npodval_trup_20_nitka = (podval_trup_20_nitka or 0) <plus> 5<s>nend","text":"Roll the red fibre in a tangle (rolled on 50%)","id":2,"instant":true},{"lua_do":"function lua_do()<s>npodval_trup_20_nitka = 301<s>ninventory_pryaja = (inventory_pryaja or 0) <plus> 1<s>nend","text":"Pick up red tangle","lua_if":"function lua_if()<s>nreturn (podval_trup_20_nitka and (podval_trup_20_nitka == 300) )<s>nend","id":2},{"showAd":true,"lua_if":"function lua_if()<s>nreturn podval_corpse > 14 and (not podval_tabletki2_eated)<s>nend","lua_do":"function lua_do()<s>npodval_tabletki2_eated = 1<s>nhp = hp <plus> 30<s>nend","text":"Eat the pills (Large bonus to health. The side effect - advertising hallucinations.)","id":2},{"id":35,"text":"read <s>"The book is about grandmother<s>"","lua_if":"function lua_if()<s>nreturn g.ever_die<s>nend","lua_do":"function lua_do()<s>ng.autorun = nil<s>nend"},{"id":2,"text":"A new answer. enter the text","url":"http://188.120.236.127/BabkaEng/cellar.jpg"}]},{"id":3,"text":"The corridor of the first floor. Moth-eaten rags hang on a hanger.","answers":[{"id":6,"text":"Way out of the house","left_answer":true},{"id":2,"text":"Descent to the basement","right_answer":true,"lua_do":"function lua_do()<s>ndownstairs()<s>nfloor = 0<s>nend"},{"id":8,"text":"Kitchen","lua_do":"function lua_do()<s>nin_the_room()<s>ni_am_in_the_kitchen = true<s>nend","left_answer":true},{"id":9,"text":"Toilet","right_answer":true,"lua_do":"function lua_do()<s>nin_the_room()<s>ni_am_in_the_shelter = true<s>nend"},{"lua_if":"function lua_if()<s>nreturn not garaj_door_blocked<s>nend","lua_do":"function lua_do()<s>nin_the_room()<s>nend","text":"Garage","id":10,"left_answer":true},{"id":12,"text":"Garage","lua_if":"function lua_if()<s>nreturn garaj_door_blocked<s>nend","left_answer":true},{"id":7,"text":"Rise to 2 floor","right_answer":true,"lua_do":"function lua_do()<s>nupstairs()<s>nfloor=2<s>nend"},{"comment":true,"id":3,"text":"<s>nThe wall is decorated with a portrait of grandmother.","lua_if":"function lua_if()<s>nreturn not first_floor_portret_taken<s>nend","merge":true},{"id":3,"text":"Take portrait","lua_if":"function lua_if()<s>nreturn not first_floor_portret_taken<s>nend","lua_do":"function lua_do()<s>nfirst_floor_portret_taken = true<s>ninventory_portret = 1<s>nend"},{"id":3,"text":"A new answer. enter the text","url":"http://188.120.236.127/BabkaEng/kor1floor.jpg"}]},{"id":4,"text":"You hid in rags.","answers":[{"backstepCount":1,"lua_do":"function lua_do()<s>nunhide()<s>nend","text":"Get out","id":4,"isBack":true},{"super_calculate":false,"lua_do":"function lua_do()<s>nif podval_door_locked and babushka_dist == 15 then<s>nmessage(<s>"A hoarse breath comes from the closed door.<s>")<s>nelseif podval_door_locked and babushka_dist == 14 then<s>nmessage(<s>"There is a rumble, and the door is shaking.<s>")<s>nelseif podval_door_locked and babushka_dist == 12 then<s>nmessage(<s>"The sound of a falling lock is heard.<s>")<s>nelseif podval_door_locked and babushka_dist == 10 then<s>nmessage(<s>"With a deafening screech the door opens.<s>")<s>npodval_door_locked = false<s>nelseif podval_door_locked and babushka_dist < 8 then<s>npodval_door_locked = false<s>nend<s>nend<s>n<s>n<s>n<s>n","calculate":true,"text":"A new answer. enter the text","id":2},{"id":4,"text":"A new answer. enter the text","url":"http://188.120.236.127/BabkaEng/vewtrap.jpg"}]},{"id":5,"text":"Ending <s>"Escape<s>"<s>r<s>n<s>r<s>nYou ran away from home! After many hours of wandering around the area, you were able to find a small settlement where you got treatment. You wanted to go back to the terrible house with torches and gasoline, but no matter how hard you tried, you could never find it again.","answers":[{"id":1,"text":"To beginning"}]},{"id":6,"text":"                                      ","answers":[{"isBack":true,"text":"Back","id":6,"backstepCount":1},{"id":6,"text":"Pull out one nail with a crowbar (this is noisy and hard work)","lua_if":"function lua_if()<s>nvhod_gvozdi  = vhod_gvozdi  or 12<s>nreturn inventory_gvozdoder and (vhod_gvozdi >0)<s>nend","lua_do":"function lua_do()<s>nvhod_gvozdi  = vhod_gvozdi  or 12<s>nvhod_gvozdi = vhod_gvozdi -1<s>ninventory_gvozdi = (inventory_gvozdi or 0)<plus> 1<s>nstamina = stamina - 15<s>nif stamina < 30 then <s>nmessage(<s>"Are you tired! Rest!<s>")<s>nend<s>nbabushka_dist = babushka_dist - 1<s>nbabushka_distract = 0<s>nif babushka_dist <0 then<s>nbabushka_dist = 0<s>nend<s>nend"},{"id":6,"text":"The exit is boarded up with huge boards. Left to pull out the nails","lua_text":"function lua_text()<s>nvhod_gvozdi = vhod_gvozdi or 12<s>nreturn <s>"<s><s>nLeft to pull out the nails: <s>".. vhod_gvozdi<s>nend","merge":true},{"id":6,"text":"Lock","lua_text":"function lua_text()<s>nreturn vhod_zamok_otkryt and <s>"<s><s>nThe lock is opened and removed.<s>" or <s>"<s><s>nA huge lock holds thick steel pins embedded in the concrete. It can't be broken.<s>"<s>nend","merge":true},{"lua_if":"function lua_if()<s>nreturn not inventory_gvozdoder<s>nend","id":6,"text":"To pull out nails, you need a crowbar.","comment":true,"merge":false},{"lua_if":"function lua_if()<s>nreturn not vhod_key<s>nend","id":6,"text":"To open the lock, you need a key.","comment":true,"merge":false},{"id":6,"text":"Open the lock with a key","lua_if":"function lua_if()<s>nreturn inventory_vhod_key and (not vhod_zamok_otkryt)<s>nend","lua_do":"function lua_do()<s>nvhod_key = nil<s>nvhod_zamok_otkryt = true<s>nend"},{"id":5,"text":"Leave the house","lua_if":"function lua_if()<s>nreturn vhod_zamok_otkryt and (vhod_gvozdi<1) and (not babushka_dead )<s>nend","var_set":["global autorun",0,"global autorun after",0]},{"id":45,"text":"Leave the house","lua_if":"function lua_if()<s>nreturn vhod_zamok_otkryt and (vhod_gvozdi<1) and (babushka_dead )<s>nend","var_set":["global autorun",0,"global autorun after",0]},{"id":6,"text":"A new answer. enter the text","url":"http://188.120.236.127/BabkaEng/kor1floor.jpg"}]},{"id":7,"text":"The second floor corridor. The wooden floor creaks terribly, and there are holes here and there.","answers":[{"id":3,"text":"Descent to 1 floor","middle_answer":true,"lua_do":"function lua_do()<s>ndownstairs()<s>nfloor=1<s>nend"},{"id":13,"text":"Bedroom","lua_do":"function lua_do()<s>nin_the_room()<s>nend","left_answer":true},{"id":15,"text":"Living room","right_answer":true,"lua_do":"function lua_do()<s>nin_the_room()<s>ni_am_in_guestroom=true<s>nend"},{"lua_if":"function lua_if()<s>nreturn not second_floor_lestnica_gvozdi<s>nend","id":7,"text":"<s>nThe stairs leading to the third floor had collapsed completely, and the top was out of reach.","comment":true,"merge":true},{"comment":true,"middle_answer":true,"id":7,"text":"The stairs is damaged","lua_if":"function lua_if()<s>nreturn not second_floor_lestnica_gvozdi<s>nend","merge":false},{"lua_if":"function lua_if()<s>nreturn not second_floor_lestnica_gvozdi<s>nend","id":7,"text":"To repair the stairs, you need some large plank.","comment":true,"merge":false},{"id":7,"text":"To rise up the door to the stairs, you need to nail it with nails and a hammer.","comment":true,"lua_if":"function lua_if()<s>nreturn (second_floor_lestnica_gvozdi and (second_floor_lestnica_gvozdi <5))<s>nend"},{"id":7,"text":"Put the door leaf on the stairs","lua_if":"function lua_if()<s>nreturn door_moved and (door_moved>99) and (not second_floor_lestnica_gvozdi)<s>nend","lua_do":"function lua_do()<s>nsecond_floor_lestnica_gvozdi = 0<s>nend"},{"lua_text":"function lua_text()<s>nreturn <s>"Nail the door leaf by nails (Very noisy! Hardly. Left <s>".. 5 -( second_floor_lestnica_gvozdi or 0) ..<s>"  nails)<s>"<s>nend","id":7,"text":"Nail the door by nails (left 5)","lua_if":"function lua_if()<s>nreturn second_floor_lestnica_gvozdi and second_floor_lestnica_gvozdi < 5 and inventory_gvozdi and inventory_molotok<s>nend","lua_do":"function lua_do()<s>ninventory_gvozdi = inventory_gvozdi -1<s>nif inventory_gvozdi <1 then inventory_gvozdi = nil<s>nend<s>nsecond_floor_lestnica_gvozdi = (second_floor_lestnica_gvozdi  or 0) <plus> 1<s>nbabushka_distract = 0<s>nbabushka_dist = babushka_dist - 3<s>nif babushka_dist <0 then<s>nbabushka_dist = 0<s>nend<s>nend"},{"lua_if":"function lua_if()<s>nreturn second_floor_lestnica_gvozdi and second_floor_lestnica_gvozdi >4<s>nend","lua_do":"function lua_do()<s>nupstairs()<s>nfloor=3<s>nend","text":"Rise to 3 floor","middle_answer":true,"id":16},{"id":7,"text":"A new answer. enter the text","url":"http://188.120.236.127/BabkaEng/kor2floor.jpg"}]},{"id":8,"text":"The kitchen is filled with dirty dishes, and rotten food is scattered everywhere. The flies have long since died and lie everywhere in a black scattering.","answers":[{"id":8,"lua_do":"function lua_do()<s>nout_of_room()<s>ni_am_in_the_kitchen = nil<s>nend","text":"Go out","backstepCount":1,"isBack":true},{"lua_if":"function lua_if()<s>nreturn kuhnya_searches < 25<s>nend","id":8,"lua_do":"function lua_do()<s>nkuhnya_searches = (kuhnya_searches or 0 ) <plus> 1<s>nstamina = stamina - 3<s>nend","text":"Search for food","instant":true,"lua_text":"function lua_text()<s>nreturn <s>"Search for food. Left places: <s>".. 25-kuhnya_searches<s>nend"},{"id":8,"text":"<s>n<s>nAn old refrigerator stands open, the plug pulled out of the socket.","lua_if":"function lua_if()<s>nreturn not kuhnya_holodolnik_vkl and (not holodilnik_destroyed)<s>nend","merge":true},{"id":8,"text":"<s>nThe old refrigerator rattles deafeningly. Better get out of here.","lua_if":"function lua_if()<s>nreturn kuhnya_holodolnik_vkl and (not holodilnik_destroyed)<s>nend","merge":true},{"id":8,"text":"<s>n<s>nThe window is boarded up from the outside and cannot be unlocked.","merge":true},{"id":8,"text":"Switch the refrigerator into the socket.","lua_if":"function lua_if()<s>nreturn (not kuhnya_holodolnik_vkl) and (not holodilnik_destroyed)<s>nend","lua_do":"function lua_do()<s>nkuhnya_holodolnik_vkl = 30<s>nmessage2(<s>"The refrigerator rattled deafeningly. You heard the quick steps - grandma in a hurry here.<s>")<s>nend"},{"id":8,"text":"Turn off the refrigerator from the electrical socket.","lua_if":"function lua_if()<s>nreturn kuhnya_holodolnik_vkl and (not holodilnik_destroyed)<s>nend","lua_do":"function lua_do()<s>nkuhnya_holodolnik_vkl = false<s>nend"},{"id":8,"text":"An old refrigerator is overturned and the power cord is torn.","lua_if":"function lua_if()<s>nreturn holodilnik_destroyed<s>nend","merge":true},{"lua_do":"function lua_do()<s>nkuhnya_1_eated = 1<s>nhp = hp <plus> 10<s>nend","text":"Eat dry cereal","lua_if":"function lua_if()<s>nreturn kuhnya_searches > 1 and (not kuhnya_1_eated)<s>nend","id":8},{"id":8,"text":"You found at the bottom of the bowl of cereal the doll's leg","lua_if":"function lua_if()<s>nreturn kuhnya_1_eated and (not kuhnya_kukla_taken )<s>nend","comment":true},{"lua_do":"function lua_do()<s>nkuhnya_kukla_taken = true<s>nmessage2(<s>"You found at the bottom of the bowl of cereal the doll's leg<s>")<s>ninventory_kukla_pieces = (inventory_kukla_pieces or 0)<plus>1<s>nend","text":"Take the doll's leg out of the bowl","lua_if":"function lua_if()<s>nreturn kuhnya_1_eated and (not kuhnya_kukla_taken )<s>nend","id":8},{"showAd":true,"lua_if":"function lua_if()<s>nreturn kuhnya_searches > 4 and (not kuhnya_2_eated)<s>nend","lua_do":"function lua_do()<s>nkuhnya_2_eated = 1<s>nhp = hp <plus> 30<s>nend","text":"Eat the pills (large bonus to health. The side effect - advertising hallucinations.)","id":8},{"lua_do":"function lua_do()<s>nkuhnya_3_eated = 1<s>nhp = hp <plus> 10<s>nend","text":"Eat rotten meat","lua_if":"function lua_if()<s>nreturn kuhnya_searches > 9 and (not kuhnya_3_eated)<s>nend","id":8},{"lua_do":"function lua_do()<s>nkuhnya_4_eated = 1<s>nhp = hp <plus> 10<s>nend","text":"Eat raw meat","lua_if":"function lua_if()<s>nreturn kuhnya_searches > 14 and (not kuhnya_4_eated)<s>nend","id":8},{"lua_do":"function lua_do()<s>nkuhnya_5_eated = 1<s>nhp = hp <plus> 10<s>nend","text":"Eat the salted ears","lua_if":"function lua_if()<s>nreturn kuhnya_searches > 19 and (not kuhnya_5_eated)<s>nend","id":8},{"lua_do":"function lua_do()<s>ninventory_pryaja = (inventory_pryaja or 0) <plus> 1<s>nkuhnya_6_taken = true<s>nend","text":"Take a blue tangle of yarn","lua_if":"function lua_if()<s>nreturn kuhnya_searches > 24 and (not kuhnya_6_taken)<s>nend","id":8},{"id":8,"text":"A new answer. enter the text","url":"http://188.120.236.127/BabkaEng/kitchen.jpg"}]},{"id":9,"text":"A toilet with broken tiles, a rusty leaking faucet, and stripped walls. You smell a disgusting smell of excrements and decomposition.<s>r<s>n<s>r<s>nA solid iron latch is installed on the massive door. You are safe here.","answers":[{"id":9,"lua_do":"function lua_do()<s>nout_of_room()<s>ni_am_in_the_shelter = false<s>nend","text":"Go out","backstepCount":1,"isBack":true},{"id":9,"text":"Fill the bucket with water","lua_if":"function lua_if()<s>nreturn inventory_vedro and (not inventory_water)<s>nend","lua_do":"function lua_do()<s>ninventory_water = true<s>nend"},{"id":9,"text":"Relieve yourself","lua_if":"function lua_if()<s>nreturn i_want_pipi > 10<s>nend","lua_do":"function lua_do()<s>ntualet_popisil = true<s>nstamina = stamina <plus> i_want_pipi<s>ni_want_pipi = 0<s>nmessage2(<s>"You relieved yourself and refreshed.<s>")<s>nend"},{"id":9,"text":"Flush","lua_if":"function lua_if()<s>nreturn tualet_popisil and (not tualet_smyl)<s>nend","lua_do":"function lua_do()<s>ntualet_smyl = true<s>nif babushka_dist <0 then<s>nbabushka_dist = 0<s>nend<s>nmessage2(<s>"You pulled the cord of the flushing reservoir and found that the doll's leg was tied to the end of it.<s>")<s>n<s>nend"},{"id":9,"text":"Untie the doll's leg from the cord of flushing reservoir","lua_if":"function lua_if()<s>nreturn tualet_smyl and (not tualet_kukla_taken)<s>nend","lua_do":"function lua_do()<s>ntualet_kukla_taken = true<s>ninventory_kukla_pieces = (inventory_kukla_pieces or 0)<plus>1<s>nend"},{"id":9,"text":"A new answer. enter the text","url":"http://188.120.236.127/BabkaEng/closet.jpg"}]},{"id":10,"text":"The garage is littered with junk, scrap metal and rags. ","answers":[{"id":3,"text":"Exit through the door.","lua_if":"function lua_if()<s>nreturn not garaj_door_blocked<s>nend","lua_do":"function lua_do()<s>nout_of_room()<s>nend"},{"comment":true,"id":10,"text":"<s>nLook in the dark is impossible.","lua_if":"function lua_if()<s>nreturn not garaj_light<s>nend","merge":true},{"lua_if":"function lua_if()<s>nreturn not garaj_light<s>nend","url":"http://188.120.236.127/babka/Garage.jpg","id":10,"text":"few black","comment":true,"merge":false},{"id":10,"text":"Screw in a light bulb","lua_if":"function lua_if()<s>nreturn inventory_lightbulb and (not garaj_light )<s>nend","lua_do":"function lua_do()<s>ninventory_lightbulb = nil<s>ngaraj_light = true<s>nend"},{"id":10,"text":"Light a candle","lua_if":"function lua_if()<s>nreturn inventory_candle and inventory_zajigalka  and (not garaj_light )<s>nend","lua_do":"function lua_do()<s>ninventory_candle = inventory_candle - 1<s>nif inventory_candle == 0 then<s>ninventory_candle = nil<s>nend<s>ngaraj_light = true<s>ngaraj_light_candle = true<s>nend"},{"id":10,"text":" You have nothing to light a candle","lua_if":"function lua_if()<s>nreturn inventory_candle and (not inventory_zajigalka)  and (not garaj_light )<s>nend","merge":true},{"id":10,"text":" Your empty lighter only gives sparks and can't light up the search.","lua_if":"function lua_if()<s>nreturn (not inventory_candle) and (inventory_zajigalka)  and (not garaj_light )<s>nend","merge":true},{"id":11,"text":"Hide","need":[1000],"lua_do":"function lua_do()<s>nhide()<s>nend"},{"lua_if":"function lua_if()<s>nreturn garaj_light and (garaj_search<30)<s>nend","lua_do":"function lua_do()<s>ngaraj_search = (garaj_search or 0) <plus> 1<s>nstamina = stamina - 5<s>nif garaj_light_candle and garaj_search == 11 then<s>ngaraj_light = nil<s>nend<s>nend","text":"Search something useful","instant":true,"id":10},{"lua_if":"function lua_if()<s>nreturn garaj_light and (garaj_search<30)<s>nend","id":10,"text":"Search something useful","instant":true,"url":"http://188.120.236.127/BabkaEng/garaj.jpg"},{"comment":true,"id":10,"text":"You searched 2 from 16 places","lua_text":"function lua_text()<s>nreturn <s>"<s><s>nYou searched <s>".. (garaj_search or 0) .. <s>" places of 30 possible.<s>"<s>nend<s>n","merge":true},{"comment":true,"id":10,"text":" The door to the street is propped up by an old chair, which rests on a step.","lua_if":"function lua_if()<s>nreturn garaj_door_blocked<s>nend","merge":true},{"id":10,"text":"Remove the chair.","lua_if":"function lua_if()<s>nreturn garaj_door_blocked<s>nend","lua_do":"function lua_do()<s>ngaraj_door_blocked = false<s>nunhide()<s>nend"},{"id":10,"text":"The hole in the ceiling is inaccessible. Need a stairs.","comment":true,"lua_if":"function lua_if()<s>nreturn not stremyanka_installed<s>nend"},{"id":10,"text":"Put a stepladder to the hole in the ceiling.","lua_if":"function lua_if()<s>nreturn (garaj_search) and garaj_search > 24 and (not stremyanka_installed)<s>nend","lua_do":"function lua_do()<s>nstremyanka_installed = true<s>nend"},{"id":13,"text":"Rise up a stepladder to the second floor through a hole in the ceiling.","lua_if":"function lua_if()<s>nreturn stremyanka_installed <s>nend","lua_do":"function lua_do()<s>nupstairs()<s>nfloor =2<s>nend"},{"id":10,"text":"Take the crowbar","lua_if":"function lua_if()<s>nreturn garaj_search >= 5 and (not inventory_gvozdoder)<s>nend","lua_do":"function lua_do()<s>ninventory_gvozdoder=1<s>nend"},{"id":10,"text":"Take the hammer","lua_if":"function lua_if()<s>nreturn garaj_search >= 10 and (not inventory_molotok)<s>nend","lua_do":"function lua_do()<s>ninventory_molotok=1<s>nend"},{"id":10,"text":"Take the bucket","lua_if":"function lua_if()<s>nreturn garaj_search >= 15 and (not inventory_vedro)<s>nend","lua_do":"function lua_do()<s>ninventory_vedro=1<s>nend"},{"id":10,"text":"<s>nThe candle burned out and extinguished!","lua_if":"function lua_if()<s>nreturn garaj_light_candle and (not garaj_light)<s>nend<s>n<s>n","merge":true},{"id":10,"text":"To light a candle, need matches or lighter","lua_if":"function lua_if()<s>nreturn inventory_candle and (not inventory_zajigalka)  and (not garaj_light )<s>nend","comment":true},{"id":10,"text":"Take a tangle of yellow yarn","lua_if":"function lua_if()<s>nreturn garaj_search > 19 and (not garaj_pryaja_taken)<s>nend","lua_do":"function lua_do()<s>ngaraj_pryaja_taken=true<s>ninventory_pryaja =( inventory_pryaja or 0) <plus>1<s>nend"},{"id":10,"text":"To take the body of the doll with leg","lua_if":"function lua_if()<s>nreturn garaj_search > 29 and (not garaj_kukla_taken)<s>nend","lua_do":"function lua_do()<s>ngaraj_kukla_taken=true<s>ninventory_kukla_pieces =( inventory_kukla_pieces or 0) <plus>1<s>nend"}]},{"id":11,"text":"You hid in a pile of rags, between the wheels and a stack of planks.","answers":[{"forget":11,"id":11,"isBack":true,"text":"Get out","backstepCount":1,"lua_do":"function lua_do()<s>nunhide()<s>nend"},{"id":11,"text":"Wait"}]},{"id":12,"text":"The garage door opens just an inch and won't budge. It's propped up by something heavy inside.","answers":[{"isBack":true,"backstepCount":1,"text":"Back","forget":12,"id":12}]},{"id":13,"text":"You're in the bedroom. A huge, sagging bed, covered with two scraps of gray sheet, stands on the heaving floor and seems about to fall down. A nightstand leaned against the wall.","answers":[{"id":7,"text":"Go out into the corridor","lua_do":"function lua_do()<s>nout_of_room()<s>nend"},{"id":10,"text":"Jump into the hole in the floor","lua_if":"function lua_if()<s>nreturn (not stremyanka_installed) and ( hole_in_bedroom_appeare)<s>nend","lua_do":"function lua_do()<s>ndownstairs()<s>nfloor =1<s>nif garaj_door_blocked then<s>nhide()<s>nend<s>nhp = hp -20<s>nvspyshka (1,0.5,0.5)<s>nend"},{"id":14,"text":"Hide under the bed","lua_do":"function lua_do()<s>nhide()<s>nsecond_floor_bed_hide = (second_floor_bed_hide  or 0) <plus> 1<s>npodval_tryapki_hide = (podval_tryapki_hide or 0) - 1 -- reset another shelter<s>nif podval_tryapki_hide <0 then<s>npodval_tryapki_hide = 0 -- limit of reset<s>nend<s>nif second_floor_bed_hide == 3 then<s>nmessage2(<s>"You too often hide here. Grandmother is beginning to suspect something.<s>")<s>nend<s>nbabushka_distract = babushka_distract - second_floor_bed_hide *3<s>nif babushka_distract <0 then<s>nbabushka_distract = 0<s>nend<s>nend"},{"id":10,"text":"Go down the stepladder through the hole","lua_if":"function lua_if()<s>nreturn stremyanka_installed<s>nend","lua_do":"function lua_do()<s>ndownstairs()<s>nfloor=1<s>nend"},{"lua_do":"function lua_do()<s>nhole_in_bedroom_appeare = true<s>ndownstairs()<s>nbabushka_dist = 25<s>nfloor=1<s>nhide()<s>nhp = hp -20<s>nvspyshka (1,0.5,0.5)<s>nend","text":"Examine the nightstand","lua_if":"function lua_if()<s>nreturn (not hole_in_bedroom_appeare)<s>nend","id":32},{"lua_if":"function lua_if()<s>nreturn (not hole_in_bedroom_appeare)<s>nend","lua_do":"function lua_do()<s>nhole_in_bedroom_appeare = true<s>ndownstairs()<s>nbabushka_dist = 25<s>nfloor=1<s>nhide()<s>nhp = hp -20<s>nvspyshka (1,0.5,0.5)<s>nend","url":"http://188.120.236.127/BabkaEng/bedroom1.jpg","text":"Examine the nightstand","id":13},{"id":33,"text":"Search the nightstand (carefully avoiding the hole)","lua_if":"function lua_if()<s>nreturn hole_in_bedroom_appeare <s>nend"},{"id":13,"text":"Search the nightstand (carefully avoiding the hole)","lua_if":"function lua_if()<s>nreturn hole_in_bedroom_appeare <s>nend","url":"http://188.120.236.127/BabkaEng/bedroom2.jpg"}]},{"id":14,"text":"You hide under the bed. It smells like dust.","answers":[{"forget":14,"id":14,"isBack":true,"text":"Get out","backstepCount":1,"lua_do":"function lua_do()<s>nunhide()<s>nend"},{"id":14,"text":"A new answer. enter the text","url":"http://188.120.236.127/BabkaEng/underthebed1.jpg"}]},{"id":15,"text":"The living room, spacious by the standards of this place, is littered with furniture and garbage. There is a rocking chair in the cleared space.","answers":[{"id":7,"text":"Go out","lua_do":"function lua_do()<s>nout_of_room()<s>ni_am_in_guestroom=false<s>nend"},{"id":42,"text":"Search the shelves"},{"id":43,"text":"Search the desk"},{"lua_text":"function lua_text()<s>nreturn <s>"Drag the door to the stairs (it's noisy and heavy), ready to <s>".. (door_moved or 0) .. <s>"%<s>"<s>nend","id":15,"text":"Dragging the door to the stairs (it's noisy and heavy)","lua_if":"function lua_if()<s>nreturn (not door_moved) or (door_moved<100)<s>nend","lua_do":"function lua_do()<s>ndoor_moved = (door_moved or 0) <plus> math.random(30)<s>nstamina = stamina - 10<s>nbabushka_dist = babushka_dist - 3<s>nif babushka_dist <0 then<s>nbabushka_dist = 0<s>nend<s>nbabushka_distract = 0<s>nend"},{"id":15,"text":"Letter to grandmother is on the table.","comment":true,"need":[21]},{"id":28,"text":"Examine the rocking chair."},{"lua_if":"function lua_if()<s>nreturn not door_moved<s>nend","id":15,"text":"<s>nOn the floor is a broken door, long enough to repair the stairs. ","comment":true,"merge":true},{"showAd":true,"lua_if":"function lua_if()<s>nreturn not tv_work_time<s>nend","lua_do":"function lua_do()<s>ntv_work_time = 30<s>nmessage2(<s>"The TV is turned on and rumbles at full volume. Better get out of here!<s>")<s>nend","text":"Turn ad on TV","id":15},{"id":15,"text":"TV for a long time privlekat grandmother in this room, but choosing the channel, you will inevitably see some ad.","comment":true,"lua_if":"function lua_if()<s>nreturn not tv_work_time <s>nend"},{"id":15,"text":"The TV is turned on and rumbles at full volume. Better get out of here!","comment":true,"lua_if":"function lua_if()<s>nreturn tv_work_time and tv_work_time > 0<s>nend"},{"id":15,"text":" In a chair, clutching a photo frame and a dressed doll, grandmother lies. Her face relaxed, the grin fading from it. There were jagged trails of tears on her cheeks. It seems that her way on earth is over.","lua_if":"function lua_if()<s>nreturn babushka_dead<s>nend","merge":true},{"id":15,"text":"A new answer. enter the text","url":"http://188.120.236.127/BabkaEng/livingroom.jpg"}]},{"id":16,"text":"The third-floor corridor. It's more dusty than anywhere else, but it doesn't smell like decay. Grandmother doesn't seem to get here very often.","answers":[{"id":22,"text":"Go up to the attic","lua_do":"function lua_do()<s>nupstairs()<s>nfloor=4<s>nend"},{"id":23,"text":"Enter the children's room","lua_do":"function lua_do()<s>nin_the_room()<s>nend"},{"id":24,"text":"Enter the winter garden","lua_do":"function lua_do()<s>nin_the_room()<s>nend"},{"id":7,"text":"Descend to the second floor","lua_do":"function lua_do()<s>ndownstairs()<s>nfloor = 2<s>nend"},{"id":16,"text":"A new answer. enter the text","url":"http://188.120.236.127/BabkaEng/kor3floor.jpg"}]},{"id":17,"text":"As you begin the letter?","answers":[{"id":18,"text":"<s>"Dear grandma<s>""},{"id":18,"text":"<s>"Darling grandmother<s>" "},{"id":18,"text":"<s>"Beloved grandmother<s>""}]},{"id":18,"text":"What to tell about yourself?","answers":[{"id":19,"text":"<s>"I'm good.<s>""},{"id":19,"text":"<s>"I have nothing special.<s>""},{"id":19,"text":"<s>"I'm not doing well.<s>""}]},{"id":19,"text":"What's next?","answers":[{"id":20,"text":"<s>"How are you doing without me?<s>""},{"id":20,"text":"<s>"I miss you very much.<s>""},{"id":20,"text":"<s>"I always remember how we played in the childhood<s>""}]},{"id":20,"text":"And finally...","answers":[{"id":21,"text":"<s>"Please come!<s>""},{"id":21,"text":"<s>"I'll be there soon!<s>""},{"id":21,"text":"<s>"Don't know when we will meet...<s>""}]},{"id":21,"text":"The letter is composed. ","answers":[{"id":43,"text":"Leave a letter on the table","lua_do":"function lua_do()<s>ng.autorun = 30<s>nend"}]},{"id":22,"text":"The attic looks humanly habitable. Looking at the rows of empty cans and bottles, you realized where all the normal food had gone from the house. There is a letter on the old chair.","answers":[{"id":16,"text":"Go down to the third floor","lua_do":"function lua_do()<s>ndownstairs()<s>nfloor=3<s>nend"},{"lua_if":"function lua_if()<s>nreturn not inventory_vhod_key<s>nend","lua_do":"function lua_do()<s>ninventory_vhod_key = 1<s>nend","text":"Pick up the key","need":[44],"id":22},{"id":22,"text":"A dim light bulb hangs from the ceiling on a wire.","comment":true,"lua_if":"function lua_if()<s>nreturn not cherdak_lamp_removed<s>nend"},{"id":22,"text":"Unscrew the light bulb","lua_if":"function lua_if()<s>nreturn not cherdak_lamp_removed<s>nend","lua_do":"function lua_do()<s>ninventory_lightbulb = 1<s>ncherdak_lamp_removed = true<s>nend"},{"id":44,"text":"Read the letter"},{"id":22,"text":"A new answer. enter the text","lua_if":"function lua_if()<s>nreturn not cherdak_lamp_removed<s>nend","url":"http://188.120.236.127/BabkaEng/upfloor.jpg"},{"id":22,"text":"black","lua_if":"function lua_if()<s>nreturn cherdak_lamp_removed<s>nend","url":"http://188.120.236.127/BabkaEng/upfloor.jpg"}]},{"id":23,"text":"The children's room looks as if it has never been used — a changing table, a baby bed and toy boxes stood exactly along the wall, covered with a layer of dust.<s>n<s>nThere is a photo frame with broken glass on the mirror.","answers":[{"id":16,"text":"Go out into the corridor","lua_do":"function lua_do()<s>nout_of_room()<s>nend"},{"id":25,"text":"Examine the frame"},{"id":26,"text":"Examine the babe bed."},{"id":23,"text":"A new answer. enter the text","url":"http://188.120.236.127/BabkaEng/babyroom.jpg"}]},{"id":24,"text":"              ","answers":[{"comment":false,"id":24,"text":" There is not a single living flower in the orangery — dry stalks stick out of the pots. The earth in the pots is richly fertilized, apparently with poorly ground bone meal. ","lua_if":"function lua_if()<s>nreturn not( sad_cvety and (sad_cvety > 9))<s>nend","merge":true},{"comment":false,"id":24,"text":" In the orangery sprouts of flowers are grown. Against the backdrop of the reigning nightmare around it gives a ray of hope.","lua_if":"function lua_if()<s>nreturn sad_cvety and (sad_cvety > 9)<s>nend","merge":true},{"id":16,"text":"Go out into the corridor","lua_do":"function lua_do()<s>nout_of_room()<s>nend"},{"id":24,"text":"To water the flowers, you need a bucket of water.","comment":true,"lua_if":"function lua_if()<s>nreturn (not (inventory_vedro and inventory_water) ) and (not ( sad_cvety and (sad_cvety > 9) ))<s>nend"},{"id":24,"text":"Water one flower","lua_if":"function lua_if()<s>nreturn inventory_water and ((sad_cvety or 0) <10)<s>nend","lua_do":"function lua_do()<s>ninventory_water = false<s>nstamina = stamina - 10<s>nsad_cvety = (sad_cvety or 0) <plus> 1<s>nend"},{"id":24,"text":"Relieve yourself","lua_if":"function lua_if()<s>nreturn i_want_pipi>20 and ((sad_cvety or 0) <10)<s>nend","lua_do":"function lua_do()<s>ni_want_pipi = 0<s>nstamina = stamina <plus> 10<s>nsad_cvety = (sad_cvety or 0) <plus> 1<s>nend"},{"lua_if":"function lua_if()<s>nreturn ((sad_cvety or 0) <10)<s>nend","id":24,"text":"Left to water 10 flowers.","lua_text":"function lua_text()<s>nreturn <s>"Left to water <s>" .. 10- (sad_cvety or 0) .. <s>" pots of flowers.<s>"<s>nend","comment":true},{"id":29,"text":"Examine the watered pots.","lua_if":"function lua_if()<s>nreturn sad_cvety and (sad_cvety > 9)<s>nend"},{"id":24,"text":"A new answer. enter the text","url":"http://188.120.236.127/BabkaEng/plants1.jpg"}]},{"id":25,"text":"The glass of the photo frame is broken, the photo is missing, except for a small piece.","answers":[{"id":23,"text":"Move away"},{"id":25,"text":"Attach a piece to the photo","lua_if":"function lua_if()<s>nreturn(( not inventory_photo_pieces) or (inventory_photo_pieces < 3)) and inventory_photo_pieces<s>nend","lua_do":"function lua_do()<s>nchild_bedroom_photo_pieces = (child_bedroom_photo_pieces or 0) <plus>1<s>ninventory_photo_pieces = inventory_photo_pieces -1<s>nif inventory_photo_pieces == 0 then <s>ninventory_photo_pieces = nil<s>nend<s>nend"},{"comment":true,"id":25,"text":"Not enoughё 3 pieces","lua_text":"function lua_text()<s>nreturn <s>"Not enoughё <s>".. 3-(child_bedroom_photo_pieces or 0 )..<s>" pieces<s>"<s>nend","lua_if":"function lua_if()<s>nreturn( not child_bedroom_photo_pieces) or (child_bedroom_photo_pieces < 3)<s>nend"},{"id":27,"text":"To view the photo","lua_if":"function lua_if()<s>nreturn( child_bedroom_photo_pieces) and (child_bedroom_photo_pieces > 2)<s>nend"},{"id":25,"text":"A new answer. enter the text","url":"http://188.120.236.127/BabkaEng/babyroom.jpg"}]},{"id":26,"text":"The bed is neatly covered with a sheet, now decayed.","answers":[{"id":23,"text":"Move away"},{"id":26,"text":"In the corner of the bed is a fragment of a photo showing the baby's face.","lua_if":"function lua_if()<s>nreturn not child_bed_photo_taken<s>nend","merge":true},{"id":26,"text":"Take the piece of the photo","lua_if":"function lua_if()<s>nreturn not child_bed_photo_taken<s>nend","lua_do":"function lua_do()<s>nchild_bed_photo_taken = true<s>ninventory_photo_pieces = (inventory_photo_pieces or 0) <plus>1<s>nend"},{"id":26,"text":"Assemble the doll","lua_if":"function lua_if()<s>nreturn (not child_bedroom_kukla_assembled ) and (inventory_kukla_pieces and inventory_kukla_pieces >4)<s>nend","lua_do":"function lua_do()<s>ninventory_kukla_pieces = nil<s>nchild_bedroom_kukla_assembled =  true<s>nend"},{"id":26,"text":"Find the five parts of a doll, to gather it together","comment":true,"lua_if":"function lua_if()<s>nreturn (not child_bedroom_kukla_assembled) and (inventory_kukla_pieces and inventory_kukla_pieces>0)<s>nend"},{"id":26,"text":"Dress the doll","lua_if":"function lua_if()<s>nreturn child_bedroom_kukla_assembled and (not child_bedroom_kukla_weared) and (inventory_baby_suit)<s>nend","lua_do":"function lua_do()<s>nchild_bedroom_kukla_weared = true<s>ninventory_baby_suit = nil<s>nend"},{"id":26,"text":"The doll is in bed.","comment":true,"lua_if":"function lua_if()<s>nreturn child_bedroom_kukla_assembled and (not child_bedroom_kukla_weared)<s>nend"},{"id":26,"text":"The doll is lying in the bed, dressed in things tied by the grandmother.","comment":true,"lua_if":"function lua_if()<s>nreturn child_bedroom_kukla_weared<s>nend"},{"id":26,"text":"A new answer. enter the text","url":"http://188.120.236.127/BabkaEng/babyroom.jpg"}]},{"id":27,"text":"In the photo, a tired young woman in a beautiful dress is holding a baby in her arms.  ","answers":[{"id":23,"text":"Move away"}]},{"id":28,"text":"The chair is old and crumbling, but not dusty at all. It seems to be used regularly. There are needles in the basket next to the chair.","answers":[{"id":15,"text":"Move away"},{"comment":true,"id":28,"text":"In the basket is not enough 5 tangles","lua_text":"function lua_text()<s>nreturn <s>"In the basket is not enough <s>".. 5 - (second_floor_pryaja_installed or 0) ..<s>" tangles<s>"<s>nend","lua_if":"function lua_if()<s>nreturn (second_floor_pryaja_installed or 0) <5<s>nend"},{"id":28,"text":"Put a tangle of yarn in the basket","lua_if":"function lua_if()<s>nreturn (inventory_pryaja and inventory_pryaja > 0 ) and ((not second_floor_pryaja_installed) or (second_floor_pryaja_installed and second_floor_pryaja_installed <5))<s>nend","lua_do":"function lua_do()<s>nsecond_floor_pryaja_installed = (second_floor_pryaja_installed or 0) <plus> 1<s>ninventory_pryaja = inventory_pryaja - 1<s>nend"},{"lua_if":"function lua_if()<s>nreturn (second_floor_pryaja_installed or 0)>4<s>nend","id":28,"text":"<s>nThe basket contains five tangles of yarn in different colors. If that made any sense, you should come back later.","comment":false,"merge":true},{"id":28,"text":"<s>nIn the basket is a tiny multicolored children's jumpsuit made of yarn","lua_if":"function lua_if()<s>nreturn second_floor_baby_suit_ready<s>nend","merge":true},{"lua_if":"function lua_if()<s>nreturn second_floor_baby_suit_ready<s>nend","lua_do":"function lua_do()<s>nsecond_floor_baby_suit_ready = nil<s>ninventory_baby_suit = 1<s>nend","text":"Pick up a baby's jumpsuit","id":28,"merge":false},{"id":28,"text":"A new answer. enter the text","url":"http://188.120.236.127/BabkaEng/livingroom.jpg"}]},{"id":29,"text":"It would seem that the hopeless desiccation suddenly quickly came to life and turned green because of water and care. ","answers":[{"lua_do":"function lua_do()<s>nsad_photo_taken = true<s>ninventory_photo_pieces = (inventory_photo_pieces or 0) <plus> 1<s>nend","text":"Take a piece of photo","lua_if":"function lua_if()<s>nreturn not sad_photo_taken<s>nend","id":29},{"id":29,"text":"<s>nYou noticed a fragment of a photo among the leaves.","lua_if":"function lua_if()<s>nreturn not sad_photo_taken<s>nend","merge":true},{"id":24,"text":"Move away"},{"id":29,"text":"A new answer. enter the text","url":"http://188.120.236.127/BabkaEng/plants1.jpg"}]},{"id":30,"text":"       <s>n","answers":[{"lua_if":"function lua_if()<s>nreturn not (g.current_id ==34)<s>nend","id":30,"text":"<s>nGrandmother is wandering around aimlessly.","lua_text":"function lua_text()<s>nlocal text = <s>" She is on your floor.<s>"<s>nif not babushka_dead  then<s>nif babushka_relative == 0 and babushka_dist<6 and (not i_am_hided) and (not(babushka_start_distract and babushka_distract>0)) then<s>ntext = <s>" She looks at you.<s>"<s>n<s>nelseif (babushka_relative == 0) and (babushka_dist<6) and (i_am_hided) then<s>ntext = <s>" She sniffs the air.<s>"<s>n<s>nelseif babushka_relative == 0 and babushka_dist<10 and babushka_start_distract and babushka_distract>0 then<s>ntext = <s>" She's not looking at you.<s>"<s>n<s>nelseif babushka_relative >0 then<s>n text = <s>" Her footsteps are heard from above.<s>"<s>n<s>nelseif babushka_relative < 0 then<s>n text = <s>" Her footsteps are heard from below.<s>"<s>n<s>nend<s>nend<s>nbabushka_dist = babushka_dist or 20<s>nreturn <s>"<s><s>nGrandmother on <s>"..babushka_dist .. <s>" meters away from you.<s>" .. text <s>nend","merge":true},{"lua_text":"function lua_text()<s>nif not i_am_in_the_shelter then<s>ni_want_pipi = ( i_want_pipi or 0) <plus> 1<s>nend<s>n<s>nif  i_want_pipi < 10 then<s>nreturn <s>"<s>"<s>nelseif i_want_pipi <20 then<s>nreturn <s>"<s><s>nYou need to go to the toilet<s>"<s>nelseif  i_want_pipi < 30 then<s>nreturn <s>"<s><s>nYou strongly need to go to the toilet<s>"<s>nelse<s>nreturn <s>"<s><s>nYou very strongly need to go to the toilet<s>"<s>nend<s>nend","id":30,"text":"<s>nWant to pee","lua_if":"function lua_if()<s>nreturn not (g.current_id ==34)<s>nend","merge":true},{"lua_if":"function lua_if()<s>nreturn not (g.current_id ==34)<s>nend","super_calculate":false,"id":30,"text":"walking grandmother","lua_do":"function lua_do()<s>nbabushka_distract = babushka_distract or 0<s>nbabushka_relative = babushka_relative  or 1<s>nif not babushka_dead then<s>nbabushka_dist = babushka_dist-1<s>nend<s>nif babushka_dist <0 then <s>nbabushka_dist = 0<s>nend<s>nif babushka_dist < 2 and babushka_distract>0 and (not babushka_start_distract) then<s>nbabushka_start_distract = true<s>nend<s>nif babushka_dist <10 then <s>nbabushka_relative = 0<s>nend<s>nif babushka_distract>0 and ( babushka_start_distract) and (not babushka_dead ) then<s>nbabushka_dist = babushka_dist <plus> 2<s>nbabushka_distract = babushka_distract - 1<s>nend<s>nif babushka_distract < 1 then<s>nbabushka_start_distract = false<s>nend<s>nif babushka_dist < 10 then<s>nbabushka_relative = 0<s>nend<s>nif i_am_in_the_shelter and babushka_dist<6 then<s>nbabushka_dist = 6<s>nend<s>n<s>nend","calculate":true},{"super_calculate":false,"lua_do":"function lua_do()<s>nout_of_room = function()<s>nbabushka_dist = (babushka_dist - 4)<s>nif babushka_dist <6 then<s>nbabushka_dist = 7<s>nend<s>nstamina = stamina - 5<s>nif stamina < 30 then<s>nbabushka_dist = (babushka_dist - 1)<s>nend<s>nend<s>nin_the_room = function()<s>nbabushka_dist = babushka_dist <plus> 4 <s>nstamina = stamina - 5<s>nif stamina < 30 then<s>nbabushka_dist = (babushka_dist - 1)<s>nend<s>nend<s>nend","text":"yongze exit from the room","id":30,"calculate":true},{"super_calculate":false,"lua_do":"function lua_do()<s>nhide = function()<s>ni_am_hided = true<s>nif babushka_dist >5 then<s>nbabushka_distract = 20<s>nbabushka_start_distract = nil<s>nelse<s>nbabushka_distract = 0<s>nbabushka_start_distract = nil<s>nend<s>nend<s>nunhide = function()<s>ni_am_hided = false<s>nif babushka_dist <6 or (not babushka_start_distract ) then<s>nbabushka_start_distract = nil<s>nbabushka_distract =0<s>n<s>nend<s>nend<s>nend","text":"function hiding","id":30,"calculate":true},{"super_calculate":false,"id":30,"calculate":true,"lua_do":"function lua_do()<s>nupstairs = function()<s>nif babushka_relative == 0 then<s>nbabushka_relative = -1<s>nbabushka_dist = babushka_dist <plus> 4<s>nelseif babushka_relative > 0 then<s>nbabushka_dist = babushka_dist - 0<s>nelse<s>nbabushka_dist = babushka_dist <plus> 5<s>nend<s>nif babushka_dist < 0 then<s>nbabushka_dist =0<s>nend<s>n<s>nstamina = stamina - 20<s>nif stamina < 30 then<s>nbabushka_dist = (babushka_dist - 0)<s>nend<s>n<s>n<s>nend<s>ndownstairs = function()<s>nif babushka_relative == 0 then<s>nbabushka_dist = babushka_dist <plus> 4<s>nbabushka_relative = 1<s>nelseif babushka_relative > 0 then<s>nbabushka_dist = babushka_dist <plus> 5<s>nelse<s>nbabushka_dist = babushka_dist - 0<s>nend<s>nif babushka_dist < 0 then<s>nbabushka_dist =0<s>nend<s>n<s>n<s>nstamina = stamina - 18<s>nif stamina < 30 then<s>nbabushka_dist = (babushka_dist - 0)<s>nend<s>n<s>nend<s>nend","text":"stair function"},{"module":true,"super_calculate":false,"lua_do":"function lua_do()<s>n<s>r<s>nvspyshka = function(r,g,b)<s>r<s>nr = r or 1<s>r<s>ng = g or 1<s>r<s>nb = b or 1<s>r<s>n<s>r<s>n<s>r<s>nlocal rect = display.newRect(display.contentCenterX, display.contentCenterY,display.contentCenterX*2, display.contentCenterY*2 )<s>r<s>n<s>r<s>ncanvas.parent.parent.parent.parent.parent.parent.parent:insert(rect)<s>r<s>n<s>r<s>nrect:setFillColor(r,g,b)<s>r<s>n<s>r<s>ntransition.from(rect, {--customize the appearance<s>r<s>n<s>r<s>ntime = 500,<s>r<s>n<s>r<s>nalpha = 0,<s>r<s>n<s>r<s>ntransition = easing.outExpo,<s>r<s>n<s>r<s>nonComplete = function()<s>r<s>n<s>r<s>ntimer.performWithDelay(50, function()--if you want to hold a white screen<s>r<s>n<s>r<s>nif rect and rect.removeSelf then<s>r<s>n<s>r<s>ntransition.to(rect, {--setting disappearance<s>r<s>n<s>r<s>ntime = 500,<s>r<s>nalpha = 0,<s>r<s>ntransition = easing.inExpo,<s>r<s>nonComplete = function()<s>r<s>nif rect and rect.removeSelf then<s>r<s>nrect:removeSelf()<s>r<s>nrect = nil<s>r<s>nend<s>r<s>nend<s>r<s>n})<s>r<s>nend<s>r<s>nend)<s>r<s>nend<s>r<s>n})<s>r<s>n<s>r<s>nend<s>nend","text":"luaModuleUpdate http://188.120.236.127/lua/vspyshka.lua","id":30,"calculate":true},{"lua_if":"function lua_if()<s>nreturn (not (g.current_id ==34)) and (not babushka_dead )<s>nend","super_calculate":false,"id":30,"calculate":true,"text":"A new answer. enter the text","lua_do":"function lua_do()<s>nif babushka_dist == 0 then<s>nhp = hp - 20<s>nbabushka_dist  = babushka_dist <plus> 7<s>nvspyshka(0.5,0,0)<s>nmessage2(<s>"Grandmother hit you with an iron, breaking several bones, and threw you back!<s>")<s>nelseif babushka_dist == 1 then<s>nhp = hp - 10<s>nvspyshka(1,0,0)<s>nmessage2(<s>"Grandma hit you with an iron and skinned you with meat.<s>")<s>nelseif babushka_dist <5 and (not (i_am_hided or babushka_start_distract)) then<s>nhp = hp - 5<s>nvspyshka(1,0.25,0.25)<s>nmessage2(<s>"Grandmother threw a piece of wreckage at you and scratched you.<s>")<s>nend<s>nif hp<1 then<s>ntimer.performWithDelay(1000,function()<s>nshowPage({id=34})<s>nend)<s>nend<s>n<s>n<s>n<s>nend"},{"super_calculate":false,"lua_do":"function lua_do()<s>nstamina = stamina <plus> 1<s>nif i_am_hided then<s>nstamina = stamina <plus> 3<s>nend<s>nif stamina  > 100 then <s>nstamina  = 100<s>nelseif stamina <0 then<s>nvspyshka(0,0,0)<s>nmessage2(<s>"You lost consciousness.<s>")<s>nstamina =25<s>nbabushka_dist = babushka_dist-10<s>nif babushka_dist < 3 then<s>nbabushka_dist = 3<s>nend<s>nend<s>nend","calculate":true,"text":"A new answer. enter the text","id":30},{"id":30,"text":"A new answer. enter the text","lua_text":"function lua_text()<s>nreturn <s>"<s><s>nYour health: <s>"..hp..<s>", stamina: <s>"..stamina..<s>".<s>"<s>nend","merge":true},{"lua_if":"function lua_if()<s>nreturn not babushka_dead <s>nend","super_calculate":false,"lua_do":"function lua_do()<s>nif tv_work_time then<s>nif i_am_in_guestroom then<s>nbabushka_dist = babushka_dist - 2<s>nif babushka_dist < 0 then<s>nbabushka_dist = 0<s>nend<s>nelse<s>nbabushka_dist = babushka_dist <plus> 2<s>nif babushka_dist > 20 then<s>nbabushka_dist = 20<s>nend<s>nend<s>ntv_work_time = tv_work_time - 1<s>nif tv_work_time<1 then<s>ntv_work_time=nil<s>nend<s>nend<s>nend","calculate":true,"id":30,"text":"Work of TV"},{"lua_if":"function lua_if()<s>nreturn not babushka_dead <s>nend","super_calculate":false,"lua_do":"function lua_do()<s>nif kuhnya_holodolnik_vkl then<s>nif i_am_in_the_kitchen then<s>nbabushka_dist = babushka_dist - 2<s>nif babushka_dist < 0 then<s>nbabushka_dist = 0<s>nend<s>nelse<s>nbabushka_dist = babushka_dist <plus> 2<s>nif babushka_dist > 20 then<s>nbabushka_dist = 20<s>nend<s>nend<s>nkuhnya_holodolnik_vkl = kuhnya_holodolnik_vkl - 1<s>nif kuhnya_holodolnik_vkl<1 then<s>nkuhnya_holodolnik_vkl=nil<s>nholodilnik_destroyed = true<s>nend<s>nend<s>nend","text":"Work of refrigerator","calculate":true,"id":30},{"super_calculate":false,"lua_do":"function lua_do()<s>n<s>tif floor~=2 and (second_floor_pryaja_installed and second_floor_pryaja_installed >4) and math.random(4)==1 then<s>n<s>t<s>tmessage2(<s>"Grandmother found the yarn<s>")<s>n<s>t<s>tbabushka_distract=20<s>n<s>t<s>tbabushka_start_distract = true<s>n<s>t<s>tsecond_floor_pryaja_installed = nil<s>n<s>t<s>tsecond_floor_baby_suit_ready = true<s>n<s>tend<s>n<s>tif floor ~=3 and child_bedroom_kukla_weared and math.random(4)==1  then<s>n<s>t<s>tmessage2(<s>"Grandmother found dressed doll<s>")<s>n<s>t<s>tbabushka_distract=20<s>n<s>t<s>tbabushka_start_distract = true<s>n<s>t<s>tchild_bedroom_kukla_weared = nil<s>n<s>t<s>tbabushka_inventory_kukla = 1<s>n<s>tend<s>n<s>n<s>tif (floor ~=2) and (not babushka_inventory_photo) and (child_bedroom_photo_pieces and (child_bedroom_photo_pieces>2)) and (math.random(4)==1)  then<s>n<s>t<s>tmessage2(<s>"Grandmother found a photo<s>")<s>n<s>t<s>tbabushka_distract=10<s>n<s>t<s>tbabushka_start_distract = true<s>n<s>t<s>tbabushka_inventory_photo = 1<s>n<s>tend<s>n<s>tif babushka_inventory_kukla and babushka_inventory_photo and (not babushka_dead) then<s>nmessage2(<s>"Grandmother is not making a sound<s>")<s>n<s>t<s>tbabushka_dead = true<s>n<s>tend<s>nend","calculate":true,"text":"Story check","id":30},{"super_calculate":false,"lua_do":"function lua_do()<s>nmessage2 = function(text)<s>ndialog{header =text, text = <s>"<s>", answers = {{text = <s>"Ok<s>"}}}<s>n<s>nend<s>nend","text":"overload message","id":30,"calculate":true},{"super_calculate":false,"lua_do":"function lua_do()<s>nif i_am_undead_too then<s>nhp =100<s>nend<s>nend","calculate":true,"text":"mode of immortality","id":30}]},{"id":31,"text":"after","answers":[{"id":31,"text":"Wait","instant":true,"go_to":["global current_id"]},{"id":31,"text":"very small","lua_if":"function lua_if()<s>nreturn babushka_dist and (not i_am_in_the_shelter) and babushka_dist<11 and babushka_dist>=8    and (not i_am_hided)<s>nend","url":"http://188.120.236.127/BabkaEng/Babka_full.png"},{"id":31,"text":"A new answer. enter the text","lua_if":"function lua_if()<s>nreturn  babushka_dist and (not i_am_in_the_shelter) and  babushka_dist<8 and babushka_dist>=6   and (not i_am_hided)<s>nend","url":"http://188.120.236.127/BabkaEng/Babka_full.png"},{"id":31,"text":"A new answer. enter the text","lua_if":"function lua_if()<s>nreturn  babushka_dist and (not i_am_in_the_shelter) and   babushka_dist<6 and babushka_dist>=3    and (not i_am_hided)<s>nend","url":"http://188.120.236.127/BabkaEng/Babka_top.png"},{"id":31,"text":"A new answer. enter the text","lua_if":"function lua_if()<s>nreturn  babushka_dist and (not i_am_in_the_shelter) and  babushka_dist<3   and (not i_am_hided)<s>nend","url":"http://188.120.236.127/BabkaEng/Babka_face.png"},{"id":31,"text":"A new answer. enter the text","lua_if":"function lua_if()<s>nreturn  babushka_dist and (not i_am_in_the_shelter) and   babushka_dist<3 and i_am_hided<s>nend","url":"http://188.120.236.127/BabkaEng/Babka_nogi.png"},{"id":31,"text":"very small top","lua_if":"function lua_if()<s>nreturn  babushka_dist and babushka_dist<6 and babushka_dist>=3  and i_am_hided<s>nend","url":"http://188.120.236.127/BabkaEng/Babka_nogi.png"}]},{"id":32,"text":"The flimsy floor couldn't resist your weight and you fell through it, scraping your hands and face with the fragments of the planks, and even in the fall, it seems, you broke a rib. It's fail.<s>r<s>nYou are in complete darkness.","answers":[{"id":10,"text":"Touch everything around you"}]},{"id":33,"text":"You rummaged in the nightstand and found:","answers":[{"isBack":true,"backstepCount":1,"text":"Back","forget":33,"id":33},{"id":33,"text":"Pick up a candle stub","lua_if":"function lua_if()<s>nreturn not bedroom_tumbochka_candle <s>nend","lua_do":"function lua_do()<s>nbedroom_tumbochka_candle = true<s>ninventory_candle = (inventory_candle or 0) <plus> 1<s>nend"},{"id":33,"text":"Take a sip from a bottle of wine.","lua_do":"function lua_do()<s>nstamina = 100<s>nend","showAd":true},{"id":33,"text":"(Wine will give maximum of stamina, but will cause advertising delirium.)","comment":true},{"id":33,"text":"Pick up a tangle of green yarn","lua_if":"function lua_if()<s>nreturn not bedroom_tumbochka_pryaja<s>nend","lua_do":"function lua_do()<s>nbedroom_tumbochka_pryaja = true<s>ninventory_pryaja =( inventory_pryaja or 0 ) <plus> 1<s>nend"}]},{"id":34,"text":"You are lying on the floor, and in front of your face is swinging on a wire old iron, richly covered with your blood. Is this reality and you will die? Or is it just a bad dream generated by your brain?","answers":[{"isBack":true,"showAd":true,"lua_if":"function lua_if()<s>nreturn g.ever_die and (not ever_die_this_game)<s>nend","lua_do":"function lua_do()<s>nhp = 50<s>nstamina = 50<s>nbabushka_dist = 20<s>never_die_this_game = true<s>ng.ever_die =  true<s>nend","id":34,"text":"It was a dream. Another advertising hallucination and you will wake up in the same place.","backstepCount":1,"forget":34},{"showAd":false,"comment":true,"lua_if":"function lua_if()<s>nreturn not g.ever_die<s>nend","id":34,"text":"You died for the first time. To better understand the grandmother, read <s>"A book about grandmother<s>", which is now in the basement.","backstepCount":1,"isBack":true},{"id":34,"showAd":false,"lua_if":"function lua_if()<s>nreturn not g.ever_die<s>nend","forget":34,"lua_do":"function lua_do()<s>ng.ever_die = true<s>nhp = 50<s>nstamina = 50<s>nbabushka_dist = 20<s>nend","text":"Yes, it's a dream. Time to get up.","isBack":true,"backstepCount":1},{"id":1,"text":"It is a reality. The end.","lua_do":"function lua_do()<s>ng.ever_die =  true<s>nend"}]},{"id":35,"text":"Welcome to the world of pain, suffering and secrets of grandmother. What are you interested in?","answers":[{"id":2,"text":"Close the book","lua_do":"function lua_do()<s>ng.autorun =30<s>nend"},{"id":41,"text":"How to get out of the basement?"},{"id":36,"text":"How does grandmother walk?"},{"id":37,"text":"How do I walk?"},{"id":38,"text":"What about health and stamina?"},{"id":39,"text":"How to hide? Why isn't the shelter working?"},{"id":40,"text":"How to get out of the house? What to do?"}]},{"id":36,"text":"Usually, the grandmother always goes to you, as can be seen from the text with her distance from you. It moves unevenly.<s>n<s>nIf you are hiding, he will first look for you at the shelter, and then (perhaps) leave for a while.<s>n<s>nSometimes the grandmother can be distracted or shocked for a few moves. Then the distance to her will not be reduced, if you do not go to meet it.","answers":[{"id":36,"isBack":true,"text":"Ok","backstepCount":1,"forget":36}]},{"id":37,"text":"Every time you leave the room, the distance to grandmother is shortened.<s>n<s>nEvery time you enter a room, the distance to grandmother increases.<s>n<s>nGoing up or down the stairs, you shorten or increase the distance to grandmother, depending on where she is - above, below or on your floor.<s>n<s>nWatch the position of the grandmother vertically, so as not to get under her hot iron. Sometimes she may not be exactly where you expected it to be.","answers":[{"id":37,"isBack":true,"text":"Back","backstepCount":1,"forget":37}]},{"id":38,"text":"On the search, hard work, walking through rooms and especially on the stairs, stamina is spent. <s>r<s>n<s>r<s>nIf you run out of stamina, you will faint, and the grandmother will come very close.<s>r<s>n<s>r<s>nStamina especially quickly restored in the shelter. You can also cheer up by relieving yourself in the toilet.<s>r<s>n<s>r<s>nTo improve your health and heal wounds from the iron, you need to eat. The grandmother doesn't have any normal food, so you'll have to eat anything.","answers":[{"id":38,"isBack":true,"text":"Back","backstepCount":1,"forget":38}]},{"id":39,"text":"You can hide in shelters such as a pile of rags or a place under the bed. Grandmother will sniff around and leave.<s>n<s>nBut if you use the same place in a row, the grandmother will begin to suspect something, and will not go so far (or not at all).<s>n<s>nIf grandmother saw you hiding, the result will be sad.","answers":[{"id":39,"isBack":true,"text":"Back","backstepCount":1,"forget":39}]},{"id":40,"text":"To get out of the house, you need to work a lot. Grandmother doesn't want to leave you.<s>n<s>nImportant to escape missions are always written within the text of a page or answers.<s>n<s>nMake sure that you have visited all the available rooms. And not available.<s>n<s>nSearch everything that is being searched. Sometimes you can find something that is not what you expected.","answers":[{"id":40,"isBack":true,"text":"Back","backstepCount":1,"forget":40}]},{"id":41,"text":"While grandmother is wandered, search a dozen bodies, eat everything.<s>n<s>nHide in rags before grandmother sees you (grandmother sees at a distance 5 meters).<s>n<s>nWait until the grandmother approaches, sniffs and leaves, and get out of the rags.<s>n<s>nBe careful — when you leave the cellar, you will reduce the distance to the grandmother. If you are within one meter of her, she will see you anyway, and introduce you to her iron.","answers":[{"id":41,"isBack":true,"text":"Back","backstepCount":1,"forget":41}]},{"id":42,"text":"Glass pickle jars stand in rows on the shelves. In the murky liquid are mostly abominations like organs of body. But if you look at each one, you can find something useful. Probably.","answers":[{"backstepCount":1,"forget":42,"text":"Back","id":42,"isBack":true},{"lua_text":"function lua_text()<s>nreturn <s>"Search the jars (<s>".. 18-(banki_search or 0)..<s>" left)<s>"<s>nend","id":42,"text":"Search the jars (18 left)","lua_if":"function lua_if()<s>nreturn (not banki_search) or (banki_search<18)<s>nend","lua_do":"function lua_do()<s>nbanki_search = (banki_search or 0) <plus> 1<s>nstamina = stamina -2<s>nend"},{"id":42,"text":"To break a jar of pickles and eat them","lua_if":"function lua_if()<s>nreturn banki_search and (banki_search >5) and (not banka_1_broken)<s>nend","lua_do":"function lua_do()<s>nbanka_1_broken = true<s>nhp = hp <plus> 20<s>nif hp > 100 then<s>nhp = 100<s>nend<s>nbabushka_dist = babushka_dist - 5<s>nif babushka_dist <0 then<s>nbabushka_dist =0<s>nend<s>nend"},{"id":42,"text":"To break the jar with a black tangle","lua_if":"function lua_if()<s>nreturn banki_search and (banki_search >11) and (not banka_2_broken)<s>nend","lua_do":"function lua_do()<s>nbanka_2_broken = true<s>ninventory_pryaja = (inventory_pryaja or 0) <plus>1<s>nbabushka_dist = babushka_dist - 5<s>nif babushka_dist <0 then<s>nbabushka_dist =0<s>nend<s>nend"},{"id":42,"text":"To break the jar with a doll's head.","lua_if":"function lua_if()<s>nreturn banki_search and (banki_search >17) and (not banka_3_broken)<s>nend","lua_do":"function lua_do()<s>nbanka_3_broken = true<s>ninventory_kukla_pieces = (inventory_kukla_pieces or 0) <plus>1<s>nbabushka_dist = babushka_dist - 5<s>nif babushka_dist <0 then<s>nbabushka_dist =0<s>nend<s>nend"},{"id":42,"text":"A new answer. enter the text","url":"http://188.120.236.127/BabkaEng/livingroom.jpg"}]},{"id":43,"text":"On the table are sheets of paper and cardboard of different age and safety. Letters to grandmother are written on them in different ink. The handwriting is different everywhere, but the letters have one thing in common — they were written with trembling hands, often stained with blood.","answers":[{"id":15,"text":"Back"},{"id":43,"text":"To take one letter","lua_if":"function lua_if()<s>nreturn not gostinaya_pismo_taken<s>nend","lua_do":"function lua_do()<s>ngostinaya_pismo_taken = true<s>nend"},{"id":17,"text":"Write your letter.","need":[-17],"lua_do":"function lua_do()<s>ng.autorun = nil<s>nend"},{"id":15,"text":"Your letter to grandmother is on the table.","comment":true,"need":21},{"id":43,"text":"When you took the letter, you found a fragment of a photo of a young woman under it.","comment":true,"lua_if":"function lua_if()<s>nreturn gostinaya_pismo_taken and (not gostinaya_photo_taken)<s>nend"},{"id":43,"text":"Take the piece of the photo","lua_if":"function lua_if()<s>nreturn gostinaya_pismo_taken and (not gostinaya_photo_taken)<s>nend","lua_do":"function lua_do()<s>ngostinaya_photo_taken = true<s>ninventory_photo_pieces = (inventory_photo_pieces or 0) <plus> 1<s>nend"},{"id":43,"text":"A new answer. enter the text","url":"http://188.120.236.127/BabkaEng/livingroom.jpg"}]},{"id":44,"text":"<s>"I've been here for two or three weeks. The grandmother stands for hours at the bottom of the stairs, throwing wreckages at me when she sees me. <s>nwww<s>nThere is no more food. I have no choice, I will try to climb down the wall on a rope of clothes.<s>n<s>nIf you're reading this and the cursed house isn't still a pile of coals, then I fell on the stakes, or the wolves in the forest ate me...<s>nThe key is under the chair. However, it is of little use now — after discovering the loss, the grandmother boarded up the door with huge nails. I was so close... Oh...<s>"","answers":[{"id":44,"text":"Back","isBack":true,"backstepCount":1}]},{"id":45,"text":"Ending <s>"Purification<s>"<s>r<s>n<s>r<s>nYou helped the grandmother overcome her rage, forgive and let go of those she once hated or loved, and rest in piece, and you ran away from house. <s>r<s>n<s>r<s>nYou ran away from home! After many hours of wandering around the area, you were able to find a small settlement where you got treatment. You don't tried to find grandmother's house and tried not to think about her.","answers":[{"id":1,"text":"To beginning"}]},{"id":46,"text":"","answers":[]}]