# HG changeset patch # User Silverwing # Date 2017-12-02 18:53:19 # Node ID 9faa991071aab4499c5b5dc1e0597c33d2d59aeb # Parent 069a7c0b9c5a897278f051cb9906b58b05c3ff0d Svetlova dlg fix diff --git a/atlantis_dlg.lua b/atlantis_dlg.lua --- a/atlantis_dlg.lua +++ b/atlantis_dlg.lua @@ -749,6 +749,13 @@ char_svetlova_dlg = dlg { end; s:reset_more(); + + poff("iyh1_learr", "iyh1_aikerjarr"); + if (atl_iyh_state == 1 and atl_iyh_learr_spoken and atl_iyh_ryveerr_spoken) then + pon('iyh1_learr'); + elseif (atl_iyh_state == 1 and atl_iyh_aikerjarr_spoken and atl_iyh_ryveerr_spoken) then + pon('iyh1_aikerjarr'); + end; if (s.state == 0) then psub('first_meeting'); @@ -836,13 +843,6 @@ char_svetlova_dlg = dlg { s.lfc_dialog = true; pon('sabotage', 'ignis_what'); end; - - poff("iyh1_learr", "iyh1_aikerjarr"); - if (atl_iyh_state == 1 and atl_iyh_learr_spoken and atl_iyh_ryveerr_spoken) then - pon('iyh1_learr'); - elseif (atl_iyh_state == 1 and atl_iyh_aikerjarr_spoken and atl_iyh_ryveerr_spoken) then - pon('iyh1_aikerjarr'); - end; return [[Светлова отрывает взгляд от бумаг, лежащих перед ней и смотрит на вас: "Добрый день". ]]; end;