Change MaxWeight to respect atmospheric density
This commit is contained in:
parent
0b5637ca38
commit
90085dd87a
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
let maxWeight: number = $derived(ship.getTotalMaxThrust() / (gravity * 9.81))
|
let maxWeight: number = $derived(ship.getTotalThrust(atmosphericDensity) / (gravity * 9.81))
|
||||||
|
|
||||||
let maxVehicleWeight: number = $derived(maxWeight - ship.getTotalVolume(inventoryMultiplier) * material.density)
|
let maxVehicleWeight: number = $derived(maxWeight - ship.getTotalVolume(inventoryMultiplier) * material.density)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue