Changeset - 517070ec41d3
[Not reviewed]
default
0 4 0
Silverwing - 5 years ago 2019-06-22 19:21:55

Fix learr following player into old temple
4 files changed with 1 insertions and 10 deletions:
0 comments (0 inline, 0 general)
atlantis_iyhehevjiarr.lua
Show inline comments
 
@@ -790,18 +790,12 @@ iyh_rear_entrance_foot = room {
 
        kh_vroom("В проход", "iyh_temple_rear_corridor_entry");
 
    };
 
    entered = function(s)
 
        if (ArrayUtils.indexOf(pl.party, 'learr') ~= 0 and not char_learr.follow and where(submarine_leviathan) == here() and not char_learr.home == "leviathan_cabin_3") then
 
        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
 
            pr [[Леарр входит в шлюз вслед за вами: "Я вместе-с-тобой-пойду". ]];
 
            char_learr:accompany(true);
 
            char_radcliffe:accompany(false);
 
            char_wright:accompany(false);
 
            char_anna:accompany(false);
 
        elseif (ArrayUtils.indexOf(pl.party, 'aikerjarr') ~= 0 and not char_aikerjarr_lev.follow) then
 
            pr [[Аикерьярр входит в шлюз вслед за вами: "Я с-тобой-пойду". ]];
 
            char_aikerjarr_lev:accompany(true);
 
            char_radcliffe:accompany(false);
 
            char_wright:accompany(false);
 
            char_anna:accompany(false);
 
        end;
 
 
        path("В Левиафан"):disable();
battlefield.lua
Show inline comments
 
@@ -16,7 +16,6 @@
 
            end;
 
        end;
 
        if (not inClosed) then
 
            --print(node[1], x2, node[2], y2);
 
            if (node[1] == x2 and node[2] == y2) then
 
                return item;
 
            end;
leviathan.lua
Show inline comments
 
@@ -40,7 +40,6 @@ submarine_leviathan = obj {
 
            ctt_dyp_city
 
            ctt_dyp_temple_entrance
 
        ]]
 
		print 'fung'
 
        if where(submarine_leviathan) == atl_aqua_leviathan_dock then
 
            return [[В воде дока покоится {Левиафан}. Огромная субмарина занимает почти значительную часть пространство дока, строившегося для гораздо меньших кораблей. ]];
 
		elseif where(submarine_leviathan) == dyp_center then
utils.lua
Show inline comments
 
@@ -913,7 +913,6 @@ labyrinth = function(tab)
 
        return lab;
 
    end, "wt");
 
 
    print(paths[1]);
 
    tab.way = paths;
 
 
    tab.enter = function(s)
0 comments (0 inline, 0 general)