Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed ship mass (unnecessary feature, doesn't improve anything) #3613

Merged
merged 1 commit into from
Dec 27, 2024

Conversation

edwardspec
Copy link
Contributor

No description provided.

Initial idea (when the ship mass was first added) was for it to depend
on how much stuff was placed on the ship (blocks, buildings, etc.),
but this idea was abandoned, because there is no way to measure this
without heavy performance cost (full scan of the shipworld).

Currently ship mass is only increased by FTL Drives, which are mandatory
(player always has them), so increasing mass can't be avoided.

Player has methods to reduce the ship mass, but the mass only affects
fuel costs, so these methods can just reduce fuel cost instead.

In other words, ship mass is barely relevant to the player,
so we are removing this stat as unnecessary.

---

Note: fuel cost math (in [interface/cockpit/cockpit.lua]):
for most players, "shipMass" variable in fuelCost() function was approximately 2,
so these formulas will use the fixed number 2 instead.

There are no longer any ship mass reductions, so players who had them
will have slightly increased fuel costs.
@edwardspec edwardspec marked this pull request as ready for review December 5, 2024 01:11
@sayterdarkwynd sayterdarkwynd merged commit bedf6ee into sayterdarkwynd:master Dec 27, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants