diff --git a/atlantis_dyp.lua b/atlantis_dyp.lua --- a/atlantis_dyp.lua +++ b/atlantis_dyp.lua @@ -33,9 +33,10 @@ dyp_center = room { "dyp_obelisk"; }; entered = function(s) + dyp_obelisk_puzzle.where_from = 'dyp_center'; if atl_rep_dyp < 0 then dypatreanotrr_night_found = true; - return [[Ва встречают враждебные взгляды вооруженных навьяров. ]]; + return [[Вас встречают враждебные взгляды вооруженных навьяров. ]]; end; end; way = { @@ -148,10 +149,12 @@ dyp_obelisk_puzzle = room { 12,13,14,15 }; set = false; + where_from = nil; }; win = ""; nam = "Дипатреанотр, центр"; underwater = true; + not_follow = true; entered = function(s) if not s.set then s.set = true; @@ -231,7 +234,7 @@ dyp_obelisk_puzzle = room { else p [[Одна из каменных плит рядом с обелиском отодвигается. В образовавшейся выемке вы видите небольшой светящийся красным светом камень. Вы забираете камень себе. ]]; put(dyp_item_stone_red, pl); - walk(dyp_center); + walk(s.where_from); end; end; check_win = function(s) @@ -243,7 +246,9 @@ dyp_obelisk_puzzle = room { return true; end; way = { - kh_vroom("Отойти", "dyp_center"); + kh_vroom("Отойти", function(s) + return dyp_obelisk_puzzle.where_from; + end); }; };