Jump to content

Biomes update needed?

Closed 3.0.5

Samael777
Samael777

Posted

Please let me know if this parameter in the config "Allow Raid Bases In Biomes" needs to be updated from the plugin side, or I can just add "Jungle".

nivex

Posted

heya, the plugin will have this in the next update

all you would do is search for ManagementBiomeSettings and add the 3 new lines.

        public class ManagementBiomeSettings
        {
            [JsonProperty(PropertyName = en ? "Arctic" : "Arctic")]
            public bool Arctic = true;

            [JsonProperty(PropertyName = en ? "Arid" : "Arid")]
            public bool Arid = true;

            [JsonProperty(PropertyName = en ? "Temperate" : "Temperate")]
            public bool Temperate = true;

            [JsonProperty(PropertyName = en ? "Tundra" : "Tundra")]
            public bool Tundra = true;

            [JsonProperty(PropertyName = en ? "Jungle" : "Jungle")]
            public bool Jungle = true;

            public bool IsBiomeEnabled(Vector3 a) => (TerrainBiome.Enum)(TerrainMeta.BiomeMap?.GetBiomeMaxType(a) ?? -1) switch
            {
                TerrainBiome.Enum.Arctic => Arctic,
                TerrainBiome.Enum.Arid => Arid,
                TerrainBiome.Enum.Temperate => Temperate,
                TerrainBiome.Enum.Tundra => Tundra,
                TerrainBiome.Enum.Jungle => Jungle,
                _ => true
            };
        }

 

  • Like 1
nivex

Posted

Changed Status from Pending to Closed

1.8m

Downloads

Total number of downloads.

8.3k

Customers

Total customers served.

126k

Files Sold

Total number of files sold.

2.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.