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

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

全站通知:

模块:Data/Worldgen/Traits

来自缺氧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 {
    ["BouldersLarge.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.BOULDERS_LARGE.NAME",
        description = "STRINGS.WORLD_TRAITS.BOULDERS_LARGE.DESCRIPTION",
        colorHex = "BDBDBD",
        exclusiveWith = {
            "traits/BouldersMixed",
        },
        traitTags = {
            "LargeWorld",
            "Geodes",
        },
        globalFeatureMods = {
            ["features/traits/BoulderLarge"] = 5,
        },
    },
    ["BouldersMedium.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.BOULDERS_MEDIUM.NAME",
        description = "STRINGS.WORLD_TRAITS.BOULDERS_MEDIUM.DESCRIPTION",
        colorHex = "BDBDBD",
        exclusiveWith = {
            "traits/BouldersLarge",
            "AllowExceedNodeBorders",
        },
        traitTags = {
            "Geodes",
        },
        globalFeatureMods = {
            ["features/traits/BoulderMedium"] = 10,
        },
    },
    ["BouldersMixed.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.BOULDERS_MIXED.NAME",
        description = "STRINGS.WORLD_TRAITS.BOULDERS_MIXED.DESCRIPTION",
        colorHex = "BDBDBD",
        exclusiveWith = {
            "traits/BouldersSmall",
        },
        traitTags = {
            "Geodes",
        },
        globalFeatureMods = {
            ["features/traits/BoulderSmall"] = 10,
            ["features/traits/BoulderMedium"] = 5,
            ["features/traits/BoulderLarge"] = 2,
        },
    },
    ["BouldersSmall.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.BOULDERS_SMALL.NAME",
        description = "STRINGS.WORLD_TRAITS.BOULDERS_SMALL.DESCRIPTION",
        colorHex = "BDBDBD",
        exclusiveWith = {
            "traits/BouldersMedium",
        },
        traitTags = {
            "Geodes",
        },
        globalFeatureMods = {
            ["features/traits/BoulderSmall"] = 20,
        },
    },
    ["DeepOil.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.DEEP_OIL.NAME",
        description = "STRINGS.WORLD_TRAITS.DEEP_OIL.DESCRIPTION",
        colorHex = "6C6C6C",
        traitTags = {
            "AboveCore",
            "Oil",
        },
        additionalSubworldFiles = {
            {
                name = "subworlds/oil/OilPatchDouble",
                weight = 2,
            },
            {
                name = "subworlds/oil/OilDry",
            },
        },
        additionalUnknownCellFilters = {
            {
                tagcommand = "DistanceFromTag",
                tag = "AtDepths",
                minDistance = 1,
                maxDistance = 1,
                command = "Replace",
                subworldNames = {
                    "subworlds/oil/OilPatchDouble",
                    "subworlds/oil/OilDry",
                },
            },
        },
    },
    ["FrozenCore.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.FROZEN_CORE.NAME",
        description = "STRINGS.WORLD_TRAITS.FROZEN_CORE.DESCRIPTION",
        colorHex = "91D8F0",
        exclusiveWithTags = {
            "CoreTrait",
        },
        traitTags = {
            "Core",
            "VeryCold",
        },
        additionalSubworldFiles = {
            {
                name = "subworlds/frozen/FrozenSolid",
                minCount = 2,
            },
        },
        additionalUnknownCellFilters = {
            {
                tagcommand = "DistanceFromTag",
                tag = "AtDepths",
                minDistance = 0,
                maxDistance = 0,
                command = "Replace",
                subworldNames = {
                    "subworlds/frozen/FrozenSolid",
                },
            },
        },
    },
    ["GeoActive.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.GEOACTIVE.NAME",
        description = "STRINGS.WORLD_TRAITS.GEOACTIVE.DESCRIPTION",
        colorHex = "F8A22E",
        exclusiveWith = {
            "traits/GeoDormant",
        },
        traitTags = {
            "Geysers",
            "GenericGeysers",
        },
        additionalWorldTemplateRules = {
            {
                names = {
                    "geysers/generic",
                },
                listRule = "TryOne",
                times = 4,
                ruleId = "GenericGeysers",
                allowDuplicates = true,
                allowedCellsFilter = {
                    {
                        command = "Replace",
                        tagcommand = "NotAtTag",
                        tag = "NoGlobalFeatureSpawning",
                    },
                },
            },
        },
    },
    ["Geodes.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.GEODES.NAME",
        description = "STRINGS.WORLD_TRAITS.GEODES.DESCRIPTION",
        colorHex = "D077FB",
        traitTags = {
            "Geodes",
        },
        globalFeatureMods = {
            ["features/traits/Geode"] = 10,
        },
    },
    ["GeoDormant.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.GEODORMANT.NAME",
        description = "STRINGS.WORLD_TRAITS.GEODORMANT.DESCRIPTION",
        colorHex = "8494A1",
        exclusiveWith = {
            "traits/GeoActive",
        },
        traitTags = {
            "Geysers",
            "GenericGeysers",
        },
        removeWorldTemplateRulesById = {
            "GenericGeysers",
        },
        additionalWorldTemplateRules = {
            {
                names = {
                    "geysers/generic",
                },
                listRule = "TryOne",
                times = 9,
                ruleId = "GenericGeysers",
                allowDuplicates = true,
                allowedCellsFilter = {
                    {
                        command = "Replace",
                        tagcommand = "NotAtTag",
                        tag = "NoGlobalFeatureSpawning",
                    },
                },
            },
        },
    },
    ["GlaciersLarge.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.GLACIERS_LARGE.NAME",
        description = "STRINGS.WORLD_TRAITS.GLACIERS_LARGE.DESCRIPTION",
        colorHex = "91D8F0",
        traitTags = {
            "LargeWorld",
            "VeryCold",
        },
        globalFeatureMods = {
            ["features/traits/GlacierLarge"] = 5,
        },
    },
    ["IrregularOil.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.IRREGULAR_OIL.NAME",
        description = "STRINGS.WORLD_TRAITS.IRREGULAR_OIL.DESCRIPTION",
        colorHex = "6C6C6C",
        forbiddenDLCIds = {
            "EXPANSION1_ID",
        },
        traitTags = {
            "AboveCore",
            "Oil",
        },
        additionalSubworldFiles = {
            {
                name = "subworlds/oil/OilPockets",
            },
            {
                name = "subworlds/oil/OilPatch",
            },
            {
                name = "subworlds/oil/OilDry",
            },
        },
        additionalUnknownCellFilters = {
            {
                tagcommand = "DistanceFromTag",
                tag = "AtStart",
                minDistance = 4,
                maxDistance = 999,
                command = "UnionWith",
                subworldNames = {
                    "subworlds/oil/OilPatch",
                },
            },
            {
                tagcommand = "DistanceFromTag",
                tag = "AtSurface",
                minDistance = 0,
                maxDistance = 1,
                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",
                },
            },
        },
    },
    ["MagmaVents.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.MAGMA_VENTS.NAME",
        description = "STRINGS.WORLD_TRAITS.MAGMA_VENTS.DESCRIPTION",
        colorHex = "FA4545",
        traitTags = {
            "VeryHot",
            "AboveCore",
            "Challenge",
        },
        additionalSubworldFiles = {
            {
                name = "subworlds/magma/MagmaVent",
                minCount = 2,
            },
        },
        additionalUnknownCellFilters = {
            {
                tagcommand = "DistanceFromTag",
                tag = "AtDepths",
                minDistance = 1,
                maxDistance = 2,
                command = "UnionWith",
                subworldNames = {
                    "subworlds/magma/MagmaVent",
                },
            },
            {
                tagcommand = "DistanceFromTag",
                tag = "AtStart",
                minDistance = 0,
                maxDistance = 1,
                command = "ExceptWith",
                ignoreIfMissingTag = true,
                subworldNames = {
                    "subworlds/magma/MagmaVent",
                },
            },
            {
                tagcommand = "DistanceFromTag",
                tag = "AtSurface",
                minDistance = 0,
                maxDistance = 4,
                command = "ExceptWith",
                subworldNames = {
                    "subworlds/magma/MagmaVent",
                },
            },
        },
    },
    ["MetalPoor.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.METAL_POOR.NAME",
        description = "STRINGS.WORLD_TRAITS.METAL_POOR.DESCRIPTION",
        colorHex = "8494A1",
        exclusiveWith = {
            "traits/MetalRich",
        },
        traitTags = {
            "Metal",
        },
        elementBandModifiers = {
            {
                element = "Cuprite",
                massMultiplier = 0.8,
                bandMultiplier = 0.8,
            },
            {
                element = "IronOre",
                massMultiplier = 0.8,
                bandMultiplier = 0.8,
            },
            {
                element = "Wolframite",
                massMultiplier = 0.8,
                bandMultiplier = 0.8,
            },
            {
                element = "AluminumOre",
                massMultiplier = 0.8,
                bandMultiplier = 0.8,
            },
            {
                element = "GoldAmalgam",
                massMultiplier = 0.8,
                bandMultiplier = 0.8,
            },
            {
                element = "Cobaltite",
                massMultiplier = 0.8,
                bandMultiplier = 0.8,
            },
            {
                element = "Cinnabar",
                massMultiplier = 0.8,
                bandMultiplier = 0.8,
            },
        },
    },
    ["MetalRich.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.METAL_RICH.NAME",
        description = "STRINGS.WORLD_TRAITS.METAL_RICH.DESCRIPTION",
        colorHex = "DAA932",
        exclusiveWith = {
            "traits/MetalPoor",
        },
        traitTags = {
            "Metal",
        },
        elementBandModifiers = {
            {
                element = "Cuprite",
                massMultiplier = 2,
                bandMultiplier = 1.5,
            },
            {
                element = "IronOre",
                massMultiplier = 2,
                bandMultiplier = 1.5,
            },
            {
                element = "Wolframite",
                massMultiplier = 2,
                bandMultiplier = 1.5,
            },
            {
                element = "AluminumOre",
                massMultiplier = 2,
                bandMultiplier = 1.5,
            },
            {
                element = "GoldAmalgam",
                massMultiplier = 2,
                bandMultiplier = 1.5,
            },
            {
                element = "Cobaltite",
                massMultiplier = 2,
                bandMultiplier = 1.5,
            },
            {
                element = "Cinnabar",
                massMultiplier = 2,
                bandMultiplier = 1.5,
            },
        },
    },
    ["MisalignedStart.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.MISALIGNED_START.NAME",
        description = "STRINGS.WORLD_TRAITS.MISALIGNED_START.DESCRIPTION",
        colorHex = "E9DC96",
        traitTags = {
            "StartChange",
            "StartWorldOnly",
        },
        startingBasePositionHorizontalMod = {
            min = "-.2",
            max = 0.2,
        },
        startingBasePositionVerticalMod = {
            min = "-.1",
            max = 0.1,
        },
    },
    ["SlimeSplats.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.SLIME_SPLATS.NAME",
        description = "STRINGS.WORLD_TRAITS.SLIME_SPLATS.DESCRIPTION",
        colorHex = "83B520",
        traitTags = {
            "Germs",
        },
        globalFeatureMods = {
            ["features/traits/SlimeSplat"] = 30,
        },
    },
    ["SubsurfaceOcean.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.SUBSURFACE_OCEAN.NAME",
        description = "STRINGS.WORLD_TRAITS.SUBSURFACE_OCEAN.DESCRIPTION",
        colorHex = "12D1F4",
        forbiddenDLCIds = {
            "EXPANSION1_ID",
        },
        exclusiveWithTags = {
            "SurfaceTrait",
        },
        traitTags = {
            "Surface",
            "Wet",
        },
        additionalSubworldFiles = {
            {
                name = "subworlds/ocean/OceanDeep",
                minCount = 2,
            },
        },
        additionalUnknownCellFilters = {
            {
                tagcommand = "DistanceFromTag",
                tag = "AtSurface",
                minDistance = 2,
                maxDistance = 2,
                command = "Replace",
                subworldNames = {
                    "subworlds/ocean/OceanDeep",
                },
            },
        },
    },
    ["Volcanoes.yaml"] = {
        name = "STRINGS.WORLD_TRAITS.VOLCANOES.NAME",
        description = "STRINGS.WORLD_TRAITS.VOLCANOES.DESCRIPTION",
        colorHex = "FA4545",
        forbiddenDLCIds = {
            "EXPANSION1_ID",
        },
        traitTags = {
            "VeryHot",
            "Challenge",
        },
        additionalSubworldFiles = {
            {
                name = "subworlds/magma/VolcanoBiome",
            },
        },
        additionalUnknownCellFilters = {
            {
                tagcommand = "DistanceFromTag",
                tag = "AtStart",
                minDistance = 3,
                maxDistance = 999,
                command = "UnionWith",
                subworldNames = {
                    "subworlds/magma/VolcanoBiome",
                },
            },
            {
                tagcommand = "DistanceFromTag",
                tag = "AtSurface",
                minDistance = 0,
                maxDistance = 1,
                command = "ExceptWith",
                subworldNames = {
                    "subworlds/magma/VolcanoBiome",
                },
            },
            {
                tagcommand = "DistanceFromTag",
                tag = "AtDepths",
                minDistance = 0,
                maxDistance = 1,
                command = "ExceptWith",
                subworldNames = {
                    "subworlds/magma/VolcanoBiome",
                },
            },
        },
        additionalWorldTemplateRules = {
            {
                names = {
                    "geysers/volcanohole",
                },
                listRule = "TryOne",
                times = 8,
                allowDuplicates = true,
                allowExtremeTemperatureOverlap = true,
                allowedCellsFilter = {
                    {
                        command = "Replace",
                        subworldNames = {
                            "subworlds/magma/VolcanoBiome",
                        },
                    },
                },
            },
        },
    },
}