I built a mod with Claude that turns Valheim into a city builder. It hit #1 on r/valheim
retained text
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](https://www.nexusmods.com/valheim/mods/4613) thunderstore: [https://thunderstore.io/c/valheim/p/RustyProductions/ValheimCityBuilder/](https://thunderstore.io/c/valheim/p/RustyProductions/ValheimCityBuilder/)
document fetched 2026-10-27 00:22 · canonical https://reddit.com/r/ClaudeAI/comments/1xg1mov/i_built_a_mod_with_claude_that_turns_valheim_into