Added missing models
This commit is contained in:
@@ -58,19 +58,22 @@ local og_ISBaseTimedAction_perform = ISBaseTimedAction.perform
|
||||
function ISBaseTimedAction:perform()
|
||||
og_ISBaseTimedAction_perform(self)
|
||||
|
||||
TOC_DEBUG.print("Running ISBaseTimedAction.perform override")
|
||||
|
||||
local dcInst = DataController.GetInstance()
|
||||
if not dcInst:getIsAnyLimbCut() then return end
|
||||
|
||||
local amputatedLimbs = CachedDataHandler.GetAmputatedLimbs(LocalPlayerController.username)
|
||||
for k, _ in pairs(amputatedLimbs) do
|
||||
local limbName = k
|
||||
if dcInst:getIsCut(limbName) then
|
||||
|
||||
-- We're checking for only "visible" amputations to prevent from having bleeds everywhere
|
||||
if dcInst:getIsCut(limbName) and dcInst:getIsVisible(limbName) then
|
||||
local side = CommonMethods.GetSide(limbName)
|
||||
LocalPlayerController.playerObj:getXp():AddXP(Perks["Side_" .. side], 1) -- TODO Make it dynamic
|
||||
local prostGroup = StaticData.LIMBS_TO_PROST_GROUP_MATCH_IND_STR[limbName]
|
||||
if not dcInst:getIsCicatrized(limbName) and dcInst:getIsProstEquipped(prostGroup) then
|
||||
TOC_DEBUG.print("Trying for bleed, player met the criteria")
|
||||
-- TODO If we have cut a forearm, it will try to check the hand too, with cicatrization time = 0. We should skip this
|
||||
LocalPlayerController.TryRandomBleed(self.character, limbName)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -6,7 +6,7 @@ IG_UI_EN = {
|
||||
IGUI_perks_ProstFamiliarity= "Familiarity",
|
||||
|
||||
IGUI_ItemCat_Prosthesis = "Prosthesis",
|
||||
IGUI_ItemCat_Prosthesis = "Surgery",
|
||||
IGUI_ItemCat_Surgery = "Surgery",
|
||||
IGUI_ItemCat_Amputation = "Amputation"
|
||||
|
||||
IGUI_HealthPanel_Cicatrization = "Cicatrization",
|
||||
|
||||
BIN
media/models_X/Prosthesis/hookArm_Ground.fbx
Normal file
BIN
media/models_X/Prosthesis/hookArm_Ground.fbx
Normal file
Binary file not shown.
BIN
media/models_X/Prosthesis/hookArm_L_M.fbx
Normal file
BIN
media/models_X/Prosthesis/hookArm_L_M.fbx
Normal file
Binary file not shown.
BIN
media/models_X/Prosthesis/hookArm_R_M.fbx
Normal file
BIN
media/models_X/Prosthesis/hookArm_R_M.fbx
Normal file
Binary file not shown.
BIN
media/models_X/Prosthesis/normalArm_L_M.fbx
Normal file
BIN
media/models_X/Prosthesis/normalArm_L_M.fbx
Normal file
Binary file not shown.
BIN
media/models_X/Prosthesis/normalArm_R_M.fbx
Normal file
BIN
media/models_X/Prosthesis/normalArm_R_M.fbx
Normal file
Binary file not shown.
@@ -12,5 +12,11 @@ module Prosthesis
|
||||
}
|
||||
|
||||
|
||||
model prostheticArmHook
|
||||
{
|
||||
mesh = Prosthesis/hookArm_Ground,
|
||||
texture = Prosthesis\hookArm,
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -23,8 +23,11 @@ module TOC
|
||||
Insulation = 1.0,
|
||||
WindResistance = 1.0,
|
||||
WaterResistance = 1.0,
|
||||
Icon = armProsthetic,
|
||||
CanHaveHoles = false,
|
||||
|
||||
Icon = armProsthetic,
|
||||
WorldStaticModel = prostheticArmHook,
|
||||
|
||||
}
|
||||
item Prost_HookArm_R
|
||||
{
|
||||
@@ -42,8 +45,10 @@ module TOC
|
||||
Insulation = 1.0,
|
||||
WindResistance = 1.0,
|
||||
WaterResistance = 1.0,
|
||||
Icon = armProsthetic,
|
||||
CanHaveHoles = false,
|
||||
|
||||
Icon = armProsthetic,
|
||||
WorldStaticModel = prostheticArmHook,
|
||||
}
|
||||
|
||||
item Prost_NormalArm_L
|
||||
@@ -62,9 +67,10 @@ module TOC
|
||||
Insulation = 1.0,
|
||||
WindResistance = 1.0,
|
||||
WaterResistance = 1.0,
|
||||
CanHaveHoles = false,
|
||||
|
||||
Icon = armProsthetic,
|
||||
WorldStaticModel = prostheticArm,
|
||||
CanHaveHoles = false,
|
||||
}
|
||||
item Prost_NormalArm_R
|
||||
{
|
||||
@@ -82,9 +88,10 @@ module TOC
|
||||
Insulation = 1.0,
|
||||
WindResistance = 1.0,
|
||||
WaterResistance = 1.0,
|
||||
CanHaveHoles = false,
|
||||
|
||||
Icon = armProsthetic,
|
||||
WorldStaticModel = prostheticArm,
|
||||
CanHaveHoles = false,
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user