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

DLC robotics parts return half value for mass when iterated over #3074

Open
TravelerTwo opened this issue Dec 22, 2022 · 1 comment
Open
Milestone

Comments

@TravelerTwo
Copy link

TravelerTwo commented Dec 22, 2022

All the DLC robotics part (except the controller) seem to be made out of two identical parts and querying the mass returns only half of the 'true' mass of a part.

Try this to see what I mean.

local m is 0.

for p in ship:parts { set m to m + p:mass. }

print m.
print ship:mass.
@darthgently
Copy link

Not sure if related, but the bounds on the restock+ inflatable airlock is taken into account for ship: bounds when inflated but part:bounds only reflects the deflated size even when inflated. Similarity to this issue is that the ship level is correct while part level seems to be only looking at some, or one, piece of the part. Let me know if a separate issue is in order

@JonnyOThan JonnyOThan added this to the 1.5.0.0 milestone Aug 4, 2024
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

No branches or pull requests

3 participants