From caa5c2e60c02d6b90aa0da1be22bdbbdeed15897 Mon Sep 17 00:00:00 2001 From: Rakeela Date: Wed, 5 Apr 2023 00:09:12 -0700 Subject: [PATCH] New Expense I missed one from my notes --- koboldsim/stats.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/koboldsim/stats.go b/koboldsim/stats.go index 9fe9348..2ed99b3 100644 --- a/koboldsim/stats.go +++ b/koboldsim/stats.go @@ -53,7 +53,7 @@ func (k *KoboldMine) TotalSectorIncome() float64 { } func (k *KoboldMine) TotalGovExpense() float64 { - return float64(k.Kobolds()) * (k.BureaucracyExpense + k.WarExpense + k.QoLExpense + k.LogisticsExpense + k.DragonSubsExpense + k.ResearchSubsExpense + k.EducationExpense + k.HealthcareExpense + k.ForeignRelExpense + k.PoliceExpense + k.EconPlanExpense + k.ParksExpense + k.FaithExpense) + return float64(k.Kobolds()) * (k.PropagandaExpense + k.BureaucracyExpense + k.WarExpense + k.QoLExpense + k.LogisticsExpense + k.DragonSubsExpense + k.ResearchSubsExpense + k.EducationExpense + k.HealthcareExpense + k.ForeignRelExpense + k.PoliceExpense + k.EconPlanExpense + k.ParksExpense + k.FaithExpense) } func (k *KoboldMine) Taxation() float64 { @@ -123,6 +123,10 @@ func (k *KoboldMine) Stats() []cardsim.Stat { "Construction Income", k.ProductivityFunc(&k.ConstructionIncome), ), + cardsim.StatFunc( + "Propaganda Expense", + k.ProductivityFunc(&k.PropagandaExpense), + ), cardsim.StatFunc( "Bureaucracy Expense", k.ProductivityFunc(&k.BureaucracyExpense), @@ -212,6 +216,7 @@ func NewKoboldMine() *KoboldMine { GadgetryIncome: 0.03, FishingIncome: 0.0, ConstructionIncome: 0.05, + PropagandaExpense: 0.01, BureaucracyExpense: 0.05, WarExpense: 0.1, QoLExpense: 0.01,