Changeset - 6ca138814e9f
[Not reviewed]
default
0 3 2
silverwing - 5 years ago 2019-10-12 15:19:50

[upd] Puzzle in venaedanotrr temple
5 files changed with 31 insertions and 4 deletions:
0 comments (0 inline, 0 general)
images/ven_chest.png
Show inline comments
 
binary diff not shown
Show images
images/ven_chest_key_1.png
Show inline comments
 
new file 100644
 
binary diff not shown
Show images
images/ven_chest_key_2.png
Show inline comments
 
new file 100644
 
binary diff not shown
Show images
journey_venaedanotrr.lua
Show inline comments
 
@@ -1746,7 +1746,8 @@ ven_temple_hall_2 = room {
 
        kh_vroom('В зал ответа', 'ven_temple_ahall');
 
    };
 
    obj = {
 
        ven_temple_pedestal:disable()
 
        'item_ven_hint_2';
 
        ven_temple_pedestal:disable();
 
    }
 
}
 

	
journey_venaedanotrr_labyrinth.lua
Show inline comments
 
@@ -306,12 +306,18 @@ ven_temple_labyrinth_l1 = labyrinth {
 
                if (not item_ven_spear.taken and not exist(item_ven_spear, s)) then
 
                    move(item_ven_spear, s);
 
                end;
 
                if (not item_ven_hint_1.taken and not exist(item_ven_hint_1, s)) then
 
                    move(item_ven_hint_1, s);
 
                end;
 
            end;
 
            exit = function(s)
 
                remove(ven_skeleton, s);
 
                if (not item_ven_spear.taken) then
 
                    remove(item_ven_spear, s);
 
                end;
 
                if (not item_ven_hint_1.taken) then
 
                    remove(item_ven_hint_1, s);
 
                end;
 
            end;
 
        };
 
        ["12"] = {
 
@@ -921,12 +927,32 @@ item_ven_spear = obj {
 
    ]];
 
    tak = function(s)
 
        s.taken = true;
 
        return [[
 
            Вы забираете копье себе. 
 
        ]];
 
        return [[Вы забираете копье себе. ]];
 
    end;
 
};
 

	
 
item_ven_hint_1 = obj {
 
    var = {
 
        taken = false;
 
    };
 
    nam = 'item_ven_hint_1';
 
    disp = 'Табличка из лабиринта';
 
    dsc = 'Рядом с левой рукой скелета лежит {каменная табличка}. ';
 
    inv = txttab('50%', 'center') .. img('images/ven_chest_key_1.png') .. [[^Каменная табличка разделена на несколько частей, закрашенных разными цветами. Похоже, это часть какого-то шифра. Эта табличка найдена вами у трупа навьяра в храме Венаэданотра. ]];
 
    tak = function(s)
 
        s.taken = true;
 
        return [[Вы забираете табличку с собой. ]];
 
    end;
 
}
 

	
 
item_ven_hint_2 = obj {
 
    nam = 'item_ven_hint_2';
 
    disp = 'Табличка с алтаря';
 
    dsc = 'Среди прочих табличек, {одна} привлекает ваше внимание. ';
 
    inv = txttab('50%', 'center') .. img('images/ven_chest_key_2.png') .. [[^Каменная табличка разделена на несколько частей, закрашенных разными цветами. Похоже, это часть какого-то шифра. Эта табличка найдена вами в храме Венаэданотра. ]];
 
    tak = [[Вы забираете табличку с собой. ]];
 
}
 

	
 
ven_octopus = obj {
 
    nam = "ven_octopus";
 
    dsc = function(s)
0 comments (0 inline, 0 general)