pushing before fucking everything up

This commit is contained in:
ZioPao
2023-11-14 01:46:12 +01:00
parent 33299b0779
commit 150772e252
4 changed files with 51 additions and 7 deletions

View File

@@ -47,16 +47,25 @@ function ModDataHandler:setup(key)
self.tocData = {
-- Generic stuff that does not belong anywhere else
isIgnoredPartInfected = false,
isAnyLimbCut = false
isAnyLimbCut = false,
prosthesis = {
top = {},
bottom = {}
}
}
---@type partData
local defaultParams = {
isCut = false, isInfected = false, isOperated = false, isCicatrized = false,
isCauterized = false, isVisible = false, isProstEquipped = false, prostFactor = 0
isCauterized = false, isVisible = false
}
-- TODO Set this up for legs crap
-- Initialize limbs
--self.tocData.limbs = {}
for i=1, #StaticData.LIMBS_STRINGS do
local limbName = StaticData.LIMBS_STRINGS[i]
self.tocData[limbName] = {}