equal
deleted
inserted
replaced
2971 -- some kind of target detected, tell me your story |
2971 -- some kind of target detected, tell me your story |
2972 if cGear ~= nil then |
2972 if cGear ~= nil then |
2973 |
2973 |
2974 x,y = GetGearTarget(cGear) |
2974 x,y = GetGearTarget(cGear) |
2975 |
2975 |
2976 if GetGearType(cGear) == gtAirAttack then |
2976 AddCaption(GetGearPos(cGear)) |
|
2977 if GetGearType(cGear) == gtAirAttack and GetCurAmmoType() == amAirAttack then |
2977 DeleteGear(cGear) |
2978 DeleteGear(cGear) |
2978 PlaceObject(x, y) |
2979 PlaceObject(x, y) |
2979 elseif GetGearType(cGear) == gtGirder then |
2980 elseif GetGearType(cGear) == gtGirder then |
2980 |
2981 |
2981 CGR = GetState(cGear) |
2982 CGR = GetState(cGear) |
3714 if (ufoFuel ~= 0) then |
3715 if (ufoFuel ~= 0) then |
3715 SetHealth(ufoGear, ufoFuel) |
3716 SetHealth(ufoGear, ufoFuel) |
3716 end |
3717 end |
3717 end |
3718 end |
3718 |
3719 |
3719 if (GetGearType(gear) == gtAirAttack) or (GetGearType(gear) == gtGirder) then |
3720 if (GetGearType(gear) == gtAirAttack and GetCurAmmoType() == amAirAttack) or (GetGearType(gear) == gtGirder) then |
3720 cGear = gear |
3721 cGear = gear |
3721 end |
3722 end |
3722 |
3723 |
3723 local tagTint |
3724 local tagTint |
3724 if showGearTags then |
3725 if showGearTags then |
3766 |
3767 |
3767 if gt == gtJetpack then |
3768 if gt == gtJetpack then |
3768 ufoGear = nil |
3769 ufoGear = nil |
3769 end |
3770 end |
3770 |
3771 |
3771 if gt == gtAirAttack or gt == gtGirder then |
3772 if (gt == gtAirAttack and GetGearPos(gear) == 0) or gt == gtGirder then |
3772 cGear = nil |
3773 cGear = nil |
3773 end |
3774 end |
3774 |
3775 |
3775 if (gt == gtMine or gt == gtSMine or gt == gtAirMine or gt == gtExplosives or gt == gtCase) then |
3776 if (gt == gtMine or gt == gtSMine or gt == gtAirMine or gt == gtExplosives or gt == gtCase) then |
3776 if(tagGears[gear] ~= -1) then |
3777 if(tagGears[gear] ~= -1) then |