This commit is contained in:
ZioPao
2023-11-13 23:48:59 +01:00
parent 56da8583b0
commit 46175908b1
2 changed files with 9 additions and 32 deletions

View File

@@ -1,7 +1,6 @@
local StaticData = require("TOC/StaticData")
local ModDataHandler = require("TOC/Handlers/ModDataHandler")
local CachedDataHandler = require("TOC/Handlers/CachedDataHandler")
---@diagnostic disable: duplicate-set-field
local CutLimbHandler = require("TOC/UI/CutLimbInteractions")
---------------------------------
@@ -9,6 +8,7 @@ local CutLimbHandler = require("TOC/UI/CutLimbInteractions")
-- By doing so we can show the player which limbs have been cut without having to use another menu
-- We can show prosthesis too this way
-- We also manage the drag'n drop of items on the body to let the players use the saw this way too
---@diagnostic disable: duplicate-set-field
ISHealthBodyPartPanel = ISBodyPartPanel:derive("ISHealthBodyPartPanel")
@@ -44,27 +44,6 @@ function ISHealthPanel:doBodyPartContextMenu(bodyPart, x, y)
end
--* Modifications to handle visible amputation on the health menu *--
local og_ISHealthPanel_initialise = ISHealthPanel.initialise