feat: Cards writings and balancing (M8)

This commit is contained in:
gauvainboiche
2026-10-25 18:30:43 +01:00
parent 04193e2013
commit c2103c32e7
43 changed files with 25930 additions and 397 deletions
+112 -67
View File
@@ -1,6 +1,5 @@
{
"version": 1,
"time": {
"daysPerWeek": 7,
"daysPerQuarter": 91,
@@ -10,16 +9,33 @@
"speeds": [1, 2, 4],
"historyEvery": 7
},
"limits": { "allocMaxRatio": 3, "sliderMaxRatio": 2, "taxMaxFactorOfPeak": 2 },
"noise": { "indicator": 0.35 },
"gain": 3,
"world": { "tau": 220, "noise": 0.22, "max": 4, "shockChancePerDay": 0.0012, "shock": 2.5, "boomShare": 0.3 },
"fiscal": { "growthSens": 0.25 },
"needGrowth": {
"education": 0.015,
"health": 0.035,
"social": 0.025,
"police": 0.02,
"army": 0.015,
"justice": 0.02,
"industry": 0.01,
"transport": 0.02,
"infrastructure": 0.03,
"housing": 0.025,
"research": 0.01,
"culture": 0.01,
"foreignAffairs": 0.01,
"environment": 0.02,
"administration": 0.015
},
"cards": {
"recentWindow": 3,
"recentPenalty": 0.4,
"boostBelow": 40,
"boostMax": 1.0,
"boostMax": 1,
"defaultCooldown": 180,
"boost": {
"economy": { "indicator": "economy" },
@@ -37,13 +53,7 @@
"culture": { "sector": "culture" }
}
},
"sector": {
"qualityCurve": 0.9,
"industryDebtPenaltyFrom": 90,
"industryDebtPenaltyPerPoint": 0.25
},
"sector": { "qualityCurve": 0.9, "industryDebtPenaltyFrom": 90, "industryDebtPenaltyPerPoint": 0.25 },
"sectorTau": {
"education": 365,
"health": 90,
@@ -61,117 +71,152 @@
"environment": 365,
"administration": 90
},
"debt": {
"freeBelow": 60,
"baseRate": 3.0,
"premiumFrom": 40,
"premiumCoef": 0.0003
},
"debt": { "freeBelow": 60, "baseRate": 3, "premiumFrom": 40, "premiumCoef": 0.0008 },
"crackdown": { "unrestStart": 45 },
"gameOver": {
"default": { "debtAbove": 200, "warnAbove": 160 },
"default": { "debtAbove": 165, "warnAbove": 135 },
"impeachment": { "civilRightsBelow": 10, "opinionBelow": 25, "days": 60 },
"coup": { "armyBelow": 35, "stabilityBelow": 35, "chancePerDay": 0.015 },
"revolution": { "unrestAbove": 70, "opinionBelow": 20, "chancePerDay": 0.02 }
"coup": { "armyBelow": 35, "stabilityBelow": 50, "armyAlone": 18, "chancePerDay": 0.004 },
"revolution": { "unrestAbove": 62, "opinionBelow": 28, "chancePerDay": 0.004 },
"emergencyCooldown": 45
},
"score": {
"weights": {
"opinion": 0.20, "stability": 0.15, "economy": 0.15, "order": 0.10,
"civilRights": 0.10, "softPower": 0.10, "hardPower": 0.10, "calm": 0.10
"opinion": 0.2,
"stability": 0.15,
"economy": 0.15,
"order": 0.1,
"civilRights": 0.1,
"softPower": 0.1,
"hardPower": 0.1,
"calm": 0.1
},
"debt": { "ref": 60, "per": 0.12, "min": -10, "max": 6 },
"debt": { "ref": 60, "per": 0.2, "min": -16, "max": 6 },
"growth": { "ref": 2, "per": 2.5, "min": -5, "max": 7.5 },
"unemployment": { "ref": 6.5, "per": 1, "min": -5, "max": 3 },
"overCap": 35,
"grades": [[75, "S"], [66, "A"], [58, "B"], [50, "C"], [40, "D"], [0, "F"]],
"topDecisions": 5
"grades": [[73, "S"], [64, "A"], [56, "B"], [47, "C"], [38, "D"], [0, "F"]],
"topDecisions": 5,
"lastYearShare": 0.5
},
"tax": {
"income": { "coef": 0.50, "peak": 60, "opinion": 0.50, "growth": 0.030 },
"corporate": { "coef": 0.25, "peak": 50, "opinion": 0.15, "growth": 0.060 },
"vat": { "coef": 0.55, "peak": 40, "opinion": 0.60, "growth": 0.025 }
"income": { "coef": 0.5, "peak": 60, "opinion": 0.5, "growth": 0.03 },
"corporate": { "coef": 0.25, "peak": 50, "opinion": 0.15, "growth": 0.06 },
"vat": { "coef": 0.55, "peak": 40, "opinion": 0.6, "growth": 0.025 }
},
"vars": {
"growth": {
"tau": 60, "min": -15, "max": 12, "noise": 0.02,
"sectors": { "industry": 0.02, "infrastructure": 0.012, "research": 0.015, "education": 0.010, "transport": 0.006 },
"tau": 60,
"min": -15,
"max": 12,
"noise": 0.02,
"sectors": { "industry": 0.02, "infrastructure": 0.012, "research": 0.015, "education": 0.01, "transport": 0.006 },
"econ": { "debt": -0.03, "taxGrowthDrag": -1 },
"ind": { "unrest": -0.02 }
"world": { "cycle": 0.8 },
"ind": { "unrest": -0.02 },
"excess": { "research": [70, 0.012], "education": [70, 0.01], "infrastructure": [70, 0.012], "industry": [70, 0.012] },
"short": { "infrastructure": [40, 0.01], "industry": [40, 0.012] }
},
"unemployment": {
"tau": 120, "min": 1, "max": 40, "noise": 0.01,
"tau": 120,
"min": 1,
"max": 40,
"noise": 0.01,
"sectors": { "industry": -0.03, "education": -0.015, "infrastructure": -0.01 },
"econ": { "growth": -0.6 }
},
"inflation": {
"tau": 90, "min": -2, "max": 40, "noise": 0.015,
"econ": { "deficit": 0.35, "growth": 0.15, "debt": 0.02 }
"tau": 90,
"min": -2,
"max": 40,
"noise": 0.015,
"econ": { "deficit": 0.35, "growth": 0.15, "debt": 0.02 },
"world": { "cycle": 0.3 }
}
},
"indicators": {
"order": {
"tau": 30,
"sectors": { "police": 0.35, "justice": 0.20, "administration": 0.08 },
"sectors": { "police": 0.35, "justice": 0.2, "administration": 0.08 },
"econ": { "unemployment": -0.6, "crackdown": 25 },
"ind": { "unrest": -0.30 }
"ind": { "unrest": -0.3 },
"drift": -0.8,
"excess": { "police": [75, 0.15], "justice": [70, 0.2] }
},
"stability": {
"tau": 45,
"sectors": { "social": 0.15, "health": 0.08, "housing": 0.08, "justice": 0.08, "administration": 0.10 },
"sectors": { "social": 0.15, "health": 0.08, "housing": 0.08, "justice": 0.08, "administration": 0.1 },
"econ": { "debt": -0.15, "unemployment": -0.7, "inflation": -0.4 },
"ind": { "unrest": -0.25, "opinion": 0.15, "order": 0.10, "economy": 0.08 }
},
"civilRights": {
"tau": 40,
"sectors": { "justice": 0.30 },
"alloc": { "police": -20, "army": -4 },
"econ": { "crackdown": -35 }
"ind": { "unrest": -0.25, "opinion": 0.15, "order": 0.1, "economy": 0.08 },
"drift": -0.8
},
"civilRights": { "tau": 40, "sectors": { "justice": 0.3 }, "alloc": { "police": -20, "army": -4 }, "econ": { "crackdown": -35 } },
"opinion": {
"tau": 30,
"sectors": { "health": 0.22, "education": 0.08, "social": 0.28, "housing": 0.18, "transport": 0.10, "infrastructure": 0.08, "culture": 0.05, "environment": 0.04 },
"sectors": {
"health": 0.22,
"education": 0.08,
"social": 0.28,
"housing": 0.18,
"transport": 0.1,
"infrastructure": 0.08,
"culture": 0.05,
"environment": 0.04
},
"econ": { "unemployment": -1.4, "inflation": -1.1, "growth": 1.8, "taxPressure": -1.2, "crackdown": -4 },
"ind": { "civilRights": 0.08, "order": 0.08, "stability": 0.10 }
"ind": { "civilRights": 0.08, "order": 0.08, "stability": 0.1 },
"drift": -1.4,
"excess": { "health": [70, 0.25], "social": [70, 0.2], "housing": [70, 0.15] },
"short": { "health": [40, 0.25], "social": [40, 0.2] }
},
"economy": {
"tau": 30,
"sectors": { "industry": 0.30, "infrastructure": 0.15, "research": 0.12, "transport": 0.10, "education": 0.10, "administration": 0.05 },
"sectors": {
"industry": 0.3,
"infrastructure": 0.15,
"research": 0.12,
"transport": 0.1,
"education": 0.1,
"administration": 0.05
},
"econ": { "growth": 6, "unemployment": -1.2, "inflation": -0.8, "debt": -0.12 },
"ind": { "stability": 0.10 }
"ind": { "stability": 0.1 },
"excess": { "education": [70, 0.2], "research": [70, 0.25], "infrastructure": [70, 0.2], "industry": [70, 0.25] },
"short": { "infrastructure": [40, 0.2], "industry": [40, 0.2] }
},
"hardPower": {
"tau": 60,
"sectors": { "army": 0.50, "research": 0.10, "industry": 0.08 },
"sectors": { "army": 0.5, "research": 0.1, "industry": 0.08 },
"alloc": { "army": 8 },
"econ": { "debt": -0.05 },
"ind": { "economy": 0.08 }
"ind": { "economy": 0.08 },
"drift": -0.8,
"excess": { "army": [75, 0.3], "research": [70, 0.15] }
},
"softPower": {
"tau": 60,
"sectors": { "culture": 0.30, "foreignAffairs": 0.35, "education": 0.08, "research": 0.08, "environment": 0.05 },
"sectors": { "culture": 0.3, "foreignAffairs": 0.35, "education": 0.08, "research": 0.08, "environment": 0.05 },
"alloc": { "police": -4 },
"econ": { "crackdown": -15 },
"ind": { "civilRights": 0.15, "economy": 0.05 }
"ind": { "civilRights": 0.15, "economy": 0.05 },
"drift": -0.55,
"excess": { "culture": [70, 0.3], "foreignAffairs": [70, 0.3] }
},
"unrest": {
"tau": 20,
"sectors": { "social": -0.15, "housing": -0.10 },
"econ": { "unemployment": 2.5, "inflation": 1.0, "debt": 0.20, "crackdown": -10 },
"ind": { "opinion": -0.50, "stability": -0.25, "order": -0.15, "civilRights": -0.12 }
"sectors": { "social": -0.15, "housing": -0.1 },
"econ": { "unemployment": 2.5, "inflation": 1, "debt": 0.2, "crackdown": -10 },
"ind": { "opinion": -0.5, "stability": -0.25, "order": -0.15, "civilRights": -0.12 },
"drift": 1.1
},
"armyLoyalty": {
"tau": 60,
"sectors": { "army": 0.40 },
"sectors": { "army": 0.4 },
"alloc": { "army": 15 },
"econ": { "debt": -0.10, "inflation": -0.3 },
"ind": { "opinion": 0.05, "stability": 0.10 }
"econ": { "debt": -0.1, "inflation": -0.3 },
"ind": { "opinion": 0.05, "stability": 0.1 },
"drift": -1.1
}
}
},
"driftScale": 1.1
}