Change "Productivity" to "Income" and "Expense
Also fixes a typo and an incorrectly assigned variable.
This commit is contained in:
@@ -13,14 +13,14 @@ var cards = []Card{
|
||||
EnactedDesc: cardsim.MsgStr("[current policy] Your war chief is presntly monitoring the situation, building up your military, and securing your creches."),
|
||||
Do: func(p *Player) (cardsim.Message, error) {
|
||||
p.Stats.Kobolds.Value += 100
|
||||
p.Stats.SectorScavengingProductivity.Value += 0.01
|
||||
p.Stats.GovWarProductivity.Value += 0.02
|
||||
p.Stats.SectorScavengingIncome.Value += 0.01
|
||||
p.Stats.GovWarExpense.Value += 0.02
|
||||
return cardsim.MsgStr("Kobolds are known to be born warriors."), nil
|
||||
},
|
||||
Undo: func(p *Player) error {
|
||||
p.Stats.Kobolds.Value -= 100
|
||||
p.Stats.SectorScavengingProductivity.Value -= 0.01
|
||||
p.Stats.GovWarProductivity.Value -= 0.02
|
||||
p.Stats.SectorScavengingIncome.Value -= 0.01
|
||||
p.Stats.GovWarExpense.Value -= 0.02
|
||||
return nil
|
||||
},
|
||||
},
|
||||
@@ -29,14 +29,14 @@ var cards = []Card{
|
||||
EnactedDesc: cardsim.MsgStr("[current policy] Your head miner is presently leading a project to dig as far away from the surface as possible."),
|
||||
Do: func(p *Player) (cardsim.Message, error) {
|
||||
p.Stats.Kobolds.Value += 40
|
||||
p.Stats.SectorMiningProductivity.Value += 0.02
|
||||
p.Stats.GovBureaucracyProductivity.Value += 0.01
|
||||
p.Stats.SectorMiningIncome.Value += 0.02
|
||||
p.Stats.GovBureaucracyExpense.Value += 0.01
|
||||
return cardsim.MsgStr("Kobolds are known to be cowards hiding in the dark."), nil
|
||||
},
|
||||
Undo: func(p *Player) error {
|
||||
p.Stats.Kobolds.Value -= 40
|
||||
p.Stats.SectorMiningProductivity.Value -= 0.02
|
||||
p.Stats.GovBureaucracyProductivity.Value -= 0.01
|
||||
p.Stats.SectorMiningIncome.Value -= 0.02
|
||||
p.Stats.GovBureaucracyExpense.Value -= 0.01
|
||||
return nil
|
||||
},
|
||||
},
|
||||
@@ -45,14 +45,14 @@ var cards = []Card{
|
||||
EnactedDesc: cardsim.MsgStr("[current policy] Military funding has been diverted into early childhood education."),
|
||||
Do: func(p *Player) (cardsim.Message, error) {
|
||||
p.Stats.Kobolds.Value -= 40
|
||||
p.Stats.SectorScavengingProductivity.Value -= 0.01
|
||||
p.Stats.GovWarProductivity.Value -= 0.02
|
||||
p.Stats.SectorScavengingIncome.Value -= 0.01
|
||||
p.Stats.GovWarExpense.Value -= 0.02
|
||||
return cardsim.MsgStr("An undefended hunting outpost near the surface was recently wiped out by a raid."), nil
|
||||
},
|
||||
Undo: func(p *Player) error {
|
||||
p.Stats.Kobolds.Value += 40
|
||||
p.Stats.SectorScavengingProductivity.Value += 0.01
|
||||
p.Stats.GovWarProductivity.Value += 0.02
|
||||
p.Stats.SectorScavengingIncome.Value += 0.01
|
||||
p.Stats.GovWarExpense.Value += 0.02
|
||||
return nil
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user