Left

data/injuries/legs/left.lua

Injuries("fractured_leg_left", {
    label = "Fractured Leg (L)",
    category = "leg_left",
    deadly = false,
    severity = 1,

    icon = "fa-solid fa-socks",
    description = "Your patient has a fractured left leg.",

    can_cure_in_field = false,
    can_stabilize_in_field = true,

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

    heal_time = {
        days = 4,
    },

    treatments = {
        {
            text = "Splint Leg",
            stabilizes = true,
        },
        {
            text = "Punch Leg",
            causes = { "broken_leg_left" }
        },
    },

    effects = {
        {
            effect = "slow",
            when_stabilized = true
        }
    }
})

Injuries("broken_leg_left", {
    label = "Broken Leg (L)",
    category = "leg_left",
    deadly = false,
    severity = 2,

    icon = "fa-solid fa-socks",
    description = "Your patient has a broken left leg.",

    can_cure_in_field = false,
    can_stabilize_in_field = false,

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

    heal_time = {
        weeks = 1,
    },

    treatments = {
        {
            text = "Splint Leg",
            stabilizes = true,
        },
        {
            text = "Punch Leg",
            causes = { "destroyed_leg_left" }
        },
    },

    effects = {
        {
            effect = "very_slow",
            when_stabilized = false
        },
        {
            effect = "slow",
            when_stabilized = true
        }
    }
})

Injuries("destroyed_leg_left", {
    label = "Destroyed Leg (L)",
    category = "leg_left",
    deadly = false,
    unique = true,
    severity = 3,

    icon = "fa-solid fa-socks",
    description = "Your patient has a destroyed left leg.",

    can_cure_in_field = false,
    can_stabilize_in_field = false,

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

    heal_time = {
        weeks = 1,
    },

    treatments = {},

    effects = {
        {
            effect = "stumble_move",
            when_stabilized = true
        }
    }
})

Last updated