New Expense
I missed one from my notes
This commit is contained in:
parent
159508b202
commit
caa5c2e60c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user