Thanks for your reply
i have added this to the salvaging lasers
elseif weaponType == WeaponType.SalvagingLaser then
weapon.reach = weapon.isBeam and weapon.blength * 3.5 or weapon.pvelocity*weapon.pmaximumTime --- a bit extra reach for comfort
weapon.stoneEfficiency = weapon.metalEfficiency --- equals out the effiency vs salvaging and mining to be the same.
weapon.stoneDamageMultiplicator = weapon.dps / 20 --- to give them a bit more punch vs asteroids, somewhat equal to mining lasers but still a bit lower
this gives the salvaging laser ability to mine asteroids and deal more dammage to stone.
when i add the "weapon.stoneEfficiency" to the salvage laser. newly created lasers nolonger autofire on wreckages, only asteroids.
i want the laser to target salvageabel wreckage and mineable asteroid, not just either.
any help apreciated