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

Queue logic options #36

Closed
wants to merge 4 commits into from
Closed

Conversation

ZigguratV
Copy link
Collaborator

@ZigguratV ZigguratV commented Feb 2, 2024

Adds queue failure strategy options, which are unlocked upon researching Industrialisation.
There are:

  • None: it's current behaviour, just tries to build the first item and if fails it does not build it
  • Skip: just build/buy the first one item in the queue you can afford
  • Skip capped: ignore capped items
  • Remove capped: remove capped item
  • Push back capped: push the capped item to the back of the queue
    Also makes queues capable of building more than 1 item in queue per applyRedshift

barebones proof of concept solution
also add another queue option
Refactor to make the code repeat less
Add some simple "redshift queue can be used more than once per year" mechanic
@ZigguratV ZigguratV deleted the branch nuclear-unicorn:master February 7, 2024 20:54
@ZigguratV ZigguratV closed this Feb 7, 2024
@ZigguratV ZigguratV deleted the master branch February 7, 2024 20:54
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.

1 participant