From 1eedfb50e8d587d5a9abf0ba63848ec46e5e2683 Mon Sep 17 00:00:00 2001 From: Kistaro Windrider Date: Mon, 3 Apr 2023 20:33:35 -0700 Subject: [PATCH] Fix enablement --- koboldsim/cards.go | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/koboldsim/cards.go b/koboldsim/cards.go index 8495726..7e4b7e7 100644 --- a/koboldsim/cards.go +++ b/koboldsim/cards.go @@ -23,6 +23,7 @@ var cards = []Card{ p.Stats.GovWarExpense.Value -= 0.02 return nil }, + CanDo: YesWeCan, }, &BasicPolicy{ UnenactedDesc: cardsim.MsgStr(`Your head miner considers the matter worriedly. "Creches under military control? No. That would invite chaos. We need to dig deeper; we can have a peaceful, orderly society if we just get far enough away from surfacers."`), @@ -39,6 +40,7 @@ var cards = []Card{ p.Stats.GovBureaucracyExpense.Value -= 0.01 return nil }, + CanDo: YesWeCan, }, &BasicPolicy{ UnenactedDesc: cardsim.MsgStr(`Your nursery director is incensed. "Creches under military control? Never! Let young kobolds play! In fact, cut the military just for suggesting this. The threats facing us are completely overstated."`), @@ -55,6 +57,7 @@ var cards = []Card{ p.Stats.GovWarExpense.Value += 0.02 return nil }, + CanDo: YesWeCan, }, &VerbosePolicy{ Default: &BasicPolicy{ @@ -110,6 +113,7 @@ var cards = []Card{ p.Stats.GovBureaucracyExpense.Value -= 0.03 return nil }, + CanDo: YesWeCan, }, &BasicPolicy{ UnenactedDesc: cardsim.MsgStr(`Your Minister of Education pulls you aside. "This is a good opportunity to head-hunt. Bureaucrats from many nations will be attending. There's got to be some who'll work for less than the ones we've got. There are some terribly threatened or impoverished communities among kobolds.`), @@ -124,7 +128,8 @@ var cards = []Card{ p.Stats.GovBureaucracyExpense.Value += 0.01 return nil }, - // This option should only be available if the fourth option isn't the status quo and bureaucratic expense is at least 0.02. + CanDo: YesWeCan, + // TODO(rakeela): This option should only be available if the fourth option isn't the status quo and bureaucratic expense is at least 0.02. }, &BasicPolicy{ UnenactedDesc: cardsim.MsgStr(`Your Minister of Education greets you exuberantly. "We've trimmed the wages of the bureaucracy beautifully, but maybe we can scout some outright volunteers. Some nations are absolute disasters, after all.`), @@ -139,7 +144,8 @@ var cards = []Card{ p.Stats.GovBureaucracyExpense.Value += 0.02 return nil }, - // This option should only be available if the fourth option isn't the status quo and bureaucratic expense is less than 0.02. + CanDo: YesWeCan, + // TODO(rakeela): This option should only be available if the fourth option isn't the status quo and bureaucratic expense is less than 0.02. }, &BasicPolicy{ UnenactedDesc: cardsim.MsgStr(`One of your non-bureaucrat friends has been in a foul temper. "This festival is everything that's wrong with our society. Life isn't about filling out forms. We ought to snub this festival and outright fire some bureaucrats."`), @@ -154,6 +160,7 @@ var cards = []Card{ p.Stats.GovBureaucracyExpense.Value += 0.04 return nil }, + CanDo: YesWeCan, }, &VerbosePolicy{ Default: &BasicPolicy{