mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fix inconsistencies in treatment time between basic and adv, fix item usage
This commit is contained in:
parent
e418cc05e9
commit
ef8ad21446
@ -87,7 +87,7 @@ class GVAR(Actions) {
|
||||
category = "advanced";
|
||||
treatmentLocations[] = {"All"};
|
||||
requiredMedic = 0;
|
||||
treatmentTime = 20;
|
||||
treatmentTime = 15;
|
||||
items[] = {"ACE_bodyBag"};
|
||||
condition = "!alive _target";
|
||||
callbackSuccess = QUOTE(DFUNC(actionPlaceInBodyBag));
|
||||
@ -244,7 +244,7 @@ class GVAR(Actions) {
|
||||
category = "advanced";
|
||||
items[] = {"ACE_bloodIV"};
|
||||
requiredMedic = 1;
|
||||
treatmentTime = 7;
|
||||
treatmentTime = 12;
|
||||
callbackSuccess = QUOTE(DFUNC(treatmentIV));
|
||||
animationCaller = "AinvPknlMstpSnonWnonDnon_medic1";
|
||||
litter[] = {};
|
||||
|
@ -27,6 +27,9 @@ if !([_caller, _target, _selectionName, _className] call FUNC(canTreat)) exitWit
|
||||
|
||||
private _config = configFile >> QGVAR(Actions) >> CUR_LEVEL >> _className;
|
||||
|
||||
// handle items
|
||||
private _items = getArray (_config >> "items");
|
||||
|
||||
private _consumeItems = 0;
|
||||
|
||||
if (isNumber (_config >> "itemConsumed")) then {
|
||||
|
Loading…
Reference in New Issue
Block a user