Changeset - 5e029dd6eff1
[Not reviewed]
default
0 4 8
Silverwing - 5 years ago 2019-05-25 14:23:22

Add music
3 files changed:
Changeset was too big and was cut off... Show full diff anyway
0 comments (0 inline, 0 general)
dock2.lua
Show inline comments
 
@@ -105,6 +105,9 @@ dock_mooring = room {
 
			return [[Левиафан находится в заброшенном доке. Вокруг пусто, не считая мусора: старых деревяшк, металлических трубок, каких-то мешков. ]];
 
		end;
 
	end;
 
	entered = function(s)
 
		set_music('music/london.ogg');
 
	end;
 
	way = {
 
		vroom("К воротам", "dock_inside");
 
		vroom("К пульту управления краном", "dock_crane_control");
leviathan.lua
Show inline comments
 
@@ -94,6 +94,11 @@ leviathan_airlock = darkroom {
 
	dsc_lit = "Шлюзовой отсек Левиафана представляет собой небольшую круглую камеру, около двух метров в диаметре. Отсек освещен ярким светом электрических ламп, смонтированных на стенах. ";
 
	dsc_halflit = "Шлюзовой отсек Левиафана представляет собой небольшую круглую камеру, около двух метров в диаметре. В свете лампы вы различаете предметы окружения. На стенах смонтированы электрические лампы, однако они сейчас не горят. ";
 
	dsc_dark = "Шлюзовой отсек Левиафана представляет собой небольшую круглую камеру, около двух метров в диаметре. Сейчас здесь темно и вы почти ничего не видите. ";
 
	entered = function(s)
 
		if s:has_light() and from() == dock_mooring then
 
			set_music('music/atlantis.ogg');
 
		end;
 
	end;
 
	way = {
 
		kh_vroom("В кают-компанию", function(s)
 
			if (have(item_suit)) then
 
@@ -547,6 +552,7 @@ leviathan_breaker = obj {
 
			-- TODO включать двигатель если установлена батарея
 
			pr([[Вы включаете рубильник. ]]);
 
			if (submarine_leviathan.battery and submarine_leviathan.circuit_breaks == 0) then
 
				set_music('music/atlantis.ogg');
 
				pr([[Повсюду зажигается яркий свет, на мгновение ослепляя вас. ]]);
 
			end;
 
		end;
 
@@ -963,6 +969,7 @@ leviathan_dlg = dlg {
 
	end;
 
	phr = {
 
		{tag="atlantis", always = "true", "Атлантида", function()
 
			set_music('music/atlantis.ogg');
 
			move(submarine_leviathan:enable(), "atl_aqua_leviathan_dock");
 
			if raybox_task then
 
				raybox_task_finished = true;
 
@@ -976,6 +983,7 @@ leviathan_dlg = dlg {
 
			if raybox_task then
 
				raybox_task_finished = true;
 
			end;
 
			set_music('music/navjiarr.ogg');
 
			move(submarine_leviathan:enable(), "iyh_far_from_entrance_foot");
 
			leviathan_dlg:update_options();
 
			walk('iyh_far_from_entrance');
 
@@ -984,6 +992,7 @@ leviathan_dlg = dlg {
 
			if raybox_task then
 
				raybox_task_finished = true;
 
			end;
 
			set_music('music/navjiarr.ogg');
 
            move(submarine_leviathan:enable(), "iraa_near_city_west");
 
            leviathan_dlg:update_options();      
 
			walk(iraa_entry);
 
@@ -992,6 +1001,7 @@ leviathan_dlg = dlg {
 
			if raybox_task then
 
				raybox_task_finished = true;
 
			end;
 
			set_music('music/navjiarr.ogg');
 
            atl_navjiarr_temple_seen = true;
 
			move(submarine_leviathan:enable(), "iraa_temple_entrance");
 
            leviathan_dlg:update_options();      
 
@@ -1001,6 +1011,7 @@ leviathan_dlg = dlg {
 
			if raybox_task then
 
				raybox_task_finished = true;
 
			end;
 
			set_music('music/navjiarr.ogg');
 
			move(submarine_leviathan:enable(), "dyp_center");
 
            leviathan_dlg:update_options();      
 
            walk(dyp_entry);
 
@@ -1009,6 +1020,7 @@ leviathan_dlg = dlg {
 
			if raybox_task then
 
				raybox_task_finished = true;
 
			end;
 
			set_music('music/navjiarr.ogg');
 
			move(submarine_leviathan:enable(), "dyp_night_south");
 
			leviathan_dlg:update_options();
 
			walk(dyp_entry);
 
@@ -1017,6 +1029,7 @@ leviathan_dlg = dlg {
 
			if raybox_task then
 
				raybox_task_finished = true;
 
			end;
 
			set_music('music/navjiarr.ogg');
 
            atl_navjiarr_temple_seen = true;
 
			move(submarine_leviathan:enable(), "dyp_temple_entrance");
 
            leviathan_dlg:update_options();      
 
@@ -1026,6 +1039,7 @@ leviathan_dlg = dlg {
 
			if raybox_task then
 
				raybox_task_finished = true;
 
			end;
 
			set_music('music/venaedanotrr.ogg');
 
            move(submarine_leviathan:enable(), "ven_center");
 
            leviathan_dlg:update_options();      
 
            walk(ven_intro);
 
@@ -1034,6 +1048,7 @@ leviathan_dlg = dlg {
 
			if raybox_task then
 
				raybox_task_finished = true;
 
			end;
 
			set_music('music/venaedanotrr.ogg');
 
			move(submarine_leviathan:enable(), 'ven_ravine_entrance');
 
			leviathan_dlg:update_options();
 
			walk(ven_ravine_intro);
 
@@ -1042,6 +1057,7 @@ leviathan_dlg = dlg {
 
			if raybox_task then
 
				raybox_task_finished = true;
 
			end;
 
			set_music('music/venaedanotrr.ogg');
 
			move(submarine_leviathan:enable(), 'ven_temple_entrance');
 
			leviathan_dlg:update_options();
 
			walk(ven_temple_intro);
 
@@ -1050,6 +1066,7 @@ leviathan_dlg = dlg {
 
			if raybox_task then
 
				raybox_task_finished = true;
 
			end;
 
			set_music('music/nleyyslanotrr.ogg');
 
			move(submarine_leviathan:enable(), 'nley_near_cliff_1');
 
			leviathan_dlg:update_options();
 
			if nley_visited then
 
@@ -1062,11 +1079,13 @@ leviathan_dlg = dlg {
 
			if raybox_task then
 
				raybox_task_finished = true;
 
			end;
 
			set_music('music/ancient_temple.ogg');
 
			move(submarine_leviathan:enable(), 'dt_labyrinth_foot');
 
			leviathan_dlg:update_options();
 
			walk(dt_intro);
 
		end},
 
		{tag='lseryanotrr', always = 'true', 'Лсэрианотр', function()
 
			set_music('music/lseryanotrr.ogg');
 
			remove('item_toolbox', pl);
 
			leviathan_dlg:update_options();
 
			walk(lse_entered);
london.lua
Show inline comments
 
@@ -34,6 +34,9 @@ aurora_borealis = room {
 
	disp = "Северное cияние";
 
	dsc = [[Тяжелые темные тучи застилают небо, не давая солнечному свету пробиться к земле. Пассажиры собрались на палубе парохода, прибывшего в порт Лондона. Вокруг снуют матросы, занимающиеся своими делами и не обращающие никакого внимания на вас. Люди неспешно сходят на берег. Со всех сторон вы слышите гудки пароходов, прибывающих в порт и отправляющихся в плавание. ]];
 
	obj = {'char_captain', 'char_first_mate'};
 
	entered = function(s)
 
		set_music('music/london.ogg');
 
	end;
 
	way = {
 
		vroom("На берег", "london_mooring");
 
	};

Changeset was too big and was cut off... Show full diff anyway

0 comments (0 inline, 0 general)