Changeset - 0b87011f114a
[Not reviewed]
default
0 2 0
Silverwing - 5 years ago 2019-01-04 13:47:43

chapter 2: kraken fight
2 files changed with 6 insertions and 1 deletions:
0 comments (0 inline, 0 general)
journey_temple.lua
Show inline comments
 
global {
 
    dt_temple_done = false;
 
}
 

	
 
dt_intro = lcutscene('Левиафан, рубка', 'Левиафан, рубка', [[Следуя карте, найденной в светодиске, вы следуете к древнейшему из известных вам навьярских сооружений. Через месяц пути вы оказываетесь в глубоком лабиринте ущелий. Здесь вам предстоит найти искомое. ]], 'Вы прибыли в древний храм. ', 'dt_labyrinth');
 

	
 
dt_labyrinth_foot = room {
 
    nam = "dt_labyrinth_foot";
 
    no_exit = [[
 
        Нет смысла покидать Левиафан здесь. 
 
@@ -434,12 +438,13 @@ dt_temple_ravine = room {
 
        end;
 
    end;
 
    view = [[Вы находитесь в лабиринте ущелий и впадин. на северо-востоке вы видите глубокую расщелину, простирающуюся с северо-запада на юго-восток. над расщелиной висит узкий каменный мостик. Из отверстия в скале напротив него исходит яркий свет. ]];
 
    way = {
 
        kh_vroom("В Левиафан", function(s)
 
            if dt_temple_bridge1.state == 2 then
 
                dt_temple_done = true;
 
                return 'dt_fight_intro';
 
            else
 
                return "leviathan_airlock";
 
            end;
 
        end);
 
        kh_vroom("На мост", "dt_temple_bridge1");
leviathan.lua
Show inline comments
 
@@ -902,13 +902,13 @@ leviathan_dlg = dlg {
 
		if venaedanotrr_temple_found and where(submarine_leviathan) ~= ven_temple_entrance then
 
			leviathan_dlg:pon("venaedanotrr_temple");
 
		end;
 
		if nleyyslanotrr_found and where(submarine_leviathan) ~= nley_near_cliff_1 then
 
			leviathan_dlg:pon('nleyyslanotrr')
 
		end;
 
		if deep_temple_found and where(submarine_leviathan) ~= dt_labyrinth_foot then
 
		if deep_temple_found and not dt_temple_done and where(submarine_leviathan) ~= dt_labyrinth_foot then
 
			leviathan_dlg:pon('deep_temple')
 
		end;
 
		if lseryanotrr_found then
 
			leviathan_dlg:pon('lseryanotrr')
 
		end;
 
	end;
0 comments (0 inline, 0 general)