Readded tourniquet

This commit is contained in:
ZioPao
2024-01-09 14:42:56 +01:00
parent aeb1bca94d
commit a41f976949
13 changed files with 100 additions and 15 deletions

View File

@@ -1,7 +1,6 @@
require "TimedActions/ISBaseTimedAction"
local AmputationHandler = require("TOC/Handlers/AmputationHandler")
local CommandsData = require("TOC/CommandsData")
local CommonMethods = require("TOC/CommonMethods")
-----------------------------
@@ -46,8 +45,7 @@ function CutLimbAction:new(surgeon, patient, limbName, item, stitchesItem, banda
end
function CutLimbAction:isValid()
-- TODO Surgeon should be close to patient
return true
return not ISHealthPanel.DidPatientMove(self.patient, self.character, self.patient:getX(), self.patient:getY())
end
function CutLimbAction:start()