Changeset - 9a9f6658fc3b
[Not reviewed]
default
0 8 0
Silverwing - 5 years ago 2019-06-22 18:27:57

Venaedanotrr labyrinth graphics redone
8 files changed with 14 insertions and 1 deletions:
0 comments (0 inline, 0 general)
images/ven_chest.png
Show inline comments
 
binary diff not shown
Show images
images/ven_chest_0.png
Show inline comments
 
binary diff not shown
Show images
images/ven_chest_1.png
Show inline comments
 
binary diff not shown
Show images
images/ven_chest_2.png
Show inline comments
 
binary diff not shown
Show images
images/ven_chest_3.png
Show inline comments
 
binary diff not shown
Show images
images/ven_chest_4.png
Show inline comments
 
binary diff not shown
Show images
images/ven_chest_5.png
Show inline comments
 
binary diff not shown
Show images
journey_venaedanotrr_labyrinth.lua
Show inline comments
 
@@ -718,10 +718,23 @@ ven_chest_look = room {
 
    pic = function(s)
 
        local p = "images/ven_chest.png";
 
        for i = 1, #s.state do
 
            p = p .. ";images/ven_chest_" .. tostring(s.state[i]) .. ".png@" .. tostring((i - 1) * 16) .. ",64";
 
            p = p .. ";images/ven_chest_" .. tostring(s.state[i]) .. ".png@" .. tostring(85 + (i - 1) * 38) .. ",150";
 
        end;
 
        return p;
 
    end;
 
    click = function(s, x, y)
 
        if y > 150 and y <= 199 then
 
            if x > 85 and x < 121 then
 
                return ven_chest_ring1:act();
 
            elseif x >= 123 and x < 159 then
 
                return ven_chest_ring2:act();
 
            elseif x >= 161 and x < 197 then
 
                return ven_chest_ring3:act();
 
            elseif x >= 199 and x < 235 then
 
                return ven_chest_ring4:act();
 
            end;
 
        end;
 
    end;
 
    dsc = function(s)
 
        return [[
 
            На поверхности сундука вы видите обозначения из цветных полос - очевидно это какое-то сообщение. На крышке вы видите четыре вращающихся кольца, на которые нанесены метки шести цветов: фиолетовый, синий, зеленый, желтый, оранжевый, красный. 
0 comments (0 inline, 0 general)