Changeset - 562595d8bd6f
[Not reviewed]
default
0 2 0
Silverwing - 7 years ago 2017-09-23 13:37:32

Leviathan fixes
2 files changed with 11 insertions and 6 deletions:
0 comments (0 inline, 0 general)
leviathan.lua
Show inline comments
 
@@ -101,11 +101,11 @@ leviathan_trapdoor = obj {
 
};
 
 
leviathan_captains_cabin = darkroom {
 
    var {
 
    --[[var {
 
        light_on = false;
 
    };
 
    };]]
 
    has_light = function(s)
 
        return s.light_on and submarine_leviathan.power_on and submarine_leviathan.battery;
 
        return submarine_leviathan.power_on and submarine_leviathan.battery;
 
    end;
 
	nam = "leviathan_captains_cabin";
 
	disp = "Левиафан, каюта капитана";
 
@@ -616,8 +616,6 @@ leviathan_wheelhouse = darkroom {
 
	};
 
};
 
 
leviathan_controls = obj {nam = '1'}
 
 
leviathan_handwheel = obj {
 
	nam = "leviathan_handwheel";
 
	dsc = [[Перед вами расположен {штурвал}. Рядом с ним расположено несколько рычагов. ]];
main.lua
Show inline comments
 
@@ -196,7 +196,14 @@ function init()
 
    ---game init
 
    pl.where = intro;
 
    ---debug
 
    pl.where = warehouse_32;
 
    put("item_lamp", pl);
 
    put("item_pump", pl);
 
    put("item_toolbox", pl);
 
    put("item_cogs", pl);
 
    put("item_ducttape", pl);
 
    put("item_electrodes", pl);
 
    pl.where = dock_2;
 
    --pl.where = warehouse_32;
 
    --put(item_lamp, pl);
 
    --language_known = true;
 
    --pl.where = "leviathan_airlock";
0 comments (0 inline, 0 general)