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

Lightning collectors #397

Merged
merged 2 commits into from
Jan 30, 2025
Merged

Lightning collectors #397

merged 2 commits into from
Jan 30, 2025

Conversation

DaleStan
Copy link
Collaborator

This adds lightning collectors as electricity sources (when paired with accumulators), covering tasks 1 and 3 of #319. Discord discussion of #390 was leaning toward a square grid. There didn't seem to be strong opinions on how effective the accumulators should be, so I picked 10%. Both of these could be configured, but I chose not to do that for now.

I also chose to hardcode Fulgoran storm properties (#319, task 2), but left todos behind for where they would need to be changed.

@DaleStan DaleStan requested a review from veger January 28, 2025 21:01
@DaleStan DaleStan requested a review from shpaass as a code owner January 28, 2025 21:01
@DaleStan DaleStan linked an issue Jan 28, 2025 that may be closed by this pull request
Yafc.Model/Data/DataClasses.cs Outdated Show resolved Hide resolved
Yafc.Parser/Data/FactorioDataDeserializer_Entity.cs Outdated Show resolved Hide resolved
Yafc.Parser/Data/FactorioDataDeserializer_Entity.cs Outdated Show resolved Hide resolved
@DaleStan DaleStan force-pushed the lightning-collectors branch 2 times, most recently from 79daf56 to 08caf1e Compare January 30, 2025 02:51
Copy link
Owner

@shpaass shpaass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the feature! That's one hell of a formula.

@veger
Copy link
Collaborator

veger commented Jan 30, 2025

One more question: should we keep the markdown with the lightning formulas next to the code, or move to the docs folder? I do not feel strong/happy about having non-code files next to the code, but it wouldn't be a show stopper for me.

So for me either way is fine

@shpaass
Copy link
Owner

shpaass commented Jan 30, 2025

One more question: should we keep the markdown with the lightning formulas next to the code, or move to the docs folder?

Now that you mention it, you're right.
I'm for having a reference to the doc in the code, and then having this doc in the Docs folder or subfolder.

@DaleStan DaleStan force-pushed the lightning-collectors branch from 08caf1e to 9e89ab4 Compare January 30, 2025 09:16
@shpaass shpaass merged commit 842bdb2 into shpaass:master Jan 30, 2025
1 check 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.

[Discussion] How should lightning attractors be modeled?
3 participants