diff --git a/smoketest/cards.go b/smoketest/cards.go index 217ec6b..cf4ba57 100644 --- a/smoketest/cards.go +++ b/smoketest/cards.go @@ -119,8 +119,8 @@ func initDeck(d *cardsim.Deck[*SmokeTestCollection]) { func installPermanentActions(pa *[]card) { *pa = []card{ &cardsim.BasicCard[*SmokeTestCollection]{ - CardTitle: cardsim.MsgStr("Reset to 0"), - CardText: cardsim.MsgStr("Resets Number to 0."), + CardTitle: cardsim.MsgStr("Reset Number"), + CardText: cardsim.MsgStr("Resets Number to a fixed value."), CardOptions: []cardOption{ &cardsim.BasicOption[*SmokeTestCollection]{ Text: cardsim.MsgStr("Reset to 0."), @@ -130,12 +130,6 @@ func installPermanentActions(pa *[]card) { }, Output: cardsim.MsgStr("Done."), }, - }, - }, - &cardsim.BasicCard[*SmokeTestCollection]{ - CardTitle: cardsim.MsgStr("Reset to 1000000"), - CardText: cardsim.MsgStr("Resets Number to one million."), - CardOptions: []cardOption{ &cardsim.BasicOption[*SmokeTestCollection]{ Text: cardsim.MsgStr("Reset to 1,000,000"), Effect: func(p *player) error { @@ -146,6 +140,11 @@ func installPermanentActions(pa *[]card) { }, }, }, + } +} + +func installDebugActions(pa *[]card) { + *pa = []card{ &cardsim.BasicCard[*SmokeTestCollection]{ CardTitle: cardsim.MsgStr("Draw a card"), CardText: cardsim.MsgStr("Draw an extra card."), diff --git a/smoketest/main.go b/smoketest/main.go index c51be3f..ecc3fed 100644 --- a/smoketest/main.go +++ b/smoketest/main.go @@ -40,6 +40,7 @@ func main() { installRules(p.Rules) initDeck(p.Deck) installPermanentActions(&p.PermanentActions) + installDebugActions(&p.DebugActions) p.InfoPanels = []cardsim.InfoPanel[*SmokeTestCollection]{ &cardsim.BasicStatsPanel[*SmokeTestCollection]{ Name: cardsim.MsgStr("Stats"),