Let's switch back to the OG name

This commit is contained in:
Pao
2023-03-04 00:35:21 +01:00
parent f55fe877f7
commit cf0c93fb4b
89 changed files with 651 additions and 651 deletions

View File

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