Changeset - 4870dbdba409
[Not reviewed]
default
0 1 0
Silverwing - 5 years ago 2019-06-16 20:59:44

Small fixes to battle with rayfish
1 file changed with 3 insertions and 4 deletions:
0 comments (0 inline, 0 general)
atlantis_iyhehevjiarr.lua
Show inline comments
 
@@ -166,8 +166,8 @@ iyh_fight = room {
 
    nosave = true;
 
    noautosave = true;
 
    dsc = function(s)
 
        pr("Вы находитесь от ската на расстоянии около "..tostring(s.distance).." метров. ");
 
        pr("Храм находится примерно на расстоянии " .. tostring(s.temple_distance) .. " метров. ");
 
        pr("Вы находитесь от ската на расстоянии около "..tostring(math.abs(s.distance)).." метров. ");
 
        pr("Храм находится примерно на расстоянии " .. tostring(math.abs(s.temple_distance)) .. " метров. ");
 
        pr("На приборной панели вы видите, что ");
 
        iyh_fight_torpedo:enable();
 
        iyh_fight_recharge:disable();
 
@@ -192,11 +192,10 @@ iyh_fight = room {
 
        end;
 
    end;
 
    maketurn = function(s)
 
        if (s.distance > 1000) then
 
        if (s.distance > 1000 or s.distance < -1000) then
 
            if (s.shockfish_health < 20 or atl_iyh_entrance_destroyed) then
 
                pr "Скат уплывает и вы остаетесь одни. ";
 
                atl_iyh_shockfish_left = true;
 
                s.shockfish_health = 100;
 
                submarine_leviathan.hull_integrity = 100;
 
                submarine_leviathan.electric_integrity = 100;
 
                submarine_leviathan.torpedoes = 2;
0 comments (0 inline, 0 general)