Tests with amputating legs

This commit is contained in:
Pao
2023-02-06 19:40:36 +01:00
parent cb2fe5e36d
commit ff7915abbd
12 changed files with 299 additions and 14 deletions

View File

@@ -18,7 +18,7 @@ local function addBodyLocationBefore(newLocation, movetoLocation)
list:remove(list:size()-1)
list:remove(newItem)
local i = group:indexOf(movetoLocation)
list:add(i, newItem)
end
@@ -70,6 +70,7 @@ local group = BodyLocations.getGroup("Human")
addBodyLocationBefore("TOC_ArmRight", "Shoes")
addBodyLocationBefore("TOC_ArmLeft", "Shoes")
addBodyLocationBefore("TOC_LegLeft", "Shoes")
addBodyLocationBefore("TOC_ArmRightProsthesis", "Shoes")
addBodyLocationBefore("TOC_ArmLeftProsthesis", "Shoes")