Working Feet amputation
@@ -2,7 +2,7 @@
|
||||
<clothingItem>
|
||||
<m_MaleModel>Amputation\Amputation_GenericModel</m_MaleModel>
|
||||
<m_FemaleModel>Amputation\Amputation_GenericModel</m_FemaleModel>
|
||||
<m_GUID>45c0b872-bdf1-466f-b810-c7783171bda1</m_GUID>
|
||||
<m_GUID>506c0fc0-b50c-4667-bafa-ae22e3c2c0dc</m_GUID>
|
||||
<m_Static>false</m_Static>
|
||||
<m_AllowRandomHue>false</m_AllowRandomHue>
|
||||
<m_AllowRandomTint>false</m_AllowRandomTint>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<clothingItem>
|
||||
<m_MaleModel>Amputation\Amputation_GenericModel</m_MaleModel>
|
||||
<m_FemaleModel>Amputation\Amputation_GenericModel</m_FemaleModel>
|
||||
<m_GUID>d6576bb2-f5f1-4cb6-a17e-aab131214e4b</m_GUID>
|
||||
<m_GUID>2600c2ab-bfeb-49c3-b0b5-e21c6d83d5c2</m_GUID>
|
||||
<m_Static>false</m_Static>
|
||||
<m_AllowRandomHue>false</m_AllowRandomHue>
|
||||
<m_AllowRandomTint>false</m_AllowRandomTint>
|
||||
|
||||
@@ -88,12 +88,12 @@
|
||||
|
||||
<files>
|
||||
<path>media/clothing/clothingItems/Amputation_Left_Foot.xml</path>
|
||||
<guid>45c0b872-bdf1-466f-b810-c7783171bda1</guid>
|
||||
<guid>506c0fc0-b50c-4667-bafa-ae22e3c2c0dc</guid>
|
||||
</files>
|
||||
|
||||
<files>
|
||||
<path>media/clothing/clothingItems/Amputation_Left_Foot.xml</path>
|
||||
<guid>d6576bb2-f5f1-4cb6-a17e-aab131214e4b</guid>
|
||||
<path>media/clothing/clothingItems/Amputation_Right_Foot.xml</path>
|
||||
<guid>2600c2ab-bfeb-49c3-b0b5-e21c6d83d5c2</guid>
|
||||
</files>
|
||||
|
||||
</fileGuidTable>
|
||||
@@ -243,7 +243,6 @@ function TocCutLimb(part_name, surgeon_factor, bandage_table, painkiller_table)
|
||||
local amputation_clothing_item_name = TocFindAmputatedClothingFromPartName(part_name)
|
||||
print(amputation_clothing_item_name)
|
||||
|
||||
|
||||
local amputation_clothing_item = player:getInventory():AddItem(amputation_clothing_item_name)
|
||||
TocSetCorrectTextureForAmputation(amputation_clothing_item, player, false)
|
||||
player:setWornItem(amputation_clothing_item:getBodyLocation(), amputation_clothing_item)
|
||||
@@ -251,6 +250,10 @@ function TocCutLimb(part_name, surgeon_factor, bandage_table, painkiller_table)
|
||||
|
||||
-- Set blood on the amputated limb
|
||||
TocSetBloodOnAmputation(getPlayer(), adiacent_body_part)
|
||||
|
||||
if part_name == "Left_Foot" or part_name == "Right_Foot" then
|
||||
SetMissingFootAnimation(true)
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -74,6 +74,11 @@ function TocResetEverything()
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
-- Reset special flag for legs amputations
|
||||
SetMissingFootAnimation(false)
|
||||
|
||||
end
|
||||
|
||||
|
||||
|
||||
@@ -483,36 +483,38 @@ item Amputation_Left_Foot
|
||||
{
|
||||
Type = Clothing,
|
||||
DisplayName = Amputated Left Foot,
|
||||
|
||||
ClothingItem = Amputation_Left_Foot,
|
||||
BodyLocation = TOC_LegLeft,
|
||||
|
||||
Weight = 0,
|
||||
CombatSpeedModifier = 0.9,
|
||||
BloodLocation = Feet,
|
||||
BloodLocation = Hands;LowerArms,
|
||||
|
||||
Insulation = 1.0,
|
||||
WindResistance = 1.0,
|
||||
WaterResistance = 1.0,
|
||||
Icon = genericAmputation,
|
||||
CanHaveHoles = false,
|
||||
|
||||
|
||||
}
|
||||
|
||||
item Amputation_Right_Foot
|
||||
{
|
||||
Type = Clothing,
|
||||
DisplayName = Amputated Right Foot,
|
||||
|
||||
ClothingItem = Amputation_Right_Foot,
|
||||
BodyLocation = TOC_LegRight,
|
||||
|
||||
Weight = 0,
|
||||
CombatSpeedModifier = 0.9,
|
||||
BloodLocation = Feet,
|
||||
BloodLocation = Hands;LowerArms,
|
||||
|
||||
Insulation = 1.0,
|
||||
WindResistance = 1.0,
|
||||
WaterResistance = 1.0,
|
||||
Icon = genericAmputation,
|
||||
CanHaveHoles = false,
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 981 B After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 282 B After Width: | Height: | Size: 381 B |
|
Before Width: | Height: | Size: 680 B After Width: | Height: | Size: 843 B |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 981 B |
|
Before Width: | Height: | Size: 381 B After Width: | Height: | Size: 282 B |
|
Before Width: | Height: | Size: 843 B After Width: | Height: | Size: 680 B |