[PLUGIN] Advisor and news newspaper

Discuss modding and share your mods with the community in this forum.
Post Reply
wandemor
Posts: 1
Joined: Wed Oct 28, 2026 7:36 am

[PLUGIN] Advisor and news newspaper

Post by wandemor »

Advisor — AI Analytics Department and a business newspaper[/size]
For Capitalism Lab 12.0.92 · English and Russian · any LLM over an API, or a built-in analyst that works offline

Tired of guessing why a store is losing money and what to build next? Hire an Analytics Department. It reads the real numbers of your game and explains what is going on and what to do. Once a year "The Business Herald" comes out: who built what, who bought whom, and what the cities are short of.


Features
  • The department is hired by an order through headquarters: small, medium or large team, with a salary. The bigger the team, the more it sees: your firms → competitors and shortages → "white spots" and a forecast.
  • Chat in an in-game panel (the game keeps running). The Review, Prices, Competitors and Opportunities buttons insert a template you can refine: "…especially prospects in beef".
  • Concrete product advice: what to make cheaper, what to raise and by how many percent, where to restock, where to change the supplier.
  • What to produce: the factory recipe, who supplies each raw material and where, whether there is enough, cost vs selling price. Plus semi-finished goods in short supply: steel, fabric, flour, engines.
  • Causes of losses for every firm, competitor threats, "white spots", housing shortages.
  • Built-in analyst: no internet or no key — the same calculations are shown as tables.
  • "The Business Herald" every January 1 (HTML with an archive), with sections picked by checkboxes.
  • Memory: standing instructions for the advisor, chat history, checking past advice.
  • DeepSeek, OpenRouter, Google Gemini, Anthropic Claude, LM Studio, Ollama — any OpenAI-compatible API.

Installation
  1. Close the game.
  2. Unpack the archive and run install.bat.
  3. Choose the language. A Steam install of the game is found automatically.
  4. Optionally pick a provider and enter an API key. You can skip this: the built-in analyst works without it.
  5. In the game, build headquarters, open the Analytics Department tile (Ctrl+F9) and go to the Department tab.
To remove the mod, run uninstall.bat: it restores the original game files. The mod does not change CapMain.exe. A detailed guide is included (GUIDE_EN.md).
07_dock_buttons.png
07_dock_buttons.png (12.23 KiB) Viewed 10 times


Good to know
  • The mod installs a plugin loader in place of swscale-8.dll (the original is kept as swsorig.dll). If a Steam update restores the file, run install.bat again.
  • Only your game's numbers and your questions are sent to the AI provider. The key is stored in ADVISOR\advisor.ini, so don't share that file.
  • The panel screenshots are drawn by the mod itself using sample data. The English newspaper screenshot is the built-in template issue, made without the AI.



Feedback and bug reports are welcome. If something doesn't work, attach ADVISOR\advisor.log (without your API key!).
Attachments
Advisor_1.4.zip
(1.23 MiB) Downloaded 1 time
06_newspaper_issue.png
06_newspaper_issue.png (281.56 KiB) Viewed 10 times
03_what_to_produce.png
03_what_to_produce.png (128.44 KiB) Viewed 10 times
Post Reply