Developer builds Claude-assisted Valheim city-builder mod
AI summary
A Valheim mod creator reported on r/ClaudeAI that Claude wrote most of the C# code for Valheim City Builder, including BepInEx and Harmony patches, settler AI, an economy, and self-building houses. The creator also said Claude controlled the game through a remote command file, diagnosed two bugs, and produced an in-game benchmark showing that merging finished houses for rendering raised frame rates from 36 to 56. The creator claimed the free mod reached No. 1 on r/valheim.
In-depth insight
The report presents a substantive, technically detailed example of Claude assisting with game modding, debugging, autonomous iteration, and performance testing, though the evidence comes from a single creator’s account.
| press F7 and valheim turns into a city builder. vikings move in, pay taxes, want food and mead and leave if they dont get it. bosses live in camps and you storm them with your own army, every boss starts a new age with its own building style how claude helped: - wrote most of the c# code (bepinex + harmony patches into valheims own systems, settler AI, economy, houses that build themselves piece by piece out of real valheim building parts) - it could control the game through a little remote command file, so it built a town, took screenshots, checked if stuff looked right and fixed it itself - debugging: when a tester reported bosses chasing players into town and scouts getting stuck, claude found the causes and fixed both in one go - performance: it wrote an in-game benchmark, measured fps with 10 to 150 houses and found that merging finished houses for rendering gave the biggest boost (36 to 56 fps) - i did the design, testing and kept pushing it its completely free: nexus: https://www.nexusmods.com/valheim/mods/4613 thunderstore: https://thunderstore.io/c/valheim/p/RustyProductions/ValheimCityBuilder/ submitted by /u/Any-Explanation3814 [link] [comments] |