# HG changeset patch # User Silverwing # Date 2020-11-20 20:31:01 # Node ID b18117337c894e83a48ff43ec8ed447b91836ed3 # Parent b638aec10ad3bf6efb33222ca32fab54e6958b8c Fix logic issues with taking Wright aboard Leviathan diff --git a/startup.lua b/startup.lua --- a/startup.lua +++ b/startup.lua @@ -276,7 +276,7 @@ function init() end; ---game init pl.where = intro; - ---debug + ---debug end; function start() diff --git a/wright.lua b/wright.lua --- a/wright.lua +++ b/wright.lua @@ -184,6 +184,10 @@ wright_dlg = dlg { set_music('music/atlantis.ogg'); table.insert(pl.party, 'wright'); move(char_wright, char_wright.home); + dock_leviathan.submerged = false; + dock_leviathan.open = true; + dock_crane.state = 3; + leviathan_entry:enable(); walk('wright_leviathan_cutscene2'); end}; {always = true, "Я вернусь позже.", [[ @@ -194,6 +198,10 @@ wright_dlg = dlg { set_music('music/atlantis.ogg'); table.insert(pl.party, 'wright'); move(char_wright, char_wright.home); + dock_leviathan.submerged = false; + dock_leviathan.open = true; + dock_crane.state = 3; + leviathan_entry:enable(); walk('wright_leviathan_cutscene2'); end}; {always = true, "Я вернусь позже.", [[Джек возвращается к своим делам: "До встречи".]], code [[ back(); ]]}; @@ -307,4 +315,4 @@ wright_house = room { way = { vroom("В дом", "wright_house_front_room"):disable(); }; -}; \ No newline at end of file +};