New Expense

I missed one from my notes
This commit is contained in:
Rakeela Windrider 2023-04-05 00:09:12 -07:00
parent 159508b202
commit caa5c2e60c

View File

@ -53,7 +53,7 @@ func (k *KoboldMine) TotalSectorIncome() float64 {
} }
func (k *KoboldMine) TotalGovExpense() 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 { func (k *KoboldMine) Taxation() float64 {
@ -123,6 +123,10 @@ func (k *KoboldMine) Stats() []cardsim.Stat {
"Construction Income", "Construction Income",
k.ProductivityFunc(&k.ConstructionIncome), k.ProductivityFunc(&k.ConstructionIncome),
), ),
cardsim.StatFunc(
"Propaganda Expense",
k.ProductivityFunc(&k.PropagandaExpense),
),
cardsim.StatFunc( cardsim.StatFunc(
"Bureaucracy Expense", "Bureaucracy Expense",
k.ProductivityFunc(&k.BureaucracyExpense), k.ProductivityFunc(&k.BureaucracyExpense),
@ -212,6 +216,7 @@ func NewKoboldMine() *KoboldMine {
GadgetryIncome: 0.03, GadgetryIncome: 0.03,
FishingIncome: 0.0, FishingIncome: 0.0,
ConstructionIncome: 0.05, ConstructionIncome: 0.05,
PropagandaExpense: 0.01,
BureaucracyExpense: 0.05, BureaucracyExpense: 0.05,
WarExpense: 0.1, WarExpense: 0.1,
QoLExpense: 0.01, QoLExpense: 0.01,