Torso
data/injuries/torso/torso.lua
Injuries("light_internal_bleeding", {
label = "Light Internal Bleeding",
category = "torso",
deadly = false,
severity = 1,
icon = "fa-solid fa-heart",
description = "Your patient has light internal bleeding.",
can_cure_in_field = false,
can_stabilize_in_field = true,
causes = {
[BoneCategories.TORSO] = {
{ chance = 100, required_damage_on_hit = 50 },
},
},
heal_time = {
days = 4,
},
treatments = {
{
text = "Stabilize Bleeding",
stabilizes = true,
},
{
text = "Perform Operation",
cures = true
},
{
text = "Chest Compressions",
causes = { "heavy_internal_bleeding" }
},
},
effects = {
{
effect = "slow_bleed",
when_stabilized = false
}
}
})
Injuries("heavy_internal_bleeding", {
label = "Heavy Internal Bleeding",
category = "torso",
deadly = false,
severity = 2,
icon = "fa-solid fa-heart",
description = "Your patient has heavy internal bleeding.",
can_cure_in_field = false,
can_stabilize_in_field = false,
causes = {
[BoneCategories.TORSO] = {
{ chance = 100, required_damage_on_hit = 100 },
},
},
heal_time = {
days = 4,
},
treatments = {
{
text = "Perform Operation",
cures = true
},
{
text = "Chest Compressions",
causes = { "ruptured_organ" }
},
},
effects = {
{
effect = "slow_bleed",
when_stabilized = true
},
{
effect = "fast_bleed",
when_stabilized = false
}
}
})
Injuries("ruptured_organ", {
label = "Heavy Internal Bleeding",
category = "torso",
deadly = true,
severity = 3,
icon = "fa-solid fa-heart",
description = "Your patient has heavy internal bleeding.",
can_cure_in_field = false,
can_stabilize_in_field = false,
causes = {
[BoneCategories.TORSO] = {
{ chance = 100, required_damage_on_hit = 200 },
},
},
heal_time = {
weeks = 1,
},
treatments = {
{
text = "Perform Operation",
cures = true
},
{
text = "Chest Compressions",
causes = { "ruptured_organ" }
},
},
effects = {
{
effect = "fast_bleed",
when_stabilized = true
}
}
})
Last updated