Search found 5 matches
- Wed Sep 09, 2026 2:04 pm
- Forum: Ideas and Suggestions
- Topic: Improve minimally the mod management portal
- Replies: 3
- Views: 397
Re: Improve minimally the mod management portal
Planetary Pioneers was originally created prior to 2.1. You probably are running experimental, and expecting the mod pack to work in that version, which it cannot (yet).
- Mon Jul 06, 2026 2:12 pm
- Forum: Modding help
- Topic: LUA warnings on older mods
- Replies: 2
- Views: 330
Re: LUA warnings on older mods
Fantastic detail and explanation! Thank you very much!
- Mon Jul 06, 2026 1:49 pm
- Forum: Modding help
- Topic: LUA warnings on older mods
- Replies: 2
- Views: 330
LUA warnings on older mods
I'm working to update older mods for 2.1, and have found a number of instances of warnings in luacheck like:
mutating non-standard global variable data
accessing undefined variable data
In both cases, the relevant lines look like:
data.raw["cargo-pod"]["cargo-pod"].created_effect = {
...
data ...
mutating non-standard global variable data
accessing undefined variable data
In both cases, the relevant lines look like:
data.raw["cargo-pod"]["cargo-pod"].created_effect = {
...
data ...
- Tue Jul 29, 2025 3:52 am
- Forum: Modding help
- Topic: Help with autoplacing resources / updating an old mod
- Replies: 5
- Views: 1845
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 ...
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 ...
- Mon Jul 28, 2025 12:03 pm
- Forum: Modding help
- Topic: Help with autoplacing resources / updating an old mod
- Replies: 5
- Views: 1845
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 ...
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 ...