Some More stuff
This commit is contained in:
@@ -40,7 +40,7 @@ function ISCutLimb:start()
|
||||
-- TODO Add a check so you can't cut your arm if you don't have hands or if you only have one arm and want to cut that same arm.
|
||||
|
||||
self:setActionAnim("SawLog")
|
||||
local saw_item = TocGetSawInInventory(self.surgeon)
|
||||
local saw_item = JCIO_Common.GetSawInInventory(self.surgeon)
|
||||
self.surgeon:getEmitter():playSound("Amputation_Sound")
|
||||
|
||||
-- Return whatever object we've got in the inventory
|
||||
|
||||
@@ -44,7 +44,7 @@ function ISInstallProsthesis:perform()
|
||||
-- local toc_data = self.character:getModData().TOC
|
||||
--local part_name = TocGetPartNameFromBodyPartType(self.bodyPart:getType())
|
||||
|
||||
local body_part_type = TocGetBodyPartFromPartName(self.part_name)
|
||||
local body_part_type = JCIO_Common.GetBodyPartFromPartName(self.part_name)
|
||||
|
||||
-- Check if can be performed. This shouldn't be necessary, but just to be sure
|
||||
if body_part_type == BodyPartType.UpperArm_L or body_part_type == BodyPartType.UpperArm_R then
|
||||
|
||||
Reference in New Issue
Block a user