缺氧 wiki 编辑团队提示:注册账号并登录后体验更佳,且可通过参数设置定制优化您的浏览体验!

该站点为镜像站点,如果你想帮助这个由玩家志愿编辑的 wiki 站点,请前往原站点参与编辑,
同时欢迎加入编辑讨论群 851803695 与其他编辑者一起参与建设!

全站通知:

模块:Data/Worldgen/Traits/Expansion1

来自缺氧WIKI_BWIKI_哔哩哔哩
跳到导航 跳到搜索
Copyright.svg
授权信息

该文件来自缺氧或其开发商科雷娱乐创建的网站。该文件中出现的所有商标和注册商标均归属于科雷娱乐。详情请见版权信息。该文件被认为在本wiki上合理使用

This image comes from Oxygen Not Included or from websites created and owned by Klei Entertainment, who hold the copyright of Oxygen Not Included. All trademarks and registered trademarks present in the image are proprietary to Klei Entertainment. For more information, see the copyright notice.
The use of images to illustrate articles concerning the subject of the images in question is believed to qualify as fair use under United States copyright law, as such display does not significantly impede the right of the copyright holder to sell the copyrighted material.

return {
    ["CrashedSatellites.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.CRASHED_SATELLITES.NAME",
        description = "STRINGS.WORLD_TRAITS.CRASHED_SATELLITES.DESCRIPTION",
        colorHex = "5CD64C",
        traitTags = {
            "Radiation",
        },
        additionalWorldTemplateRules = {
            {
                names = {
                    "expansion1::poi/traits/crashed_satellite1",
                    "expansion1::poi/traits/crashed_satellite2",
                    "expansion1::poi/traits/crashed_satellite3",
                    "expansion1::poi/traits/crashed_satellite4",
                },
                listRule = "GuaranteeSomeTryMore",
                useRelaxedFiltering = true,
                allowExtremeTemperatureOverlap = true,
                someCount = 1,
                moreCount = 2,
                allowedCellsFilter = {
                    {
                        command = "Replace",
                        tagcommand = "DistanceFromTag",
                        tag = "AtSurface",
                        minDistance = 0,
                        maxDistance = 3,
                    },
                    {
                        command = "ExceptWith",
                        tagcommand = "AtTag",
                        tag = "NoGlobalFeatureSpawning",
                    },
                },
            },
        },
    },
    ["DistressSignal.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.DISTRESS_SIGNAL.NAME",
        description = "STRINGS.WORLD_TRAITS.DISTRESS_SIGNAL.DESCRIPTION",
        colorHex = "8494A1",
        traitTags = {
            "NonStartWorld",
        },
        additionalWorldTemplateRules = {
            {
                names = {
                    "expansion1::poi/traits/cryopod1",
                    "expansion1::poi/traits/cryopod2",
                    "expansion1::poi/traits/cryopod3",
                },
                listRule = "GuaranteeOne",
                allowExtremeTemperatureOverlap = true,
                allowedCellsFilter = {
                    {
                        command = "Replace",
                        tagcommand = "NotAtTag",
                        tag = "NoGlobalFeatureSpawning",
                    },
                    {
                        command = "ExceptWith",
                        temperatureRanges = {
                            "VeryHot",
                            "ExtremelyHot",
                        },
                    },
                },
            },
        },
    },
    ["IrregularOil.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.IRREGULAR_OIL.NAME",
        description = "STRINGS.WORLD_TRAITS.IRREGULAR_OIL.DESCRIPTION",
        colorHex = "6C6C6C",
        traitTags = {
            "AboveCore",
            "Oil",
        },
        additionalSubworldFiles = {
            {
                name = "subworlds/oil/OilPockets",
            },
            {
                name = "subworlds/oil/OilPatch",
            },
            {
                name = "subworlds/oil/OilDry",
            },
        },
        additionalUnknownCellFilters = {
            {
                tagcommand = "DistanceFromTag",
                tag = "AtSurface",
                minDistance = 3,
                maxDistance = 999,
                command = "UnionWith",
                subworldNames = {
                    "subworlds/oil/OilPatch",
                },
            },
            {
                tagcommand = "DistanceFromTag",
                tag = "AtStart",
                minDistance = 0,
                maxDistance = 1,
                ignoreIfMissingTag = true,
                command = "ExceptWith",
                subworldNames = {
                    "subworlds/oil/OilPatch",
                },
            },
            {
                tagcommand = "DistanceFromTag",
                tag = "AtDepths",
                minDistance = 0,
                maxDistance = 1,
                command = "ExceptWith",
                subworldNames = {
                    "subworlds/oil/OilPatch",
                },
            },
            {
                tagcommand = "DistanceFromTag",
                tag = "AtDepths",
                minDistance = 1,
                maxDistance = 1,
                command = "Replace",
                subworldNames = {
                    "subworlds/oil/OilPockets",
                    "subworlds/oil/OilDry",
                },
            },
        },
    },
    ["LushCore.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.LUSH_CORE.NAME",
        description = "STRINGS.WORLD_TRAITS.LUSH_CORE.DESCRIPTION",
        colorHex = "52A247",
        exclusiveWithTags = {
            "CoreTrait",
        },
        traitTags = {
            "Core",
            "Easy",
            "NonStartWorld",
        },
        additionalSubworldFiles = {
            {
                name = "expansion1::subworlds/forest/ForestCore",
                minCount = 2,
            },
        },
        additionalUnknownCellFilters = {
            {
                tagcommand = "DistanceFromTag",
                tag = "AtDepths",
                minDistance = 0,
                maxDistance = 0,
                command = "Replace",
                subworldNames = {
                    "expansion1::subworlds/forest/ForestCore",
                },
            },
        },
    },
    ["MetalCaves.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.METAL_CAVES.NAME",
        description = "STRINGS.WORLD_TRAITS.METAL_CAVES.DESCRIPTION",
        colorHex = "DAA932",
        traitTags = {
            "Metal",
        },
        globalFeatureMods = {
            ["expansion1::features/traits/MetalCavesSmall"] = 12,
        },
    },
    ["RadioactiveCrust.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.RADIOACTIVE_CRUST.NAME",
        description = "STRINGS.WORLD_TRAITS.RADIOACTIVE_CRUST.DESCRIPTION",
        colorHex = "5CD64C",
        exclusiveWithTags = {
            "CrustTrait",
        },
        traitTags = {
            "Crust",
            "NonStartWorld",
            "Radiation",
        },
        additionalSubworldFiles = {
            {
                name = "expansion1::subworlds/space/SpaceWithRadioactiveBorder",
            },
        },
        additionalUnknownCellFilters = {
            {
                tagcommand = "DistanceFromTag",
                tag = "AtSurface",
                minDistance = 1,
                maxDistance = 1,
                command = "Replace",
                subworldNames = {
                    "expansion1::subworlds/space/SpaceWithRadioactiveBorder",
                },
            },
        },
    },
    ["SubsurfaceOcean.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.SUBSURFACE_OCEAN.NAME",
        description = "STRINGS.WORLD_TRAITS.SUBSURFACE_OCEAN.DESCRIPTION",
        colorHex = "12D1F4",
        exclusiveWithTags = {
            "SurfaceTrait",
        },
        traitTags = {
            "Surface",
            "Wet",
        },
        additionalSubworldFiles = {
            {
                name = "expansion1::subworlds/ocean/med_OceanDeep",
                minCount = 2,
            },
        },
        additionalUnknownCellFilters = {
            {
                tagcommand = "DistanceFromTag",
                tag = "AtSurface",
                minDistance = 2,
                maxDistance = 2,
                command = "Replace",
                subworldNames = {
                    "expansion1::subworlds/ocean/med_OceanDeep",
                },
            },
        },
    },
    ["Volcanoes.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.VOLCANOES.NAME",
        description = "STRINGS.WORLD_TRAITS.VOLCANOES.DESCRIPTION",
        colorHex = "FA4545",
        traitTags = {
            "VeryHot",
            "Challenge",
        },
        additionalSubworldFiles = {
            {
                name = "expansion1::subworlds/magma/VolcanoBiome",
                minCount = 2,
            },
        },
        additionalUnknownCellFilters = {
            {
                tagcommand = "DistanceFromTag",
                tag = "AtSurface",
                minDistance = 3,
                maxDistance = 999,
                command = "UnionWith",
                subworldNames = {
                    "expansion1::subworlds/magma/VolcanoBiome",
                },
            },
            {
                tagcommand = "DistanceFromTag",
                tag = "AtStart",
                minDistance = 0,
                maxDistance = 1,
                command = "ExceptWith",
                ignoreIfMissingTag = true,
                subworldNames = {
                    "expansion1::subworlds/magma/VolcanoBiome",
                },
            },
            {
                tagcommand = "DistanceFromTag",
                tag = "AtDepths",
                minDistance = 0,
                maxDistance = 1,
                command = "ExceptWith",
                subworldNames = {
                    "expansion1::subworlds/magma/VolcanoBiome",
                },
            },
        },
        additionalWorldTemplateRules = {
            {
                names = {
                    "geysers/volcanohole",
                },
                listRule = "TryOne",
                times = 8,
                allowDuplicates = true,
                allowExtremeTemperatureOverlap = true,
                allowedCellsFilter = {
                    {
                        command = "Replace",
                        subworldNames = {
                            "expansion1::subworlds/magma/VolcanoBiome",
                        },
                    },
                },
            },
        },
    },
}