Changeset - b08ff2bc814d
[Not reviewed]
default
0 1 0
Silverwing - 7 years ago 2017-12-23 22:54:54

iyh labyrinth fix
1 file changed with 6 insertions and 10 deletions:
0 comments (0 inline, 0 general)
atlantis_iyhehevjiarr.lua
Show inline comments
 
@@ -309,17 +309,13 @@ iyh_fight_torpedo = obj {
 
                    atl_rep_dyp = atl_rep_dyp - 1;
 
                    char_learr.home = "leviathan_cabin_3";
 
                    leviathan_cabin_3.lock = true;
 
				elseif (ArrayUtils.indexOf(pl.party, 'aikerjarr') ~= 0) then
 
					pr [[Аикерьярр отворачивается от иллюминатора и со злобой смотрит на вас: "Ты за-это-ответишь he'rr". ]];
 
				end;
 
				
 
                walk("preview_unavailable_rayfish");
 
                
 
                return;
 
                
 
				walk("preview_unavailable_rayfish");
 
				--[[if (math.abs(iyh_fight.temple_distance) < 100) then
 
					walk("iyh_near_temple");
 
				else
 
					walk("iyh_far_from_entrance");
 
				end;
 
				
 
@@ -575,22 +571,22 @@ iyh_labyrinth = room {
 
		direction = 1;
 
	};
 
	no_exit = [[Нет смысла покидать Левиафан здесь. ]];
 
	nam = "Штурвал Левиафана";
 
	dsc = function(s)
 
		pr [[Вы находитесь в глубоком и узком ущелье. ]];
 
		if (iyh_labyrinth_template[s.location]["f"]) then
 
		if (iyh_labyrinth_template[s.location][s.direction]["f"]) then    
 
			pr [[Ущелье продолжается вперед. ]];
 
		end;
 
		if (iyh_labyrinth_template[s.location]["l"] and iyh_labyrinth_template[s.location]["r"]) then
 
		if (iyh_labyrinth_template[s.location][s.direction]["l"] and iyh_labyrinth_template[s.location][s.direction]["r"]) then
 
			pr [[Влево и вправо уходят ответвления. ]];
 
		elseif (iyh_labyrinth_template[s.location]["l"]) then
 
		elseif (iyh_labyrinth_template[s.location][s.direction]["l"]) then
 
			pr [[Влево уходит ответвление. ]];
 
		elseif (iyh_labyrinth_template[s.location]["r"]) then
 
		elseif (iyh_labyrinth_template[s.location][s.direction]["r"]) then
 
			pr [[Вправо уходит ответвление. ]];
 
		elseif (not iyh_labyrinth_template[s.location]["f"]) then
 
		elseif (not iyh_labyrinth_template[s.location][s.direction]["f"]) then
 
			pr [[Дальше пути нет. ]];
 
		end;
 
	end;
 
	update = function(s)
 
	end;
 
	obj = {
0 comments (0 inline, 0 general)