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

Projection does not count as PCU #86

Open
viktor-ferenczi opened this issue Oct 14, 2024 · 0 comments
Open

Projection does not count as PCU #86

viktor-ferenczi opened this issue Oct 14, 2024 · 0 comments

Comments

@viktor-ferenczi
Copy link
Owner

viktor-ferenczi commented Oct 14, 2024

See in MultigridProjection.InitializeClipboard:

// Based on the original code, but without taking up PCU for the projection

The relevant code is marked as INCOMPLETE_UNTESTED. It needs to be finished based on the original code, then enabled. Alternatively it needs to be turned into a transpiler patch to preserve the original code as much as possible.

If this code is finished then the grid PCU needs to be decreased in RemoveProjection, otherwise it builds up as subsequent projections are enabled.

It should also be made optional with a plugin configuration, because some admins may allow for over-limit PCU projection, while others don't. Building blocks over the PCU limit is not possible anyway. Blocking such projections would block loading a repair projection if the remaining PCU to the limit is less than the PCU of the ship, for example.

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

1 participant