Changeset - 133704bbb384
[Not reviewed]
default
0 1 0
Silverwing - 6 years ago 2019-01-27 12:02:50

remove navjiarian looking glass from player after corresponding quest completion
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
atlantis_iyhehevjiarr.lua
Show inline comments
 
@@ -1528,24 +1528,25 @@ iyh_outro_learr_shockfish_dead = room {
 
    end;
 
    hideinv = true;
 
    entered = function(s)
 
        for i = 1, #pl.party do
 
            if pl.party[i] == 'learr' then 
 
                table.remove(pl.party, i);
 
                break;
 
            end;
 
        end;
 
        leviathan_cabin_3.lock = false;
 
        
 
        remove(char_learr, where(char_learr));
 
        remove(iyh_looking_glass, pl);
 
        remove(item_statuette, pl);
 
        remove(item_temple_disk, pl);
 
        remove(item_legend_of_temple, pl);
 
        remove(item_legend_of_dark_source, pl);
 
        remove(item_legend_of_first_city, pl);
 
        remove(item_legend_of_hunter, pl);
 
    end;
 
    obj = {
 
        vway("Продолжить", "{Продолжить}", "atl_luna_drake_room");
 
    };
 
};
 
 
@@ -1558,44 +1559,46 @@ iyh_outro_learr_temple_destroyed = room 
 
    entered = function(s)
 
        for i = 1, #pl.party do
 
            if pl.party[i] == 'learr' then 
 
                table.remove(pl.party, i);
 
                break;
 
            end;
 
        end;
 
        move(char_learr_atlantis, atl_oculus_lab_a);
 
        leviathan_cabin_3.lock = false;
 
        
 
        char_learr.home = "leviathan_wardroom";
 
        remove(item_statuette);
 
		remove(iyh_looking_glass, pl);
 
        remove(item_temple_disk);
 
        remove(item_legend_of_temple);
 
        remove(item_legend_of_dark_source);
 
        remove(item_legend_of_first_city);
 
        remove(item_legend_of_hunter);
 
    end;
 
    obj = {
 
        vway("Продолжить", "{Продолжить}", "atl_luna_drake_room");
 
    };
 
};
 
 
iyh_outro_learr = dlg {
 
	nam = "Атлантида, док Левиафана";
 
	entered = function(s)
 
		if (rel_learr > 0) then
 
			psub('rel_ok');
 
        else
 
			psub('rel_not_ok');
 
		end;
 
        
 
		remove(iyh_looking_glass, pl);
 
        remove(item_statuette, pl);
 
        remove(item_temple_disk, pl);
 
        remove(item_legend_of_temple, pl);
 
        remove(item_legend_of_dark_source, pl);
 
        remove(item_legend_of_first_city, pl);
 
        remove(item_legend_of_hunter, pl);
 
        
 
        return [[При выходе из Левиафана, вас встречает Екатерина Светлова. Леарр сразу же просит: "Ты мне-отдашь взятое-в-храме".^ В ответ Светлова просит ее: "Может, вы разрешите нам оставить реликвии на некоторое время?"^ Леарр не слишком уверенно отвечает: "Старейшина это-не-одобрит. Другой-выход есть?" ]];
 
	end;
 
	phr = {
 
		{tag="rel_ok"};
 
		{"Это очень поможет нам в поисках Уильяма.", [[Леарр все еще неуверенно: "Я что-смогу-сделаю. Вы пока-все-оставьте". ]], code [[
0 comments (0 inline, 0 general)