File diff 0ca5d08495db → f164320d7dd3
atlantis_iyhehevjiarr.lua
Show inline comments
 
@@ -598,7 +598,63 @@ iyh_labyrinth = labyrinth {
 
    dsc = function(s)
 
        return [[Вы находитесь где-то в переплетении узких ущелий. Вверху скалы сужаются почти вплотную, не давая вам возможности подняться над ущельем и осмотреться. ]];
 
    end;
 
 
    ways_print = function(s, o)
 
        local nw, n, ne, w, e, sw, sth, se;
 
        if (s.map[s.position]['e1'] or s.map[s.position]['ex1']) then
 
            n = stead.xref('N', s.way[1]);
 
        else
 
            n = 'N';
 
        end;
 
        if (s.map[s.position]['e2'] or s.map[s.position]['ex2']) then
 
            ne = stead.xref('NE', s.way[2]);
 
        else
 
            ne = 'NE';
 
        end;
 
        if (s.map[s.position]['e3'] or s.map[s.position]['ex3']) then
 
            e = stead.xref('E', s.way[3]);
 
        else
 
            e = 'E';
 
        end;
 
        if (s.map[s.position]['e4'] or s.map[s.position]['ex4']) then
 
            se = stead.xref('SE', s.way[4]);
 
        else
 
            se = 'SE';
 
        end;
 
        if (s.map[s.position]['e5'] or s.map[s.position]['ex5']) then
 
            sth = stead.xref('S', s.way[5]);
 
        else
 
            sth = 'S';
 
        end;
 
        if (s.map[s.position]['e6'] or s.map[s.position]['ex6']) then
 
            sw = stead.xref('SW', s.way[6]);
 
        else
 
            sw = 'SW';
 
        end;
 
        if (s.map[s.position]['e7'] or s.map[s.position]['ex7']) then
 
            w = stead.xref('W', s.way[7]);
 
        else
 
            w = 'W';
 
        end;
 
        if (s.map[s.position]['e8'] or s.map[s.position]['ex8']) then
 
            nw = stead.xref('NW', s.way[8]);
 
        else
 
            nw = 'NW';
 
        end;
 
        
 
        local left = '35%';
 
        local right = '65%';
 
        local il = '^^';
 
        if theme.name() == '.mobile' then
 
            print('x');
 
            il = '^';
 
            left = '25%';
 
            right = '75%';
 
        end;
 
        
 
        return txttab(left, 'center') .. nw .. txttab('50%', 'center') .. n .. txttab(right, 'center') .. ne .. il 
 
            .. txttab(left, 'center') .. w .. txttab(right, 'center') .. e .. il 
 
            .. txttab(left, 'center') .. sw .. txttab('50%', 'center') .. sth .. txttab(right, 'center') .. se;
 
    end;
 
    map = {
 
        ["1"] = {
 
            e8 = "2";