diff --git a/party.lua b/party.lua --- a/party.lua +++ b/party.lua @@ -117,6 +117,9 @@ char_radcliffe = obj { on_anna = 0; on_join = 0; on_conflict = 0; + on_venaedanotrr = 0; + on_nleyyslanotrr = 0; + on_deep_temple = 0; }; nam = "radcliffe"; disp = "Уолтер Рэдклифф"; @@ -196,6 +199,9 @@ char_anna = obj { drake_asked = 0; join_asked = 0; black_asked = 0; + venaedanotrr_asked = 0; + nleyyslanotr_asked = 0; + deep_temple_asked = 0; rel_on_join = nil; }; nam = "anna"; @@ -715,15 +721,15 @@ radcliffe_home_dlg = dlg { pon("questions"); end; - if (char_anna.on_venaedanotrr < 2 and nleyyslanotrr_found) then + if (char_radcliffe.on_venaedanotrr < 2 and nleyyslanotrr_found) then pon("on_venaedanotrr"); pon("questions"); end; - if (char_anna.on_nleyyslanotrr < 2 and lseryanotrr_found) then + if (char_radcliffe.on_nleyyslanotrr < 2 and lseryanotrr_found) then pon("on_nleyyslanotrr"); pon("questions"); end; - if (char_anna.on_deep_temple < 2 and dt_temple_done) then + if (char_radcliffe.on_deep_temple < 2 and dt_temple_done) then pon("on_deep_temple"); pon("questions"); end; @@ -866,10 +872,10 @@ radcliffe_home_dlg = dlg { {tag="quit", always=true, "Поговорим в другой раз. ", [[Уолтер кивает: "Хорошо".]], code [[pret();]]}; {tag="generic"}; {tag="questions", always=true, "У меня есть несколько вопросов. ", function(s) - if (rel_anna < 0) then + if (rel_walter < 0) then return [[Уолтер отрицательно качает головой: "Не сейчас, я занят". ]]; else - psub("questions"); + psub("talk"); return [[Уолтер кивает: "Слушаю". ]]; end; end};