Finish converting second option of Pan-Tribal Festival of Bureaucracy.

This commit is contained in:
Kistaro Windrider 2024-09-29 12:18:12 -07:00
parent b2099586fc
commit 8a28f38d4d
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -121,18 +121,12 @@ var cards = []Card{
&TablePolicy{
UnenactedDesc: cardsim.MsgStr(`Your Minister of Finance greets you exuberantly. "We've trimmed the wages of the bureaucracy beautifully, but maybe we can scout some outright volunteers. Some tribes are absolute disasters, after all.`),
EnactedDesc: cardsim.MsgStr(`[current policy] It's hard to find volunteer workers at the festival, but your tribe is doing its best.`),
Do: func(p *Player) (cardsim.Message, error) {
p.Stats.BasePopulation += 10
p.Stats.Bureaucracy -= 2
p.Stats.Rebellion += 1
return cardsim.MsgStr("The local bureaucracy is staffed by volunteer labor."), nil
},
Undo: func(p *Player) error {
p.Stats.BasePopulation -= 10
p.Stats.Bureaucracy += 2
p.Stats.Rebellion -= 1
return nil
EffectsTable: map[FieldLabel]float64{
BasePopulation: 10,
Bureaucracy: -2,
Rebellion: 1,
},
EnactionDesc: cardsim.MsgStr("The local bureaucracy is staffed by volunteer labor."),
CanDo: func(t *TablePolicy, p *Player) bool {
return p.Stats.Bureaucracy < 2 && t.LastEnactedIdx != 3
},