Changeset - a4e12e25133d
[Not reviewed]
default
0 3 0
Silverwing - 5 years ago 2018-12-02 11:21:05

added all items to leviathan dialog
3 files changed with 38 insertions and 4 deletions:
0 comments (0 inline, 0 general)
journey_temple.lua
Show inline comments
 
dt_intro = lsutscene('Левиафан, рубка', 'Левиафан, рубка', [[Следуя карте, найденной в светодиске, вы следуете к древнейшему из известных вам навьярских сооружений. Через месяц пути вы оказываетесь в глубоком лабиринте ущелий. Здесь вам предстоит найти искомое. ]], 'Вы прибыли в древний храм. ', dt_labyrinth);
 

	
 
dt_labyrinth_foot = room {
 
    nam = "dt_labyrinth_foot";
 
    no_exit = [[
leviathan.lua
Show inline comments
 
@@ -861,7 +861,7 @@ leviathan_dlg = dlg {
 
		if (type(where(submarine_leviathan).view) == "function") then
 
			view = where(submarine_leviathan):view();
 
		else
 
			view = where(submarine_leviathan).view;
 
			view = where(submarine_leviathan).view();
 
		end;
 
		
 
		return [[Вы находитесь в рубке Левиафана перед штурвалом. Отсюда вы можете направиться куда-нибудь. Яркий свет электрических ламп освещает помещение. ]] .. (view);
 
@@ -883,7 +883,7 @@ leviathan_dlg = dlg {
 
		if (dypatreanotrr_night_found and where(submarine_leviathan) ~= dyp_night_center) then
 
			leviathan_dlg:pon("dypatreanotrr_night");
 
		end;
 
        if (iraaphaanotrr_temple_found and where(submarine_leviathan) ~= ctt_iraa_near_temple) then
 
        if (iraaphaanotrr_temple_found and where(submarine_leviathan) ~= ctt_iraa_near_temple) 		then
 
			leviathan_dlg:pon("iraaphaanotrr_temple");
 
		end;
 
		if (dypatreanotrr_temple_found and where(submarine_leviathan) ~= dyp_temple_entrance) then
 
@@ -898,6 +898,15 @@ 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
 
			leviathan_dlg:pon('deep_temple')
 
		end;
 
		if lseryanotrr_found then
 
			leviathan_dlg:pon('lseryanotrr')
 
		end;
 
	end;
 
	enter = function(s)
 
		s.update_options();
 
@@ -977,7 +986,7 @@ leviathan_dlg = dlg {
 
			leviathan_dlg:update_options();
 
			walk(ven_ravine_intro);
 
		end},
 
		{tah='venaedanotrr_temple', always = 'true', 'Храм Венаэданотра', function()
 
		{tag='venaedanotrr_temple', always = 'true', 'Храм Венаэданотра', function()
 
			if raybox_task then
 
				raybox_task_finished = true;
 
			end;
 
@@ -985,6 +994,30 @@ leviathan_dlg = dlg {
 
			leviathan_dlg:update_options();
 
			walk(ven_temple_intro);
 
		end},
 
		{tag='nleyyslanotrr', always = 'true', 'Нлейисланотр', function()
 
			if raybox_task then
 
				raybox_task_finished = true;
 
			end;
 
			move(submarine_leviathan, 'nley_near_cliff_1');
 
			leviathan_dlg:update_options();
 
			if nley_visited then
 
				walk(leviathan_wheelhouse);
 
			else
 
				walk(nley_intro);
 
			end;
 
		end},
 
		{tag='deep_temple', always = 'true', 'Неизвестный храм', function()
 
			if raybox_task then
 
				raybox_task_finished = true;
 
			end;
 
			move(submarine_leviathan, 'dt_labyrinth_foot');
 
			leviathan_dlg:update_options();
 
			walk(dt_intro);
 
		end},
 
		{tag='lseryanotrr', always = 'true', 'Лсэрианотр', function()
 
			leviathan_dlg:update_options();
 
			walk(lse_entered);
 
		end},
 
		{always = "true", "Назад", "", function()
 
			back();
 
		end}
startup.lua
Show inline comments
 
@@ -20,7 +20,6 @@ global {
 
    venaedanotrr_temple_found = false;
 

	
 
    nleyyslanotrr_found = false;
 
    nleyyslanotrr_temple_found = false;
 

	
 
    deep_temple_found = false;
 
    lseryanotrr_found = false;
0 comments (0 inline, 0 general)