Skip to content

Resource prompting for non-iniatie player#2204

Open
lightjedi5 wants to merge 4 commits intoSWU-Karabast:mainfrom
lightjedi5:main
Open

Resource prompting for non-iniatie player#2204
lightjedi5 wants to merge 4 commits intoSWU-Karabast:mainfrom
lightjedi5:main

Conversation

@lightjedi5
Copy link
Copy Markdown

@lightjedi5 lightjedi5 commented Feb 18, 2026

Patch Notes

  • Updates variableResource class to update the prompt based one whether the player with iniative has finished resourcing or not. Only occurs after the initial resourcing in the beginning of the game.
resource-prompt

Refactor prompt text generation to include initiative player status.
@AMMayberry1
Copy link
Copy Markdown
Collaborator

Hey thanks for the PR! Looks like some tests are failing, probably the logic around testing stuff for the setup phase is a bit brittle.

Also, we'll want to add some new test cases to validate this new behavior.

Lastly - could you ping me (Veld) in discord? We'll get you added to the dev channels

return this.selectedCards[player.name].length >= this.minCardsToResource;
}

public override menuCommand(player: Player, arg: string) {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why do we need this override here now?

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