Changeset - e048695c32b8
[Not reviewed]
default
0 1 0
Silverwing - 6 years ago 2017-12-02 17:42:34

lfc saboteur fix
1 file changed with 9 insertions and 3 deletions:
0 comments (0 inline, 0 general)
atlantis_looking_for_clues.lua
Show inline comments
 
@@ -556,20 +556,25 @@ atl_lfc_sab = obj {
 
		tick = 3;
 
	};
 
	nam = "Мишель Леруа";
 
    disp2 = "Мишеля Леруа";
 
	canshoot = true;
 
	dsc = function(s)
 
        if (where(s) == where(pl)) then
 
            return [[В нескольких метрах от вас стоит {Мишель Леруа}. Он обращен к вам спиной и не видит вас. ]];
 
        else
 
            return [[Мишель Леруа стоит около Наутилуса. ]];
 
            return [[{Мишель Леруа} стоит около Наутилуса. ]];
 
        end;
 
    end;
 
    onshoot = function(s)
 
        remove(char_leroy, where('char_leroy'));
 
        walk("atl_lfc_dock_end_shot");
 
        return [[Вы стреляете в Мишеля Леруа, и убиваете его. Тело падает в воду. ]];
 
    end;
 
	act = function(s)
 
		walkin("atl_lfc_sab_dlg");
 
	end;
 
	life = function(s)
 
        print(where(s).nam);   
 
        if (where(atl_lfc_sab_vis) ~= where(pl)) then
 
        if where(atl_lfc_sab_vis) ~= where(pl) and where(pl) ~= where(s) then
 
            move(atl_lfc_sab_vis, where(pl));
 
        end;   
 
		if (s.tick > 0) then
 
@@ -595,6 +600,7 @@ atl_lfc_sab_vis = obj {
 
		shot = 0;
 
	};
 
	nam = "Мишель Леруа";
 
    disp2 = "Мишеля Леруа";
 
	canshoot = true;
 
	onshoot = function(s)
 
		if (s.shot == 0) then
0 comments (0 inline, 0 general)