Cicatrization visuals reimplemented
This commit is contained in:
@@ -262,6 +262,9 @@ function LocalPlayerController.UpdateAmputations()
|
||||
if cicTime <= 0 then
|
||||
TOC_DEBUG.print(tostring(limbName) .. " is cicatrized")
|
||||
dcInst:setIsCicatrized(limbName, true)
|
||||
-- Set visual
|
||||
local ItemsController = require("TOC/Controllers/ItemsController")
|
||||
ItemsController.Player.OverrideAmputationItemVisuals(pl, limbName, true)
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -304,7 +307,6 @@ function LocalPlayerController.CanItemBeEquipped(itemObj, limbName)
|
||||
return true
|
||||
end
|
||||
|
||||
|
||||
--- Drop all items from the affected limb
|
||||
---@param limbName string
|
||||
function LocalPlayerController.DropItemsAfterAmputation(limbName)
|
||||
|
||||
Reference in New Issue
Block a user