Refactoring even more since why not at this point

This commit is contained in:
Pao
2023-02-20 13:00:05 +01:00
parent 9a4572258e
commit 33d4a322a1
8 changed files with 95 additions and 85 deletions

View File

@@ -7,8 +7,8 @@ local function TocReapplyAmputationClothingItem(mod_data)
local player = getPlayer()
local player_inv = player:getInventory()
for _, side in ipairs(TOC_sides) do
for _, limb in ipairs(TOC_limbs) do
for _, side in ipairs(TOC.side_names) do
for _, limb in ipairs(TOC.limb_names) do
local part_name = side .. "_" .. limb
-- Check this before since we could have changed some stuff about part names before fixing them. Could break things