# specialmobs:silverfish/_family_of_silverfish.toml
# This config contains options that apply to the family of silverfish as a whole; that is, the vanilla replacement and
#   all special variants.


# Category: general
# Options standard to all mob families (that is, not specific to any particular mob family).

  # Whether this mob family replaces vanilla silverfish with its vanilla replacement species.
  # The "master_vanilla_replacement" setting in the mod's main config must also be true for this to work.
  # <Boolean> Valid Values: { true, false }, Default: true
  general.vanilla_replacement = true

  # When greater than 0, silverfish will have a random render scale applied. This is a visual effect only. If this is
  #   set to a non-negative value, it overrides the value set for "master_random_scaling", though species configs can
  #   override this value.
  # <Number> Range: -1.0 ~ 1.0, Default: -1.0
  general.family_random_scaling = -1.0

  # The chance for silverfish to spawn as special variants.
  # <Number> Range: 0.0 ~ 1.0, Default: 0.2
  general.special_variant_chance.base = 0.2
  # The chance for silverfish to spawn as special variants when specific environmental conditions are met.
  # <Environment List> Format: [ "value condition1 state1 & condition2 state2 & ...", ... ], Default: [ "0.1
  #   world_time < 120000", "0.4 moon_phase full & special_difficulty >= 0.5", "0.3 moon_phase full", "0.3
  #   special_difficulty >= 0.5" ]
  #    Range for Values: 0.0 ~ 1.0
  general.special_variant_chance.exceptions = [
    "0.1 world_time < 120000",
    "0.4 moon_phase full & special_difficulty >= 0.5",
    "0.3 moon_phase full",
    "0.3 special_difficulty >= 0.5"
  ]

  # The weight of each silverfish species to be chosen as the replacement when silverfish spawn as special variants.
  #   Higher weight is more common.
  # <Number> Range: ≥ 0.0
  general.weight.albino.base = 60.0
  general.weight.blinding.base = 60.0
  general.weight.desiccated.base = 60.0
  general.weight.fire.base = 15.0
  general.weight.fishing.base = 15.0
  general.weight.flying.base = 60.0
  general.weight.poison.base = 60.0
  general.weight.puffer.base = 15.0
  general.weight.tough.base = 15.0

  # The weight of each silverfish species to be chosen as the replacement when silverfish spawn as special variants
  #   when specific environmental conditions are met. Higher weight is more common.
  # <Number> Range: ≥ 0.0
  general.weight.albino.exceptions = [
    "7.5 dimension_property ultrawarm",
    "300.0 temp freezing",
    "15.0 temp >= 0.8",
    "7.5 temp > 1.0",
    "300.0 biome minecraft:deep_frozen_ocean",
    "150.0 biome minecraft:cold_ocean",
    "150.0 biome minecraft:deep_cold_ocean",
    "15.0 biome minecraft:lukewarm_ocean",
    "15.0 biome minecraft:deep_lukewarm_ocean",
    "7.5 biome minecraft:warm_ocean"
  ]
  general.weight.blinding.exceptions = [
    "300.0 biome_category taiga",
    "300.0 biome_category jungle",
    "300.0 biome_category forest",
    "300.0 biome minecraft:crimson_forest",
    "150.0 moon_phase full"
  ]
  general.weight.desiccated.exceptions = [
    "300.0 dimension_property ultrawarm",
    "300.0 dimension_property natural & rainfall = 0.0",
    "7.5",
    "7.5 rainfall > 0.85",
    "7.5 weather rain & position can_see_sky",
    "150.0 moon_brightness < 0.5"
  ]
  general.weight.fire.exceptions = [
    "300.0 dimension_property ultrawarm",
    "300.0 temp > 1.0",
    "150.0 temp >= 0.8",
    "7.5 temp freezing",
    "300.0 biome minecraft:warm_ocean",
    "150.0 biome minecraft:lukewarm_ocean",
    "150.0 biome minecraft:deep_lukewarm_ocean",
    "15.0 biome minecraft:cold_ocean",
    "15.0 biome minecraft:deep_cold_ocean",
    "7.5 biome minecraft:deep_frozen_ocean"
  ]
  general.weight.fishing.exceptions = [
    "300.0",
    "150.0 moon_phase full",
    "150.0 weather rain & rainfall != 0.0"
  ]
  general.weight.flying.exceptions = [
    "300.0",
    "300.0 y_from_sea >= 25",
    "150.0 moon_phase new",
    "15.0 y_from_sea < 0"
  ]
  general.weight.poison.exceptions = [
    "300.0 biome_category taiga",
    "300.0 biome_category jungle",
    "300.0 biome_category forest",
    "300.0 biome minecraft:crimson_forest",
    "150.0 moon_phase full"
  ]
  general.weight.puffer.exceptions = [
    "7.5 dimension_property ultrawarm",
    "7.5 dimension_property natural & rainfall = 0.0",
    "300.0",
    "300.0 rainfall > 0.85",
    "300.0 weather rain & position can_see_sky",
    "150.0 moon_brightness > 0.5"
  ]
  general.weight.tough.exceptions = []


# Category: silverfish
# Options specific to the family of silverfish.

  # Chance for silverfish to spawn already calling for reinforcements. By default, this applies to all silverfish; but
  #   species configs can override it.
  # <Number> Range: 0.0 ~ 1.0, Default: 0.05
  silverfish.family_aggressive_chance = 0.05
