From 7b80aae822c8fc055245e06ed948e36f36ec6816 Mon Sep 17 00:00:00 2001 From: fanioz Date: Wed, 24 Jun 2026 18:42:25 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20remove=20dead=20code=20in=20Assi?= =?UTF-8?q?st.Estimate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Created from Jules session 445180792331103612 https://jules.google.com/session/445180792331103612 --- utilities/sandbox.nut | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/utilities/sandbox.nut b/utilities/sandbox.nut index 217e318..f47e7ed 100644 --- a/utilities/sandbox.nut +++ b/utilities/sandbox.nut @@ -97,21 +97,9 @@ class Assist local days = Assist.TileToDays(distance, spd) + 4; local income = AICargo.GetCargoIncome(cargoID, distance, days) * mult; local cap = AIEngine.GetCapacity(engID); - //local vhcneed = max(XVehicle.Needed (product, cap, days), 1); - //local price = AIEngine.GetPrice (engID);// * vhcneed; local vhc_num = Money.Maximum() / AIEngine.GetPrice(engID) * 10; local cost = AIEngine.GetRunningCost(engID) * vhc_num / 10; - //local profit = 12 * income * product - cost; local profit = 365 / days * income * cap * vhc_num / 10 - cost; - //local rrate = (profit * 100 / price).tointeger(); - //print("=> :Vehicle needed: " + vhcneed + " :Cost: " + cost); - //print("=> at distance: " + distance); - //print("=> at speed: " + spd); - //print("=> days: " + days); - //print("=> base:: :income: " + income + " :Prod: " + product); - //My.Info("=> :Profit estimated: ", profit); - //print("=> :return rate: " + rrate); - //return rrate ; return profit; }