Left

data/injuries/head/eyes/left.lua

Injuries("damaged_eye_left", {
    label = "Damaged Eye (L)",
    category = "eye_left",
    deadly = false,
    unique = true,
    severity = 1,

    icon = "fa-solid fa-eye",
    description = "Your patient has a damaged left eye.",

    can_treat_in_field = false,
    can_stabilize_in_field = true,

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

    heal_time = {
        days = 3
    },

    treatments = {
        {
            text = "Stabilize Eye",
            stabilizes = true,
        },
        {
            text = "Poke Eye",
            causes = { "infected_eye_left" },
        },
    }
})

Injuries("infected_eye_left", {
    label = "Infected Eye (L)",
    category = "eye_left",
    deadly = false,
    unique = true,
    severity = 2,

    icon = "fa-solid fa-eye",
    description = "Your patient has an infected left eye.",

    can_treat_in_field = false,
    can_stabilize_in_field = false,

    causes = {},

    heal_time = {
        days = 3
    },

    treatments = {
        {
            text = "Disinfect Eye",
            stabilizes = true,
        },
        {
            text = "Poke Eye",
            causes = { "destroyed_left_eye" },
        },
    },

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

Injuries("destroyed_eye_left", {
    label = "Destroyed Eye (L)",
    category = "eye_left",
    deadly = false,
    unique = true,
    severity = 2,

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

    can_treat_in_field = false,
    can_stabilize_in_field = false,

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

    heal_time = {
        weeks = 1
    },

    treatments = {},

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

Last updated