# HG changeset patch # User Silverwing # Date 2019-01-04 13:47:43 # Node ID 0b87011f114a1fb9f4e5eedfbf4ccf3c38758a13 # Parent a42792d011d831ff7db5bb0a5d009f7d9cb4975d chapter 2: kraken fight diff --git a/journey_temple.lua b/journey_temple.lua --- a/journey_temple.lua +++ b/journey_temple.lua @@ -1,3 +1,7 @@ +global { + dt_temple_done = false; +} + dt_intro = lcutscene('Левиафан, рубка', 'Левиафан, рубка', [[Следуя карте, найденной в светодиске, вы следуете к древнейшему из известных вам навьярских сооружений. Через месяц пути вы оказываетесь в глубоком лабиринте ущелий. Здесь вам предстоит найти искомое. ]], 'Вы прибыли в древний храм. ', 'dt_labyrinth'); dt_labyrinth_foot = room { @@ -437,6 +441,7 @@ dt_temple_ravine = room { way = { kh_vroom("В Левиафан", function(s) if dt_temple_bridge1.state == 2 then + dt_temple_done = true; return 'dt_fight_intro'; else return "leviathan_airlock"; diff --git a/leviathan.lua b/leviathan.lua --- a/leviathan.lua +++ b/leviathan.lua @@ -905,7 +905,7 @@ leviathan_dlg = dlg { 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 + if deep_temple_found and not dt_temple_done and where(submarine_leviathan) ~= dt_labyrinth_foot then leviathan_dlg:pon('deep_temple') end; if lseryanotrr_found then