Skip to main content
Located in shared/config/damagelogger.lua.

Bone Damage Logger (Config.boneDamageLogger)

  • enabled: Toggle the bone system on or off.
Config.boneDamageLogger = {
    enabled = true,
}

Bone Damage Infection (Config.boneDamageInfection)

This subsystem triggers potential infections when unhealed damage is left on a bone for prolonged periods.
  • enabled: Toggle the infection system on or off.
  • checkFrequency: How frequently (in seconds) wounds are checked for potential infections.
  • minDamageForInfection: The minimum damage percentage (0-100) required before a wound can become infected.
  • damageTypeProbability: Table mapping wound types (from damagetypes.lua) to a probability (0.0 to 1.0) of turning into an infection.
  • baseProbability: Flat baseline probability added automatically across all wound types.
Config.boneDamageInfection = {
    enabled = true,
    checkFrequency = 300, -- Check every 5 minutes
    minDamageForInfection = 40, 
    damageTypeProbability = {
        ['bruise'] = 0.05,
        ['cut'] = 0.30,
        ['projectile'] = 0.50,
        ['burn'] = 0.40,
        ['default'] = 0.10
    },
    baseProbability = 0.0
}