Changeset - 9e30612820cf
[Not reviewed]
default
2 6 5
Silverwing - 5 years ago 2019-06-10 18:33:58

Powerstation
13 files changed with 18 insertions and 14 deletions:
0 comments (0 inline, 0 general)
images/power_0.png
Show inline comments
 
binary diff not shown
Show images
images/power_0_L.png
Show inline comments
 
new file 100644
 
binary diff not shown
Show images
images/power_1.png
Show inline comments
 
binary diff not shown
Show images
images/power_1_L.png
Show inline comments
 
new file 100644
 
binary diff not shown
Show images
images/power_2.png
Show inline comments
 
binary diff not shown
Show images
images/power_2_L.png
Show inline comments
 
new file 100644
 
binary diff not shown
Show images
images/power_3.png
Show inline comments
 
binary diff not shown
Show images
images/power_3_L.png
Show inline comments
 
new file 100644
 
binary diff not shown
Show images
images/power_bg.png
Show inline comments
 
deleted file
 
binary diff not shown
Show images
images/power_lock.png
Show inline comments
 
deleted file
 
binary diff not shown
Show images
images/powerplant_bg.png
Show inline comments
 
new file 100644
 
binary diff not shown
Show images
lse_confrontation.lua
Show inline comments
 
@@ -1367,21 +1367,25 @@ lse_powerplant_control_dlg = dlg {
 
    states = {0, 1, 0, 1};
 
    locked = 1;
 
    pic = function(s)
 
        local image = 'images/power_bg.png';
 
        local image = 'images/powerplant_bg.png';
 
        local i1 = ''
 
        local i2 = ''
 
        local i3 = ''
 
        local i4 = ''
 
        if (s.locked == 1) then
 
            image = image .. ";images/power_lock.png@62,31";
 
            i1 = "_L";
 
        elseif (s.locked == 2) then
 
            image = image .. ";images/power_lock.png@62,93";
 
            i2 = "_L";
 
        elseif (s.locked == 3) then
 
            image = image .. ";images/power_lock.png@31,62";
 
            i3 = "_L";
 
        elseif (s.locked == 4) then
 
            image = image .. ";images/power_lock.png@93,62";
 
            i4 = "_L";
 
        end;
 

	
 
        image = image .. ";images/power_" .. tostring(s.states[1]) .. ".png@62,31";
 
        image = image .. ";images/power_" .. tostring(s.states[2]) .. ".png@62,93";
 
        image = image .. ";images/power_" .. tostring(s.states[3]) .. ".png@31,62";
 
        image = image .. ";images/power_" .. tostring(s.states[4]) .. ".png@93,62";
 
        image = image .. ";images/power_" .. tostring(s.states[1]) .. i1 .. ".png@144,55";
 
        image = image .. ";images/power_" .. tostring(s.states[3]) .. i3 .. ".png@115,84";
 
        image = image .. ";images/power_" .. tostring(s.states[2]) .. i2 .. ".png@144,113";
 
        image = image .. ";images/power_" .. tostring(s.states[4]) .. i4 .. ".png@173,84";
 
        return image;
 
    end;
 
    detect = function(s)
 
@@ -1429,11 +1433,11 @@ lse_powerplant_control_dlg = dlg {
 
            if (lse_powerplant_control_dlg.detect(lse_powerplant_control_dlg)) then
 
                walk('lse_blackout');
 
            end;
 
        end;},
 
        {255, always = true, "Назад", function(s)
 
            back();
 
        end},
 
        end;}
 
    };
 
    way = {
 
        kh_vroom('Назад', 'lse_power_station');
 
    }
 
};
 

	
 
lse_blackout = cutscene('Лсэрианотр, электростанция', 'Лсэрианотр, электростанция', [[Город умирает мгновенно. Свет выключается, экраны гаснут, гул прекращается. Вы оказываетесь в полной тишине и темноте. Через некоторое время плавно открывается входная дверь, через которую проникает немного света. ]], 'lse_power_station_dark');
startup.lua
Show inline comments
 
@@ -220,5 +220,5 @@ function init()
 
    ---game init
 
    pl.where = intro;
 
    ---debug
 
    pl.where = iraa_temple_hidden_hall;
 
    --pl.where = lse_powerplant_control_dlg;
 
end;
0 comments (0 inline, 0 general)