Changeset - 92951c9baca4
[Not reviewed]
default
0 3 1
Silverwing - 7 years ago 2017-09-17 09:09:31

warehouse32: tablet
4 files changed with 18 insertions and 3 deletions:
0 comments (0 inline, 0 general)
images/wh32_plan.png
Show inline comments
 
new file 100644
 
binary diff not shown
Show images
main.lua
Show inline comments
 
@@ -195,7 +195,8 @@ function init()
 
    end;
 
    ---game init
 
    pl.where = intro;
 
    ---debug	
 
    ---debug
 
    pl.where = w32_backdoor;
 
    --language_known = true;
 
    --pl.where = "leviathan_airlock";
 
    --move(submarine_leviathan, "iyh_rear_entrance_foot");
utils.lua
Show inline comments
 
@@ -282,7 +282,7 @@ function game_over(nam, dsc)
 
    };
 
end;
 
 
function cutscene(nam, disp, dsc, nxt, entered)
 
function cutscene(nam, disp, dsc, nxt, entered, pic)
 
    return room {
 
        nam = nam;
 
        not_follow = true;
 
@@ -291,6 +291,7 @@ function cutscene(nam, disp, dsc, nxt, e
 
        hideinv = true;
 
        cutscene = true;
 
        dsc = dsc;
 
        pic = pic;
 
        obj = {
 
            vway("continue", "{Продолжить}", nxt);
 
        };
warehouse32.lua
Show inline comments
 
@@ -128,6 +128,16 @@ wright_travel_dlg = dlg {
 
	};
 
};
 
 
w32_tablet = cutscene("w32_tablet", "Склад 32, задняя дверь", "Табличка со схемой склада висит рядом с дверью. ", "w32_backdoor", null, "images/wh32_plan.png");
 
 
w32_tablet_obj = obj {
 
    nam = "w32_tablet_obj";
 
    dsc = "Рядом с дверью висит {табличка}. ";
 
    act = function(s)
 
        walk(w32_tablet);
 
    end;
 
};
 
 
w32_backdoor = room {
 
	nam = "w32_backdoor";
 
	disp = "Склад 32, задняя дверь";
 
@@ -146,6 +156,9 @@ w32_backdoor = room {
 
		end);
 
		kh_vroom("Через забор", "warehouse_32_behind_night");
 
	};
 
    obj = {
 
        "w32_tablet_obj";
 
    };   
 
};
 
 
w32_mgr = darkroom {
 
@@ -182,7 +195,7 @@ w32_mgr = darkroom {
 
	obj = {
 
		'w32_mgr_table',
 
		'w32_mgr_bookcase',
 
        'money_w32'
 
        'money_wh32'
 
	};
 
};
 
0 comments (0 inline, 0 general)