File diff 12dc77d6f1ec → 93308919b9f7
items.lua
Show inline comments
 
@@ -481,25 +481,24 @@ item_harpoon = obj {
 
        if (s.charge == 0) then
 
            return "Ружье (разряжено)";
 
        else
 
            return "Ружье (заряжено)";
 
        end;
 
    end;
 
    dsc = [[К стене прислонено {гарпунное ружье}. ]];
 
    tak = "Вы забираете ружье. ";
 
    use = function(s, o)
 
        local canshoot = false;
 
        if (type(o.canshoot) == "function") then
 
            canshoot, noshootmsg = o:canshoot();
 
            print(canshoot, noshootmsg);
 
        else
 
            canshoot = o.canshoot;
 
        end;
 
        
 
        local canthrust = false;
 
        if (type(o.canthrust) == "function") then
 
            canthrust = o:canthrust();
 
        else
 
            canthrust = o.canthrust;
 
        end;
 
        
 
        if (canthrust) then