|
@@ -49,19 +49,29 @@ leviathan_airlock = darkroom {
|
|
|
disp = "Левиафан, шлюз";
|
|
|
leviathan = true;
|
|
|
dsc_lit = "Вы находитесь в шлюзовом отсеке Левиафана. Яркий свет электрических ламп освещает помещение. ";
|
|
|
dsc_halflit = "Вы находитесь в шлюзовом отсеке Левиафана. В слабом свете лампы вы с трудом различаете очертания дверей и предметов. ";
|
|
|
dsc_dark = "Вы находитесь в шлюзовом отсеке Левиафана. В темноте вы не можете ничего различить. ";
|
|
|
way = {
|
|
|
kh_vroom("В кают-компанию", "leviathan_wardroom", 1);
|
|
|
kh_vroom("В кают-компанию", function(s)
|
|
|
if (have(item_suit)) then
|
|
|
remove(item_suit, pl);
|
|
|
end;
|
|
|
return "leviathan_wardroom";
|
|
|
end, 1);
|
|
|
kh_vroom("Наружу", function()
|
|
|
local val = EngineUtils.getValue(where(submarine_leviathan).no_exit);
|
|
|
if (val) then
|
|
|
pr(val);
|
|
|
return false;
|
|
|
else
|
|
|
if (where(submarine_leviathan).underwater) then
|
|
|
put(item_suit, pl);
|
|
|
elseif (have(item_suit)) then
|
|
|
remove(item_suit, pl);
|
|
|
end;
|
|
|
return where(submarine_leviathan);
|
|
|
end;
|
|
|
end, 2);
|
|
|
};
|
|
|
};
|
|
|
|
|
@@ -775,13 +785,13 @@ leviathan_dlg = dlg {
|
|
|
if (where(submarine_leviathan) == first_city_entrance) then
|
|
|
leviathan_dlg:poff(4);
|
|
|
leviathan_dlg:pon(5);
|
|
|
end;
|
|
|
end;]]
|
|
|
leviathan_dlg:poff("atlantis", "old_temple", "iraaphaanotrr", "iraaphaanotrr_temple", "dypatreanotrr", "dypatreanotrr_temple");
|
|
|
if (atlantis_found and where(submarine_leviathan) ~= atlantis_dock) then
|
|
|
if (atlantis_found and where(submarine_leviathan) ~= atl_aqua_leviathan_dock) then
|
|
|
leviathan_dlg:pon("atlantis");
|
|
|
end;
|
|
|
if (temple_found and where(submarine_leviathan) ~= iyh_far_from_entrance_foot) then
|
|
|
leviathan_dlg:pon("old_temple");
|
|
|
end;
|
|
|
if (nearest_cities_found) then
|
|
@@ -803,13 +813,13 @@ leviathan_dlg = dlg {
|
|
|
s.update_options();
|
|
|
end;
|
|
|
phr = {
|
|
|
{tag="atlantis", always = "true", "Атлантида", function()
|
|
|
return "Вы прибыли в Атлантиду";
|
|
|
end, function()
|
|
|
move(submarine_leviathan, "atlantis_dock");
|
|
|
move(submarine_leviathan, "atl_aqua_leviathan_dock");
|
|
|
leviathan_dlg:update_options();
|
|
|
end},
|
|
|
{tag="old_temple", always = "true", "Старый храм", function()
|
|
|
return "Вы прибыли в старый храм";
|
|
|
end, function()
|
|
|
move(submarine_leviathan, "iyh_far_from_entrance_foot");
|