Working zombies amputation POC

This commit is contained in:
ZioPao
2024-03-19 11:36:19 +01:00
parent d9c315401c
commit 95f1aa304e
4 changed files with 147 additions and 10 deletions

View File

@@ -126,7 +126,7 @@ function ItemsController.Zombie.GetAmputationTexturesIndex(zombie)
local level = tonumber(x:match("%d$")) - 1 -- it's from 1 to 3, but we're using it like 0 indexed arrays
local finalId = 10 + matchedIndex + level
print("Zombie texture index: " .. tostring(finalId))
--print("Zombie texture index: " .. tostring(finalId))
return finalId
end