Telescope work speed does not depend on its Reduced Visibility.
even when Reduced Visibility is 9%, the Telescope analyzes the planets at full 100% speed.
public class Telescope : Workable, OxygenBreather.IGasProvider, IEffectDescriptor, ISim200ms { ... protected override bool OnWorkTick(Worker worker, float dt) { if (SpacecraftManager.instance.HasAnalysisTarget()) { float num = 1f + Db.Get().AttributeConverters.ResearchSpeed.Lookup(worker).Evaluate(); int starmapAnalysisDestinationID = SpacecraftManager.instance.GetStarmapAnalysisDestinationID(); SpaceDestination destination = SpacecraftManager.instance.GetDestination(starmapAnalysisDestinationID); float num2 = 1f / (float)destination.OneBasedDistance; float num3 = (float)ROCKETRY.DESTINATION_ANALYSIS.DISCOVERED; float dEFAULT_CYCLES_PER_DISCOVERY = ROCKETRY.DESTINATION_ANALYSIS.DEFAULT_CYCLES_PER_DISCOVERY; float num4 = num3 / dEFAULT_CYCLES_PER_DISCOVERY; float num5 = num4 / 600f; float points = dt * num * num2 * num5; SpacecraftManager.instance.EarnDestinationAnalysisPoints(starmapAnalysisDestinationID, points); } return base.OnWorkTick(worker, dt); }
Steps to Reproduce
see description
see description
-
1
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now