Right

data/injuries/arms/right.lua

Injuries("fractured_arm_right", {
    label = "Fractured Arm (R)",
    category = "arm_right",
    deadly = false,
    severity = 1,

    icon = "fa-solid fa-hand",
    description = "Your patient has a fractured right arm.",

    can_cure_in_field = false,
    can_stabilize_in_field = true,

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

    heal_time = {
        days = 4,
    },

    treatments = {
        {
            text = "Splint Arm",
            stabilizes = true,
        },
        {
            text = "Punch Arm",
            causes = { "broken_arm_right" }
        },
    },

    effects = {}
})

Injuries("broken_arm_right", {
    label = "Broken Arm (R)",
    category = "arm_right",
    deadly = false,
    severity = 2,

    icon = "fa-solid fa-hand",
    description = "Your patient has a broken right arm.",

    can_cure_in_field = false,
    can_stabilize_in_field = false,

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

    heal_time = {
        weeks = 1,
    },

    treatments = {
        {
            text = "Splint Arm",
            stabilizes = true,
        },
        {
            text = "Punch Arm",
            causes = { "destroyed_arm_right" }
        },
    },

    effects = {
        {
            effect = "disable_2h_weapons",
            when_stabilized = true
        },
        {
            effect = "disable_1h_weapons",
            when_stabilized = false
        },
    }
})

Injuries("destroyed_arm_right", {
    label = "Destroyed Arm (R)",
    category = "arm_right",
    deadly = false,
    unique = true,
    severity = 3,

    icon = "fa-solid fa-hand",
    description = "Your patient has a destroyed right arm.",

    can_cure_in_field = false,
    can_stabilize_in_field = false,

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

    heal_time = {
        weeks = 1,
    },

    treatments = {},

    effects = {
        {
            effect = "disable_2h_weapons",
            when_stabilized = true
        },
        {
            effect = "disable_1h_weapons",
            when_stabilized = true
        },
    }
})

Last updated