Jaw

data/injuries/head/jaw.lua

Injuries("fractured_jaw", {
    label = "Fractured Jaw",
    category = "jaw",
    deadly = false,
    severity = 1,

    icon = "fa-solid fa-skull",
    description = "Your patient has a fractured jaw.",

    can_treat_in_field = false,
    can_stabilize_in_field = false,

    causes = {
        [BoneCategories.JAW] = {
            { chance = 100, required_damage_on_hit = 50, },
        },
    },

    heal_time = {
        days = 2,
    },

    treatments = {
        {
            text = "Wire Jaw",
            stabilizes = true,
        },
        {
            text = "Punch Jaw",
            causes = { "broken_jaw" }
        }
    },

    effects = {}
})

Injuries("broken_jaw", {
    label = "Broken Jaw",
    category = "jaw",
    deadly = false,
    unique = true,
    severity = 2,

    icon = "fa-solid fa-skull",
    description = "Your patient has a broken jaw.",

    can_treat_in_field = false,
    can_stabilize_in_field = false,

    causes = {
        [BoneCategories.JAW] = {
            { chance = 100, required_damage_on_hit = 100, },
        },
    },

    heal_time = {
        days = 5,
    },

    treatments = {
        {
            text = "Wire Jaw",
            stabilizes = true,
        }
    },

    effects = {
        {
            effect = "mute",
            when_stabilized = false
        }
    }
})

Last updated