mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -593,16 +593,16 @@ if settings.startup['PHI-SA'].value then
|
|||||||
|
|
||||||
local gleba_tile = {}
|
local gleba_tile = {}
|
||||||
|
|
||||||
for _, v in pairs(items['space-age']['gleba_tile']) do
|
for k, _ in pairs(items['space-age']['gleba_tile']) do
|
||||||
if data.raw.tile[v] then
|
if data.raw.tile[k] then
|
||||||
data.raw.planet['nauvis'].map_gen_settings.autoplace_settings.tile.settings[v] = {}
|
data.raw.planet['nauvis'].map_gen_settings.autoplace_settings.tile.settings[k] = {}
|
||||||
table.insert(gleba_tile, v)
|
table.insert(gleba_tile, k)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
for _, v in pairs(items['space-age']['gleba_tree']) do
|
for k, _ in pairs(items['space-age']['gleba_tree']) do
|
||||||
if data.raw.tree[v] then
|
if data.raw.tree[k] then
|
||||||
data.raw.tree[v].autoplace['tile_restriction'] = gleba_tile
|
data.raw.tree[k].autoplace['tile_restriction'] = gleba_tile
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "PHI-CL",
|
"name": "PHI-CL",
|
||||||
"version": "3.0.34",
|
"version": "3.0.35",
|
||||||
"factorio_version": "2.0",
|
"factorio_version": "2.0",
|
||||||
"date": "2024-11-22",
|
"date": "2024-11-23",
|
||||||
"title": "Phidias Collection",
|
"title": "Phidias Collection",
|
||||||
"author": "PHIDIAS0303",
|
"author": "PHIDIAS0303",
|
||||||
"contributers": "",
|
"contributers": "",
|
||||||
|
|||||||
Reference in New Issue
Block a user