More stuff for legs
This commit is contained in:
@@ -88,4 +88,18 @@ function TocPopulateCanBeHeldTable(can_be_held, limbs_data)
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-----------------------------------------
|
||||
function TocCheckLegsAmputations(mod_data)
|
||||
|
||||
if mod_data.TOC.Limbs["Left_Foot"].is_cut or mod_data.TOC.Limbs["Right_Foot"].is_cut then
|
||||
SetMissingFootAnimation(true)
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
@@ -257,6 +257,7 @@ function TheOnlyCure.InitTheOnlyCure(_, player)
|
||||
else
|
||||
TocCheckCompatibilityWithOlderVersions(mod_data)
|
||||
TocUpdateBaseData(mod_data) -- Since it's gonna be common to update stuff
|
||||
TocCheckLegsAmputations(mod_data)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user