Changed file names

This commit is contained in:
Pao
2023-03-04 00:36:58 +01:00
parent cf0c93fb4b
commit e1a018640b
27 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
-- Thanks to Glytcher and Matías N. Salas for helping out with this
if TOC_Anims == nil then
TOC_Anims = {}
end
TOC_Anims.SetMissingFootAnimation = function(check)
local player = getPlayer()
player:setVariable("IsCrawling", tostring(check))
if not isServer() and not isClient() then
print("SP, so it's fine")
else
sendClientCommand(player, "TOC", "NotifyNewCrawlAnimation", {id = player:getOnlineID(), check = check})
end
end
TOC_Anims.CheckAndSetMissingFootAnims = function(modData)
if modData.TOC.limbs["Left_Foot"].isCut or modData.TOC.limbs["Right_Foot"].isCut then
TOC_Anims.SetMissingFootAnimation(true)
end
end