Create A Forum Installed
def computeDepreciationRate(model : Model, decayRate : Double) = { val depreciationRate = (model.price * (decayRate / 100)).toInt depreciationRate } def decayAirplanesByAirline(airplanesWithAssignedLink : Map[Airplane, LinkAssignments], owner : Airline) : List[Airplane] = { ... val newCondition = airplane.condition - decayRate val depreciationRate = computeDepreciationRate(airplane.model, decayRate) val newValue = airplane.value - depreciationRate updatingAirplanes.append(airplane.copy(condition = newCondition, depreciationRate = depreciationRate, value = newValue)) } updatingAirplanes.toList }
I checked the code to see how the changes in airplane models would affect my planes' depreciation and I found the code I copied below. Because of the change in the price of the 96-400s, their current values are going to be depreciated a **** ton more based on the model's new value. This would mean that it's value would eventually reach zero or negative before they are renewed and it'd be possible that we're going to pay much more than list price to renew this plane. Please have a lookCode: [Select] def computeDepreciationRate(model : Model, decayRate : Double) = { val depreciationRate = (model.price * (decayRate / 100)).toInt depreciationRate } def decayAirplanesByAirline(airplanesWithAssignedLink : Map[Airplane, LinkAssignments], owner : Airline) : List[Airplane] = { ... val newCondition = airplane.condition - decayRate val depreciationRate = computeDepreciationRate(airplane.model, decayRate) val newValue = airplane.value - depreciationRate updatingAirplanes.append(airplane.copy(condition = newCondition, depreciationRate = depreciationRate, value = newValue)) } updatingAirplanes.toList }
That'a long list!!! Please try to update data for A320NEO family and make it comparable to 737MAX. You have made 737MAX8 and MAX9 too good now. 737s and 320s are a backbone of many player's fleet...
Hi guys,Relatively new to the game but loving it and the community so far.I do hope this is the right thread to suggest an edit to any particular aircraft. Starting as a small regional (and having an aviation background) I was comparing the SAAB 2000 to the ERJ 135/140/145 family. Firstly the stated cruise speed of the 2000 is 665km/h which is higher than what the game currently has it as. Next was ref fuel burn. The fuel burn for the 2000 is higher than the ERJ's. I think that might not be the case. I know for a fact that Eastern Airways dropped their ERJ 140s for SAAB 2000's due to a higher fuel efficiency than the ERJ family.Hopefully I've not got the wrong end of the stats here then.Keep up the great work!/SEDIT: Have read the Fuel re work post and now understand this is more of a cost to operate, rather than fuel burn. Possibly still should favour the 2000 rather than the ERJ's?