ALPHA 5.1_2

ALPHA 5.1
Fixed
|- Defibrillator was not always showing up
|- Defibrillator was not working correctly
|- Defibrillator had no progressBar & animation lock
|- Blackout was not working anymore
|- 0000092: When releasing a unit after drag animation is not reseted
|- Morphine Disortion effect was not working due incorrect calculations
|- It was possible to apply drugs without a pause (UI was not blocked
after pressing ApplyDrug)
|- notifyUnit function tried to use first param as message
|- DEBUG version issues with some script calls
|- glitch when runTicker was callen manually for a unit which already
had the ticker running (ticker cannot be run twice for the same unit
anymore!)
\- Some undefinedVariable script issues caused by old function usages
Added
|- function X39_MS2_fnc_unInitUnit
|- function X39_MS2_fnc_overlay_destroyDisplay
|- variable X39_MS2_var_Pain_showDiagnosticsMessagesUnconscious    -
default: true
|- variable X39_MS2_var_Drugs_Naloxone_allowWakeUnconscious     -
default: true
|v- variable X39_MS2_var_CheckUnit_showDrugsConcentrationInDiagnostics
- default: true
|\- optional drugsConcentration diagnostics message
|- NoPulse diagnostics message
|v- Adrenaline impact on pain
||- variable X39_MS2_var_Drugs_Adrenaline_useForPain      - default:
true
||- variable X39_MS2_var_Drugs_Adrenaline_PainCureValueP     - default:
1.0
|\- variable X39_MS2_var_Drugs_Adrenaline_PainMinForFullCureP    -
default: 1.0
\v- Aspirin
|- variable X39_MS2_var_Drugs_Aspirin_hasImpactOnBloodClotting -
default: true
|- variable X39_MS2_var_Drugs_Aspirin_useForPain    - default: true
|- variable X39_MS2_var_Drugs_Aspirin_PainMinForFullCureP  - default:
1.0
|- variable X39_MS2_var_Drugs_Aspirin_PainCureValueP   - default: 0.75
|- variable X39_MS2_var_Drugs_Aspirin_maxAspirin    - default: 10
|- variable X39_MS2_var_Drugs_Aspirin_reductionPerTick   - default:
0.001
|- variable X39_MS2_var_Drugs_Aspirin_ChangeOnConsume   - default: 2
|- variable X39_MS2_var_Drugs_Aspirin_GlobalAspirinModificator -
default: 1
|- variable X39_MS2_var_Feature_EnableAspirin     - default: true
|- function X39_MS2_fnc_addAspirin
|- function X39_MS2_fnc_getAspirin
\- function X39_MS2_fnc_setAspirin
Removed
\- Obsolete function X39_MS2_fnc_messagePlayer
Changed
|- all variables "X39_MS2_var_Drugs_Morphine_morphine*" to
"X39_MS2_var_Drugs_Morphine_*"
|- variable "X39_MS2_var_Drugs_Morphine_useMorphineForPain" to
"X39_MS2_var_Drugs_Morphine_useForPain"
|- variable "X39_MS2_var_Drugs_Naloxone_NaloxoneChangeOnConsume" to
"X39_MS2_var_Drugs_Naloxone_ChangeOnConsume"
|- default value for
X39_MS2_var_Damage_AllowDeathThroughFullDamageAtHeadHitzone -->
old=true; new=false
|- InitModHelpers are now callen in postInit (allows to implement some
new fancy stuff like XMS1 mode ^^)
\- Updated to latest TFAR API (also implemented missing functions of
TFAR ... stupid me)