Search found 2 matches

by thekabal
Tue Jul 29, 2025 3:52 am
Forum: Modding help
Topic: Help with autoplacing resources / updating an old mod
Replies: 2
Views: 172

Re: Help with autoplacing resources / updating an old mod

This solved it for me!

I added:
local resource_autoplace = require("resource-autoplace")
data.raw.planet.nauvis.map_gen_settings.autoplace_controls["geothermal-vent"] = {}
data.raw.planet.nauvis.map_gen_settings.autoplace_settings.entity.settings["geothermal-vent"] = {}
To the top of the ...
by thekabal
Mon Jul 28, 2025 12:03 pm
Forum: Modding help
Topic: Help with autoplacing resources / updating an old mod
Replies: 2
Views: 172

Help with autoplacing resources / updating an old mod

To create my first mod, I've chosen to update/migrate an existing (older) mod from 1.1 to 2.0: https://mods.factorio.com/mod/geothermalpower-yalda

I've managed to update the code to "run", but the resources (geothermal vents) do not place during a new game map gen, and does not show in preview.

I ...

Go to advanced search