Changeset - 9a7d339369a6
[Not reviewed]
default
0 1 0
Silverwing - 5 years ago 2019-07-21 10:15:58

Question about temple does not appear in party members dialog after visiting temple
1 file changed with 23 insertions and 11 deletions:
party.lua
23
11
0 comments (0 inline, 0 general)
party.lua
Show inline comments
 
@@ -578,27 +578,31 @@ phaetlarr_dlg = dlg {
 
        }
 
	};
 
};
 
 
radcliffe_dlg = dlg {
 
    var {
 
        from_call = false;
 
        home = false;
 
        iraa_temple_asked = false;
 
    };
 
	nam = "Уолтер Рэдклифф";
 
	entered = function (s)
 
        if atl_ctt_iraa_refusal and not s.iraa_temple_asked then
 
            iraa_temple_asked = true;
 
            pon("on_iraa_temple");
 
        if not iraa_temple_entrance.__visited then
 
            if atl_ctt_iraa_refusal and not s.iraa_temple_asked then
 
                s.iraa_temple_asked = true;
 
                pon("on_iraa_temple");
 
            end;
 
        else
 
            poff("on_iraa_temple");
 
        end;
 
 
        if (ven_quest_status == 8 and not ven_radcliffe_spoken_8) then
 
            ven_radcliffe_spoken_8 = true;
 
            pon('on_ven_keeper');
 
        else
 
            poff('on_ven_keeper');
 
        end;
 
 
        if have(item_raybox) and not s.from_call and s.home then
 
            pon('on_raybox');
 
        else
 
@@ -890,28 +894,32 @@ wright_main_dlg = dlg {
 
                    pon("on_venaedanotrr", "talk");
 
                end;
 
                if (char_wright.on_nleyyslanotrr < 2 and lseryanotrr_found) then
 
                    pon("on_nleyyslanotrr", "talk");
 
                end;
 
                if (char_wright.on_deep_temple < 2 and dt_temple_done) then
 
                    pon("on_deep_temple", "talk");
 
                end;
 
            end;
 
        else
 
            poff('stay', 'join');
 
        end;
 
        
 
        if atl_ctt_iraa_refusal and not s.iraa_temple_asked then
 
            iraa_temple_asked = true;
 
            pon("on_iraa_temple");
 
 
        if not iraa_temple_entrance.__visited then
 
            if atl_ctt_iraa_refusal and not s.iraa_temple_asked then
 
                s.iraa_temple_asked = true;
 
                pon("on_iraa_temple");
 
            end;
 
        else
 
            poff("on_iraa_temple");
 
        end;
 
        
 
        psub("generic");
 
 
        if (ven_quest_status == 8 and not ven_wright_spoken_8) then
 
            ven_wright_spoken_8 = true;
 
            pon('on_ven_keeper');
 
        else
 
            poff('on_ven_keeper');
 
        end;
 
 
        if s.home or not s.underwater then
 
@@ -1135,28 +1143,32 @@ anna_dlg = dlg {
 
                poff('stay');
 
            end;
 
        else
 
            poff('stay', 'join')
 
        end;
 
 
        if (ven_quest_status == 8 and not ven_anna_spoken_8) then
 
            ven_anna_spoken_8 = true;
 
            pon('on_ven_keeper');
 
        else
 
            poff('on_ven_keeper');
 
        end;
 
        
 
        if atl_ctt_iraa_refusal and not s.iraa_temple_asked then
 
            iraa_temple_asked = true;
 
            pon("on_iraa_temple");
 
 
        if not iraa_temple_entrance.__visited then
 
            if atl_ctt_iraa_refusal and not s.iraa_temple_asked then
 
                s.iraa_temple_asked = true;
 
                pon("on_iraa_temple");
 
            end;
 
        else
 
            poff("on_iraa_temple");
 
        end;
 
 
        if s.home then
 
            if char_anna.on_conflict == 0 and conflict_resolved then
 
                char_anna.on_conflict = 1;
 
                if (rel_anna < 0) then
 
                    if atl_iyh_shockfish_dead then
 
                        return [[Анна при виде вас заявляет: "Твои методы, Дрейк, меня совершенно не устраивают. Там в храме, ты просто закидал несчастную рыбину торпедами!" ]];
 
                    elseif atl_iyh_entrance_destroyed then
 
                        return [[Анна при виде вас заявляет: "Твои методы, Дрейк, меня совершенно не устраивают. Этот храм мог раскрыть слишком многое о навьярах и их истории, чтобы его просто разрушить!" ]];
 
                    else
 
                        if atl_iyh_artifacts_on_atlantis then
0 comments (0 inline, 0 general)