From d82fce6f2ff9acb4625995bdb291417bdce48fee Mon Sep 17 00:00:00 2001 From: ZioPao Date: Sat, 11 Nov 2023 03:07:27 +0100 Subject: [PATCH] some comments --- media/lua/client/UI/TOC_HealthPanel.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/media/lua/client/UI/TOC_HealthPanel.lua b/media/lua/client/UI/TOC_HealthPanel.lua index b2042a1..3ca7918 100644 --- a/media/lua/client/UI/TOC_HealthPanel.lua +++ b/media/lua/client/UI/TOC_HealthPanel.lua @@ -5,7 +5,13 @@ local CommonMethods = require("TOC_Common") ---@diagnostic disable: duplicate-set-field local CutLimbHandler = require("UI/TOC_CutLimbInteractions") --- TODO Use this to replace the sprites once a limb is cut +--------------------------------- + +-- We're overriding ISHealthPanel to add custom textures to the body panel. +-- 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 + ISHealthBodyPartPanel = ISBodyPartPanel:derive("ISHealthBodyPartPanel") --* Handling drag n drop of the saw *--