|
@@ -2113,6 +2113,51 @@ dyp_temple_blue_room = labyrinth {
|
|
|
local y = s.map[s.position].y * 32 + 96;
|
|
|
return "images/dyp_blueroom_bg.png;images/player.png@" .. y .. ',' .. x;
|
|
|
end;
|
|
|
ways_print = function(s, o)
|
|
|
local n, e, sth, w;
|
|
|
if s.map[s.position]['e1'] or s.map[s.position]['ex1'] then
|
|
|
n = stead.xref(txtnb('N'), s.way[1]);
|
|
|
else
|
|
|
n = txtnb('N');
|
|
|
end;
|
|
|
if s.map[s.position]['e2'] or s.map[s.position]['ex2'] then
|
|
|
e = stead.xref(txtnb('E'), s.way[2]);
|
|
|
else
|
|
|
e = txtnb('E');
|
|
|
end;
|
|
|
if s.map[s.position]['e3'] or s.map[s.position]['ex3'] then
|
|
|
sth = stead.xref('S', s.way[3]);
|
|
|
else
|
|
|
sth = txtnb('S');
|
|
|
end;
|
|
|
if s.map[s.position]['e4'] or s.map[s.position]['ex4'] then
|
|
|
w = stead.xref('W', s.way[4]);
|
|
|
else
|
|
|
w = txtnb('W');
|
|
|
end;
|
|
|
local left = '35%';
|
|
|
local right = '65%';
|
|
|
local il = '^^';
|
|
|
if theme.name() == '.mobile' then
|
|
|
print('x');
|
|
|
il = '^';
|
|
|
left = '25%';
|
|
|
right = '75%';
|
|
|
end;
|
|
|
local left = '35%';
|
|
|
local right = '65%';
|
|
|
local il = '^^';
|
|
|
if theme.name() == '.mobile' then
|
|
|
print('x');
|
|
|
il = '^';
|
|
|
left = '25%';
|
|
|
right = '75%';
|
|
|
end;
|
|
|
|
|
|
return txttab('50%', 'center') .. n .. il
|
|
|
.. txttab(left, 'center') .. w .. txttab(right, 'center') .. e .. il
|
|
|
.. txttab('50%', 'center') .. sth .. '^';
|
|
|
end;
|
|
|
dir = {
|
|
|
"На север";
|
|
|
"На восток";
|
|
@@ -2390,6 +2435,20 @@ dyp_crab_cave = labyrinth {
|
|
|
"На юго-восток";
|
|
|
"Выйти";
|
|
|
};
|
|
|
ways_print = function(s, o)
|
|
|
local nw = stead.xref(txtnb('NW'), s.way[1]);
|
|
|
local ne = stead.xref(txtnb('NE'), s.way[2]);
|
|
|
local sw = stead.xref(txtnb('SW'), s.way[3]);
|
|
|
local se = stead.xref(txtnb('SE'), s.way[4]);
|
|
|
|
|
|
local ex5 = '';
|
|
|
if s.map[s.position]['ex5'] then
|
|
|
ex5 = stead.xref(txtnb(stead.dispof(s.way[5])), s.way[5]);
|
|
|
end;
|
|
|
return txttab('40%', 'center') .. nw .. txttab('60%', 'center') .. ne .. '^'..
|
|
|
txttab('50%', 'center') .. ex5 .. '^' ..
|
|
|
txttab('40%', 'center') .. sw .. txttab('60%', 'center') .. se ;
|
|
|
end;
|
|
|
underwater = true;
|
|
|
map = {
|
|
|
["00"] = {
|