diff --git a/leviathan.lua b/leviathan.lua --- a/leviathan.lua +++ b/leviathan.lua @@ -861,7 +861,7 @@ leviathan_dlg = dlg { if (type(where(submarine_leviathan).view) == "function") then view = where(submarine_leviathan):view(); else - view = where(submarine_leviathan).view; + view = where(submarine_leviathan).view(); end; return [[Вы находитесь в рубке Левиафана перед штурвалом. Отсюда вы можете направиться куда-нибудь. Яркий свет электрических ламп освещает помещение. ]] .. (view); @@ -883,7 +883,7 @@ leviathan_dlg = dlg { if (dypatreanotrr_night_found and where(submarine_leviathan) ~= dyp_night_center) then leviathan_dlg:pon("dypatreanotrr_night"); end; - if (iraaphaanotrr_temple_found and where(submarine_leviathan) ~= ctt_iraa_near_temple) then + if (iraaphaanotrr_temple_found and where(submarine_leviathan) ~= ctt_iraa_near_temple) then leviathan_dlg:pon("iraaphaanotrr_temple"); end; if (dypatreanotrr_temple_found and where(submarine_leviathan) ~= dyp_temple_entrance) then @@ -898,6 +898,15 @@ leviathan_dlg = dlg { if venaedanotrr_temple_found and where(submarine_leviathan) ~= ven_temple_entrance then leviathan_dlg:pon("venaedanotrr_temple"); end; + if nleyyslanotrr_found and where(submarine_leviathan) ~= nley_near_cliff_1 then + leviathan_dlg:pon('nleyyslanotrr') + end; + if deep_temple_found and where(submarine_leviathan) ~= dt_labyrinth_foot then + leviathan_dlg:pon('deep_temple') + end; + if lseryanotrr_found then + leviathan_dlg:pon('lseryanotrr') + end; end; enter = function(s) s.update_options(); @@ -977,7 +986,7 @@ leviathan_dlg = dlg { leviathan_dlg:update_options(); walk(ven_ravine_intro); end}, - {tah='venaedanotrr_temple', always = 'true', 'Храм Венаэданотра', function() + {tag='venaedanotrr_temple', always = 'true', 'Храм Венаэданотра', function() if raybox_task then raybox_task_finished = true; end; @@ -985,6 +994,30 @@ leviathan_dlg = dlg { leviathan_dlg:update_options(); walk(ven_temple_intro); end}, + {tag='nleyyslanotrr', always = 'true', 'Нлейисланотр', function() + if raybox_task then + raybox_task_finished = true; + end; + move(submarine_leviathan, 'nley_near_cliff_1'); + leviathan_dlg:update_options(); + if nley_visited then + walk(leviathan_wheelhouse); + else + walk(nley_intro); + end; + end}, + {tag='deep_temple', always = 'true', 'Неизвестный храм', function() + if raybox_task then + raybox_task_finished = true; + end; + move(submarine_leviathan, 'dt_labyrinth_foot'); + leviathan_dlg:update_options(); + walk(dt_intro); + end}, + {tag='lseryanotrr', always = 'true', 'Лсэрианотр', function() + leviathan_dlg:update_options(); + walk(lse_entered); + end}, {always = "true", "Назад", "", function() back(); end}