move IV transufsion rate macro to blood config

This commit is contained in:
commy2 2016-10-10 18:20:58 +02:00
parent c2f7366d32
commit e2d174837a
2 changed files with 7 additions and 7 deletions

View File

@ -14,13 +14,6 @@
#include "script_component.hpp"
/*
IV Change per second calculation:
250ml should take 60 seconds to fill. 250/60 = 4.166.
Basic medical is 10x (will take 6 seconds for 250ml)
*/
#define IV_CHANGE_PER_SECOND ([41.66, 4.166] select (GVAR(level) >= 2))
params ["_unit", "_syncValues"];
private _bloodVolume = _unit getVariable [QGVAR(bloodVolume), DEFAULT_BLOOD_VOLUME];

View File

@ -24,3 +24,10 @@
#define BLOOD_VOLUME_UNCONSCIOUS 3.6 // in liters
#define BLOOD_VOLUME_DEAD 1.8 // in liters
#define BLOOD_VOLUME_CARDIAC_ARREST 1.2 // in liters
/*
IV Change per second calculation:
250ml should take 60 seconds to fill. 250/60 = 4.166.
Basic medical is 10x (will take 6 seconds for 250ml)
*/
#define IV_CHANGE_PER_SECOND ([41.66, 4.166] select (GVAR(level) >= 2))