Changeset - de95fb110af5
[Not reviewed]
default
0 1 0
Silverwing - 6 years ago 2017-12-20 19:34:22

Learr dlg fixes
1 file changed with 7 insertions and 6 deletions:
0 comments (0 inline, 0 general)
atlantis_dlg.lua
Show inline comments
 
@@ -1693,6 +1693,13 @@ char_learr_atlantis_dlg = dlg {
 
	nam = "Леарр";
 
	disp = "Леарр";
 
	enter = function(s)
 
        poff('iyh1', 'iyh2');
 
        if (atl_iyh_state == 1 and not atl_iyh_learr_spoken) then
 
            pon('iyh1');
 
        elseif (atl_iyh_state == 2 and ArrayUtils.indexOf(pl.party, 'learr') == 0) then
 
            pon('iyh2');
 
        end;
 
    
 
        if (atl_lfc_state == 1 and not s.lfc_dialog) then
 
            s.lfc_dialog = true;
 
            pon('sabotage', 'ignis_what');
 
@@ -1723,12 +1730,6 @@ char_learr_atlantis_dlg = dlg {
 
                if (char_learr.on_books < 2) then pon("on_books") end;
 
            end;
 
            
 
            poff('iyh1', 'iyh4', 'iyh5');
 
            if (atl_iyh_state == 1 and not atl_iyh_learr_spoken) then
 
                pon('iyh1');
 
            elseif (atl_iyh_state == 2 and ArrayUtils.indexOf(pl.party, 'learr') == 0) then
 
                pon('iyh2');
 
			end;
 
			psub("generic");
 
			if (rel_learr > 0) then
 
				return [[Леарр поворачивается к вам, плавники ее принимают сине-зеленый оттенок, а она говорит: "Я рада-видеть тебя". ]];
0 comments (0 inline, 0 general)