mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
742626ff1a
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
25 lines
527 B
Plaintext
25 lines
527 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Author: Brett Mayson
|
|
* Handles the surgical kit treatment start by consuming a suture when applicable
|
|
*
|
|
* Arguments:
|
|
* 0: Medic <OBJECT>
|
|
* 1: Patient <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [player, cursorObject] call ace_medical_treatment_fnc_surgicalKitStart
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
params ["_medic", "_patient"];
|
|
TRACE_2("surgicalKitStart",_medic,_patient);
|
|
|
|
if (GVAR(consumeSurgicalKit) == 2) then {
|
|
([_medic, _patient, ["ACE_suture"]] call FUNC(useItem));
|
|
};
|