Cleaning stuff

This commit is contained in:
Pao
2023-01-22 04:04:02 +01:00
parent 318c34bb9b
commit b6b010705a
11 changed files with 77 additions and 157 deletions

View File

@@ -25,7 +25,7 @@ end
function ISCutLimb:start()
self:setActionAnim("SawLog")
local saw_item = GetSawInInventory(self.surgeon)
local saw_item = TocGetSawInInventory(self.surgeon)
-- Return whatever object we've got in the inventory

View File

@@ -51,7 +51,7 @@ function ISUninstallProsthesis:perform()
for _, v in ipairs(GetAcceptingProsthesisBodyPartTypes()) do
if self.bodyPart:getType() == v then
local part_name = FindTocBodyPartNameFromBodyPartType(v)
local part_name = TocGetPartNameFromBodyPartType(v)
print("Found prost in " .. part_name)
if part_name then