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 5 insertions and 9 deletions:
0 comments (0 inline, 0 general)
atlantis_iyhehevjiarr.lua
Show inline comments
 
@@ -312,11 +312,7 @@ iyh_fight_torpedo = obj {
 
				elseif (ArrayUtils.indexOf(pl.party, 'aikerjarr') ~= 0) then
 
					pr [[Аикерьярр отворачивается от иллюминатора и со злобой смотрит на вас: "Ты за-это-ответишь he'rr". ]];
 
				end;
 
				
 
                walk("preview_unavailable_rayfish");
 
                
 
                return;
 
                
 
				--[[if (math.abs(iyh_fight.temple_distance) < 100) then
 
					walk("iyh_near_temple");
 
				else
 
@@ -578,16 +574,16 @@ iyh_labyrinth = room {
 
	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;
0 comments (0 inline, 0 general)