This commit is contained in:
2025-06-08 13:44:19 +09:00
parent e6cc5f9a69
commit 00a5814013

View File

@@ -1724,7 +1724,24 @@ if settings.startup['PHI-CT'].value then
end
if settings.startup['PHI-CT-TILE'].value then
data.raw['map-gen-presets']['default']['empty-world'] = {order = 'zz', basic_settings = {default_enable_all_autoplace_controls = false, autoplace_settings = {treat_missing_as_default = false, settings = {tile = {[settings.startup['PHI-CT-TILE-CHOICE'].value] = {frequency = 1.0, size = 1.0, richness = 1.0}}}}}}
data.raw['map-gen-presets']['default']['empty-world'] = {
order = 'zz',
basic_settings = {
default_enable_all_autoplace_controls = false,
autoplace_settings = {
tile = {
treat_missing_as_default = false,
[settings.startup['PHI-CT-TILE-CHOICE'].value] = {frequency = 1.0, size = 1.0, richness = 1.0}
},
entity = {
treat_missing_as_default = false
},
decorative = {
treat_missing_as_default = false
}
}
}
}
end
end