More cleaning, first stuff to implement mp compatibile prosthesis equipping
This commit is contained in:
@@ -34,7 +34,7 @@ function ISCutLimb:start()
|
||||
|
||||
|
||||
-- TODO this doesn't work when doing it online
|
||||
local body_part_type = TheOnlyCure.GetBodyPartTypeFromBodyPart(self.part_name)
|
||||
local body_part_type = TocGetBodyPartTypeFromBodyPart(self.part_name)
|
||||
local body_damage = self.patient:getBodyDamage()
|
||||
local body_damage_part = body_damage:getBodyPart(body_part_type)
|
||||
|
||||
|
||||
@@ -106,3 +106,5 @@ function ISUninstallProsthesis:new(character, item, bodyPart)
|
||||
if o.character:isTimedActionInstant() then o.maxTime = 1; end
|
||||
return o;
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user