Changeset - 4e0d4ea990a7
[Not reviewed]
default
0 3 0
Silverwing - 8 years ago 2016-09-11 05:38:32

More additions
3 files changed with 22 insertions and 14 deletions:
0 comments (0 inline, 0 general)
journey_venaedanotrr.lua
Show inline comments
 
@@ -779,8 +779,6 @@ ven_temple_lock_blue = obj {
 
    end;
 
};
 

	
 

	
 

	
 
ven_temple_l1 = labyrinth {
 
    dir1 = "На север";
 
    dir2 = "На восток";
 
@@ -827,7 +825,7 @@ ven_temple_l1 = labyrinth {
 
                ven_shark.position = so;
 
            end;
 
            if (we and s.oldposition == we) then
 
                walk(game_over_eaten_by_shark);
 
                walk(game_over_eateon_by_shark);
 
            end;
 
            if (we and s.oldposition == s.map[we].e4) then
 
                ven_shark.position = we;
 
@@ -877,11 +875,14 @@ ven_temple_l1 = labyrinth {
 
        ["03"] = { 
 
            name = [[
 
                Вы стоите у входа в храм
 
            ]], 
 
            e1 = "13",
 
            e2 = "04",
 
            e4 = "02",
 
            ex = "ven_temple_entrance"
 
            ]];
 
            e1 = "13";
 
            e2 = "04";
 
            e4 = "02";
 
            ex = "ven_temple_entrance";
 
            e1lock = function(s)
 
                return lock03;
 
            end;
 
        };
 
        ["04"] = {
 
            e1 = "14",
main.lua
Show inline comments
 
@@ -226,7 +226,7 @@ function init()
 
    --ven_shark.position = "55";
 
	pl.where = "ven_temple_l1";
 
    move(submarine_leviathan, "ven_center");
 
    pl.where = "ven_chest_look";
 
    --pl.where = "ven_chest_look";
 
    --move(ven_shark, "ven_temple_l1");
 
    
 
	--put(item_suit, pl);
utils.lua
Show inline comments
 
@@ -414,19 +414,26 @@ labyrinth = function(tab)
 
            path('e3'):disable();
 
            path('e4'):disable();
 
            path('ex'):disable();
 
            if (s.map[s.position].e1) then
 
            
 
            local e1open = s.map[s.position].e1 and not EngineUtils.getValue(s.map[s.position].e1lock, s);
 
            local e2open = s.map[s.position].e2 and not EngineUtils.getValue(s.map[s.position].e2lock, s);
 
            local e3open = s.map[s.position].e3 and not EngineUtils.getValue(s.map[s.position].e3lock, s);
 
            local e4open = s.map[s.position].e4 and not EngineUtils.getValue(s.map[s.position].e4lock, s);
 
            local exopen = s.map[s.position].ex and not EngineUtils.getValue(s.map[s.position].exlock, s);
 
            
 
            if (e1open) then
 
                path('e1'):enable();
 
            end;
 
            if (s.map[s.position].e2) then
 
            if (e2open) then
 
                path('e2'):enable();
 
            end;
 
            if (s.map[s.position].e3) then
 
            if (e3open) then
 
                path('e3'):enable();
 
            end;
 
            if (s.map[s.position].e4) then
 
            if (e4open) then
 
                path('e4'):enable();
 
            end;
 
            if (s.map[s.position].ex) then
 
            if (exopen) then
 
                path('ex'):enable();
 
            end;
 
            if (type(tab.enter) == 'function') then
0 comments (0 inline, 0 general)