Changeset - 8932b7440718
[Not reviewed]
default
0 2 0
silverwing - 5 years ago 2019-10-06 08:46:50

[upd, fix] Labyrinth in old temple ravine
2 files changed with 14 insertions and 1 deletions:
0 comments (0 inline, 0 general)
atlantis.lua
Show inline comments
 
@@ -11,6 +11,7 @@ global {
 
    atl_iyh_shockfish_away = 0;
 
    atl_iyh_entrance_destroyed = false;
 
    atl_iyh_artifacts_on_atlantis = false;
 
    atl_iyh_hidden_entrance_known = false;
 
 
    atl_mtr_started = false;
 
atlantis_iyhehevjiarr.lua
Show inline comments
 
@@ -506,6 +506,11 @@ iyh_ravine_entry = dlg {
 
            walk("iyh_far_from_entrance");
 
            return false;
 
        end};
 
        {tag="hidden_entrance, "always = true, "[Подвести Левиафан к скрытому входу в храм]", function(s)
 
            move(submarine_leviathan, "iyh_rear_entrance_foot");
 
            walk("iyh_rear_entrance");
 
            return false;
 
        end};
 
        {always = true, "[Подвести Левиафан ко входу в храм]", function(s)
 
            move(submarine_leviathan, "iyh_near_temple_foot");
 
            walk("iyh_near_temple");
 
@@ -520,6 +525,11 @@ iyh_ravine_entry = dlg {
 
        ]]};
 
    };
 
    entered = function(s)
 
        if atl_iyh_hidden_entrance_known then
 
            pon("hidden_entrance");
 
        else
 
            poff("hidden_entrance");
 
        end;
 
        move(submarine_leviathan, iyh_ravine_entry_foot);
 
        return [[Левиафан находится у входа в ущелье. Вдалеке по левому борту, на юго-западе, вы видите вход в навьярский храм. ]];
 
    end;   
 
@@ -640,7 +650,7 @@ iyh_labyrinth = labyrinth {
 
            e1 = "17";
 
        };
 
        ["19"] = {
 
            e8 = "19";
 
            e8 = "17";
 
        };
 
        ["20"] = {
 
            e1 = "14";
 
@@ -730,6 +740,7 @@ iyh_rear_entrance = room {
 
        kh_vroom("Отойти от штурвала", "leviathan_wheelhouse");
 
    };
 
    entered = function(s)
 
        atl_iyh_hidden_entrance_known = true;
 
        move(submarine_leviathan, iyh_rear_entrance_foot);
 
    end;
 
};
 
@@ -744,6 +755,7 @@ iyh_rear_entrance_foot = room {
 
    way = {
 
        kh_vroom("В Левиафан", "leviathan_airlock");
 
        kh_vroom("В проход", "iyh_temple_rear_corridor_entry");
 
        kh_vroom("Покинуть ущелье", "iyh_ravine_entry");
 
    };
 
    entered = function(s)
 
        if (ArrayUtils.indexOf(pl.party, 'learr') ~= 0 and not char_learr.follow and where(submarine_leviathan) == here() and char_learr.home ~= "leviathan_cabin_3") then
0 comments (0 inline, 0 general)