天工筹衡:大型工程AI开启倾向修正 – Heavenly Works: Great Project AI Start Tendency Fix
Celestial court officials now behave more like a bureaucracy weighing state priorities, rather than passively waiting for vanilla random cycles.
This mod adds an independent yearly Great Project start-tendency system for the Chinese Celestial government. It does not directly change which office can start which project, and it does not bypass vanilla permissions, target selection, location restrictions, or blocking rules. A courtier must still pass vanilla can_plan_great_project checks before this mod’s chance roll matters.
When the player’s primary title is h_china, the mod runs a custom Great Project cycle once per year on a fixed date.
For the current vanilla Celestial Great Projects, the cycle checks the holders of the nine Celestial court offices: Chancellor, Censor, Grand Marshal, and the Six Ministers. Each AI courtier rolls independently for every project they can legally start. The mod does not draw a single exclusive candidate first.
In broad terms, the process is:
- Check that the courtier is AI-controlled.
- Check vanilla can_plan_great_project for that project.
- If allowed, calculate the yearly start chance from universal and project-specific tendencies.
- If the chance succeeds, call the corresponding planning and target-selection logic.
- Only a successfully planned project counts toward the annual start cap.
This means vanilla restrictions still matter. Sinicize Region, Establish Control, Conduct Census, Grand Campaign Project, and other projects can still be blocked by valid targets, current projects, phase limits, location legality, and other vanilla conditions. This mod mainly changes whether courtiers want to start projects; it does not force illegal projects to start.
To match the vanilla stable-advancement design where cultural and religious projects can be started in parallel, this mod removes the AI-only two-project hard cap from Sinicize Region and Compel Religious Uniformity. Other target, location, and non-stable-phase restrictions remain intact. Vanilla same-type or same-location limits for Strengthen Capital, Grand Canals, Grand Campaign Project, Great Wall, Develop Community, Establish Control, Military Action Exercises, Conduct Census, and Construct Great Barracks are not further relaxed.
Treasury and available funds
Money is one of the strongest universal factors. Very poor funding strongly suppresses project starts, while comfortable funding encourages a more active court.
Same-type project load
If too many projects of the same type are already planned or in progress, that project type becomes less attractive. Heavy stacking is strongly discouraged to avoid endless duplication.
Personality
Diligent, Ambitious, Patient, and Generous courtiers tend to be more willing to start projects. Lazy, Greedy, Content, Impatient, and Fickle courtiers tend to be more reluctant. Negative personality effects are intentionally noticeable so not every official behaves like an eager builder.
Courtier’s own movement
A courtier’s movement affects which kinds of projects they favor. Advancement Movement leans toward governance, development, control, census, construction, and Sinicization. Expansion Movement leans toward military, Great Wall, and frontier projects. Pro-Hegemon Movement is generally friendly toward stable-phase priorities. Conservative Movement is more reluctant overall.
Grand Marshal strength and Grand Campaign Project
Grand Campaign Project strongly depends on the Grand Marshal’s current military strength. Weak military strength heavily suppresses frontier campaigns; stronger military strength gradually makes them more attractive. Brave, Craven, Wrathful, Calm, martial education, military lifestyle traits, and the top participant group also matter.
Grand Marshal strength is a tendency factor, not an extra eligibility gate; whether the project can actually start still follows vanilla can_plan_great_project and later planning logic.
Project-role fit
Skills and education affect the project categories that fit them. Stewardship supports civil engineering, development, and census work. Martial supports military, Great Wall, and frontier projects. Diplomacy, Learning, cultural alignment, and faith alignment matter more for Sinicization and Compel Religious Uniformity.
Budget preferences and allocations
Courtier preference or benefit from Ministry Budget, Salary Budget, and Military Budget can adjust tendencies. These factors are supportive rather than decisive.
Small First Minister bonus
The First Minister receives a small all-project boost, but is not turned into an overwhelmingly dominant universal starter.
Culture and faith alignment
Sinicize Region and Compel Religious Uniformity consider whether the courtier shares culture, heritage, or faith with the Huangdi. Zealous helps these directions; Cynical works against them.
Governor, Confucian Education, Mystic, Pilgrim, and lifestyle traits
These traits act as small to medium modifiers, making officials with relevant experience slightly more suitable for governance, culture, religion, or military projects.
Low development, low control, and war state
Low development and low control make the corresponding governance projects more attractive. A courtier personally being at war can reduce interest in some military project decisions.
This mod tries not to own project permissions directly. If a future CK3 update allows a new Celestial office to start a vanilla project, this mod’s yearly iteration should generally follow as long as vanilla can_plan_great_project allows it.
The custom yearly cycle and project-specific tendencies only cover the known vanilla Celestial Great Projects in the current supported version. Other third-party Great Projects outside this supported set are not affected by this mod; they will follow their original cycle and chance, whether that comes from vanilla behavior or from the other mod author’s own implementation.
If you feel the AI starts too many projects, too few projects, or favors the wrong categories, you can tune the factors yourself in the mod folder. The included Chinese and English Excel workbooks document the factor categories, descriptions, and probability model so you can adjust the balance to your taste.
The workshop images also include a Monte Carlo-style pseudo-random probability chart based on the current Excel assumptions. It visualizes each project’s first-trigger at-least-one-start distribution. It is meant to explain the tuning structure, not to represent a full in-game observed start rate.
A successful chance roll is not a guarantee that the project will start. Vanilla target selection, phase limits, location legality, existing projects, and other blockers may still prevent planning. Only projects actually planned count toward the annual cap.
Supported version: 1.19.*
