Somes fixes, blood on limbs\prosthetics, new textures

This commit is contained in:
Pao
2023-01-17 22:29:31 +01:00
parent 0d840baeff
commit 8656bd5696
7 changed files with 108 additions and 31 deletions

View File

@@ -6,6 +6,37 @@ end
function GetProsthesisList()
return {"TOC.WoodenHook", "TOC.MetalHook", "TOC.MetalHand"}
end
function GetInstallableProsthesisList()
-- To make it future proff since i'm gonna add stuff, let's cycle through already known prosthesis
local prosthesis_list = GetProsthesisList()
local sides = {"right", "left"}
local body_parts = {"Hand", "Forearm", "Arm"}
local installed_prosthesis_list = {}
for _, side in pairs(sides) do
for _, prost in pairs(prosthesis_list) do
for _, body_part in pairs(body_parts) do
local installable_prost = prost .. "_" .. side .. "_no" .. body_part
table.insert(installed_prosthesis_list, installable_prost)
end
end
end
return installed_prosthesis_list
end
function GetLimbsBodyPartTypes()