Skip to content

Rudimentary Station AI logic, take two#10087

Merged
Agetian merged 7 commits intoCard-Forge:masterfrom
Agetian:ai-station-v2
Mar 18, 2026
Merged

Rudimentary Station AI logic, take two#10087
Agetian merged 7 commits intoCard-Forge:masterfrom
Agetian:ai-station-v2

Conversation

@Agetian
Copy link
Contributor

@Agetian Agetian commented Mar 18, 2026

A very basic AI which will activate the ability when it's reasonably safe to do so (AI is at decent life after the possible attack, or it doesn't have any possible blockers, or there's nothing to block). Needs to be improved, but not sure how. Probably chooseTapType needs to be updated as well so that what exactly is tapped is more carefully selected (and something is kept back).

@Agetian Agetian added the AI General AI tag label Mar 18, 2026
- Only run the expensive prediction check if the first condition is false
@Hanmac
Copy link
Contributor

Hanmac commented Mar 18, 2026

Maybe: make station more likely if it's a (untapped) Spacecraft? And it becomes a creature?

@Agetian
Copy link
Contributor Author

Agetian commented Mar 18, 2026

Yeah, I thought about that tbh, but not sure how to do it... The problem is, it'll need synchronization between what is chosen to be tapped for what Station, and that'll need a rather complex modification to both chooseTapType and willPayCosts that I can't quite figure out :( I'll think about it some more though. May need to do this as a followup PR unless some bright ideas come to mind ^^;

Basically, we'll need to determine that whatever we tap will be enough to get the Station to the value where it becomes a creature.

@Agetian Agetian merged commit 1cc10e9 into Card-Forge:master Mar 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI General AI tag

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants