diff --git a/party.lua b/party.lua --- a/party.lua +++ b/party.lua @@ -266,9 +266,9 @@ learr_home_dlg = dlg { end; end}; {tag="more_questions"}; - {tag="on_books", "", function() + --[[{tag="on_books", "", function() - end}; + end};]] {tag="on_join", "Почему ты отправилась с нами?", function() char_learr.on_join = 2; return [[Леарр отвечает: "Я с-Уильямом-Дрейком-хотела-отправиться, но отец не-разрешил. Он сейчас-изменил-решение и я могу-с-тобой-искать". ]]; @@ -366,33 +366,33 @@ radcliffe_home_dlg = dlg { disp = "Уолтер Рэдклифф"; hideinv = true; entered = function (s) - poff("on_anna", "on_walter", "on_atlantis", "on_drake", "on_black", "on_join", "talk"); + poff("on_anna", "on_walter", "on_atlantis", "on_drake", "on_black", "on_join", "questions"); if (rel_walter < 0) then - pon("talk"); + pon("questions"); else if (char_walter.on_anna < 2) then pon("on_anna"); - pon("talk"); + pon("questions"); end; if (char_walter.on_black < 2) then pon("on_black"); - pon("talk"); + pon("questions"); end; if (char_walter.on_walter < 2) then pon("on_walter"); - pon("talk"); + pon("questions"); end; if (char_walter.on_atlantis < 2) then pon("on_atlantis"); - pon("talk"); + pon("questions"); end; if (char_walter.on_drake < 2) then pon("on_drake"); - pon("talk"); + pon("questions"); end; if (char_walter.on_join < 2) then pon("on_join"); - pon("talk"); + pon("questions"); end; end; @@ -567,14 +567,15 @@ wright_main_dlg = dlg { poff('stay'); end; + poff("talk"); if (rel_jack < 0) then - if (char_wright.on_learr == 0) then pon("on_learr"); end; - if (char_wright.on_leviathan == 0) then pon("on_leviathan"); end; - if (char_wright.on_jack == 0) then pon("on_jack"); end; + if (char_wright.on_learr == 0) then pon("on_learr", "talk"); end; + if (char_wright.on_leviathan == 0) then pon("on_leviathan", "talk"); end; + if (char_wright.on_jack == 0) then pon("on_jack", "talk"); end; else - if (char_wright.on_learr < 3 and ArrayUtils.indexOf(pl.party, 'learr') ~= 0) then pon("on_learr"); end; - if (char_wright.on_leviathan < 2) then pon("on_leviathan"); end; - if (char_wright.on_jack < 2) then pon("on_jack"); end; + if (char_wright.on_learr < 3 and ArrayUtils.indexOf(pl.party, 'learr') ~= 0) then pon("on_learr", "talk"); end; + if (char_wright.on_leviathan < 2) then pon("on_leviathan", "talk"); end; + if (char_wright.on_jack < 2) then pon("on_jack", "talk"); end; end; psub("generic"); @@ -651,6 +652,7 @@ wright_main_dlg = dlg { pon('join'); poff('stay'); ]]}; + {tag="talk", "Я хочу кое-что спросить.", [[Джек Райт кивает: "Слушаю". ]], code [[psub("more_questions");]]}; {tag="exit", always="true", "Это все.", [[Джек Райт отвечает: "Хорошо". ]], code [[ back(); ]]}; {tag = "more_questions"}; {tag="on_learr", "Что ты думаешь о Леарр?", function()