Tests with amputating legs

This commit is contained in:
Pao
2023-02-06 19:40:36 +01:00
parent cb2fe5e36d
commit ff7915abbd
12 changed files with 299 additions and 14 deletions

View File

@@ -176,12 +176,29 @@ end
-- MAIN UPDATE FUNCTIONS
local testOnAnimEvent = IsoGameCharacter.OnAnimEvent
function IsoGameCharacter.OnAnimEvent(animLayer, animEvent)
print("ENTERING ON ANIM EVENT!!!")
end
local function TocUpdateOnTick()
local player = getPlayer()
if player == nil then
return
end
local toc_data = player:getModData().TOC
if toc_data ~= nil then
CheckIfPlayerIsInfected(player, toc_data)