Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pharma/Circulation/Vitals - Improve Fluid Calculation / Add Lactated Ringers and Packed RBCs #644

Closed
Closed
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
227 commits
Select commit Hold shift + click to select a range
66cc3a8
Initial
Cplhardcore Sep 5, 2024
e7c7563
Update CfgWeapons.hpp
Cplhardcore Sep 5, 2024
273aa6e
Update CfgWeapons.hpp
Cplhardcore Sep 5, 2024
4be680f
Updates to stringtable
Cplhardcore Sep 5, 2024
707cecb
Fix
Cplhardcore Sep 5, 2024
34e0ed5
Update stringtable.xml
Cplhardcore Sep 5, 2024
8d0eb59
Fixes
Cplhardcore Sep 5, 2024
29f1cee
Update config.cpp
Cplhardcore Sep 5, 2024
7aaaa29
Fixes for stringtable
Cplhardcore Sep 5, 2024
41537a9
fix
Cplhardcore Sep 8, 2024
13789ad
IV
Cplhardcore Sep 10, 2024
ff2eba3
iv actions
Cplhardcore Sep 10, 2024
873b542
Update launch.toml
Cplhardcore Sep 10, 2024
e73d64b
Update fnc_applyIV.sqf
Cplhardcore Sep 10, 2024
06492d6
Update fnc_applyIV.sqf
Cplhardcore Sep 10, 2024
52567c6
Update fnc_applyIV.sqf
Cplhardcore Sep 10, 2024
a444afb
Update fnc_applyIV.sqf
Cplhardcore Sep 10, 2024
ffa00c7
Removal
Cplhardcore Sep 10, 2024
5ed12ec
fixes
Cplhardcore Sep 10, 2024
c4fca7d
fixes
Cplhardcore Sep 10, 2024
7a01006
Update fnc_retrieveIV.sqf
Cplhardcore Sep 10, 2024
93dd5a2
Update fnc_retrieveIV.sqf
Cplhardcore Sep 10, 2024
7c2d797
Update fnc_retrieveIV.sqf
Cplhardcore Sep 11, 2024
b4488d5
fixes
Cplhardcore Sep 11, 2024
a1b4471
Update stringtable.xml
Cplhardcore Sep 11, 2024
f549e5d
Update fnc_gui_updateInjuryListPart.sqf
Cplhardcore Sep 11, 2024
f22081b
Update fnc_gui_updateInjuryListPart.sqf
Cplhardcore Sep 11, 2024
c77878e
Add rates and fixed blockages
Cplhardcore Sep 11, 2024
cf72974
Update fnc_getBloodVolumeChange.sqf
Cplhardcore Sep 11, 2024
7c8e95e
Create fnc_overdose.sqf
Cplhardcore Sep 11, 2024
96dc842
EACA and TXA changes
Cplhardcore Sep 11, 2024
64b6201
Delete fnc_overdose.sqf
Cplhardcore Sep 11, 2024
ef38cf8
Merge branch 'KAT-Advanced-Medical:dev-Tomcat' into Medication_Rework
Cplhardcore Sep 11, 2024
c3ce17c
Merge branch 'Medication_Rework' of https://github.com/Cplhardcore/KA…
Cplhardcore Sep 11, 2024
4a3fa65
add actions try 1
Cplhardcore Sep 12, 2024
8d478e9
Fix
Cplhardcore Sep 12, 2024
d580f21
fix 2
Cplhardcore Sep 12, 2024
1ab030f
Update CfgVehicles.hpp
Cplhardcore Sep 12, 2024
2af6d16
Update CfgVehicles.hpp
Cplhardcore Sep 12, 2024
72b7695
Update CfgVehicles.hpp
Cplhardcore Sep 12, 2024
d35e672
Fix 4
Cplhardcore Sep 12, 2024
cc096d6
Update XEH_PREP.hpp
Cplhardcore Sep 12, 2024
d949ded
Update fnc_prepareSyringe.sqf
Cplhardcore Sep 12, 2024
28d7939
try?
Cplhardcore Sep 12, 2024
5e9d642
Stringtable fix
Cplhardcore Sep 12, 2024
f9b5f95
Update fnc_prepareSyringe.sqf
Cplhardcore Sep 12, 2024
43f3c70
Update
Cplhardcore Sep 12, 2024
ba35b8e
Update stringtable.xml
Cplhardcore Sep 12, 2024
454a742
Update fnc_insertChildrenSyringe.sqf
Cplhardcore Sep 12, 2024
fdcf239
Update fnc_insertChildrenSyringe.sqf
Cplhardcore Sep 12, 2024
c4b5044
Adding all meds to new system
Cplhardcore Sep 12, 2024
54c5fc1
Final?
Cplhardcore Sep 13, 2024
3ac8689
Update fnc_treatmentAdvanced_KetamineLocal.sqf
Cplhardcore Sep 13, 2024
8917c16
fixes
Cplhardcore Sep 13, 2024
15626b9
Update stringtable.xml
Cplhardcore Sep 13, 2024
c0a8298
Update stringtable.xml
Cplhardcore Sep 13, 2024
11cdc8f
weeee
Cplhardcore Sep 13, 2024
3ca8fea
weee
Cplhardcore Sep 13, 2024
ba07a79
weee
Cplhardcore Sep 13, 2024
3ae72e5
Scope
Cplhardcore Sep 13, 2024
219e968
Update fnc_treatmentAdvanced_KetamineLocal.sqf
Cplhardcore Sep 13, 2024
3b3480e
fixed
Cplhardcore Sep 13, 2024
c32ac6e
add to med checks
Cplhardcore Sep 13, 2024
b8ee551
Update fnc_applyIV.sqf
Cplhardcore Sep 13, 2024
adfcb02
oops
Cplhardcore Sep 13, 2024
dfbefb1
Start of AMS
Cplhardcore Sep 13, 2024
89a7c09
Update fnc_treatmentAdvanced_KetamineLocal.sqf
Cplhardcore Sep 14, 2024
ab08ae5
atropine fix
Cplhardcore Sep 14, 2024
7dcf17a
Update ACE_Medical_Treatment_Actions.hpp
Cplhardcore Sep 14, 2024
cac1bf6
Ketamine fixes
Cplhardcore Sep 14, 2024
f542aed
coding sucks
Cplhardcore Sep 14, 2024
fe7e241
cleanup
Cplhardcore Sep 20, 2024
d7046c5
woops
Cplhardcore Sep 20, 2024
0e2e2a7
weee
Cplhardcore Sep 20, 2024
fa0e3f7
try again
Cplhardcore Sep 20, 2024
cdc1af9
woops
Cplhardcore Sep 20, 2024
d702c68
Revert "woops"
Cplhardcore Sep 20, 2024
d951500
Merge branch 'Medication_Rework' of https://github.com/Cplhardcore/KA…
Cplhardcore Sep 20, 2024
43823a6
Revert "Merge branch 'Medication_Rework' of https://github.com/Cplhar…
Cplhardcore Sep 20, 2024
395614c
IV fixes and broken GUI
Cplhardcore Sep 30, 2024
4c4fe14
wellp, im eepy, sleep
Cplhardcore Sep 30, 2024
731464a
well
Cplhardcore Oct 1, 2024
87b981d
WEEE
Cplhardcore Oct 1, 2024
0a46e85
holy beans its almost done
Cplhardcore Oct 2, 2024
81eab33
tab fixes
Cplhardcore Oct 2, 2024
4a478c8
i hate GUI i hate GUI
Cplhardcore Oct 2, 2024
2ff2ca3
ITS FIXED
Cplhardcore Oct 2, 2024
9ef32db
Remove old ace actions, plus a suprise
Cplhardcore Oct 2, 2024
2aa1661
fixes
Cplhardcore Oct 3, 2024
f7f3cd3
Merge branch 'KAT-Advanced-Medical:dev-Tomcat' into Medication_Rework
Cplhardcore Oct 4, 2024
847b9d7
Forgot atropine
Cplhardcore Oct 4, 2024
7324748
Moving this to effects and overdose
Cplhardcore Oct 5, 2024
d4652da
Cleanup
Cplhardcore Oct 5, 2024
9239918
Woohoo
Cplhardcore Oct 5, 2024
6c9a0dd
prep fix
Cplhardcore Oct 8, 2024
de1a335
One small fix
Cplhardcore Oct 8, 2024
5f109a5
Squashed from effects, as these things are more for main PR
Cplhardcore Oct 8, 2024
fbc5047
Merge remote-tracking branch 'upstream/dev-Tomcat' into Medication_Re…
Cplhardcore Oct 8, 2024
dc0069b
Fixes from the upstream
Cplhardcore Oct 8, 2024
21a32e1
i hate stringtables
Cplhardcore Oct 8, 2024
af554ef
Merge remote-tracking branch 'upstream/dev-Tomcat' into Medication_Re…
Cplhardcore Oct 11, 2024
bacc9ed
GUI Fixes
Cplhardcore Oct 11, 2024
28e14ca
Initial
Cplhardcore Oct 12, 2024
437a7d4
Small changes
Cplhardcore Oct 12, 2024
c6ec349
Update gui.hpp
Cplhardcore Oct 12, 2024
3b9def0
Fixes
Cplhardcore Oct 12, 2024
440b569
Fix
Cplhardcore Oct 12, 2024
d971a20
Wee
Cplhardcore Oct 12, 2024
4b68466
Blood fix
Cplhardcore Oct 12, 2024
abd729a
Weight changes
Cplhardcore Oct 12, 2024
136257f
Motherforking misplaced };
Cplhardcore Oct 12, 2024
984b07e
WEEE
Cplhardcore Oct 12, 2024
5dd8661
weee
Cplhardcore Oct 12, 2024
1fc1af4
Update fnc_prepareSyringe.sqf
Cplhardcore Oct 12, 2024
d16f109
Merge branch 'Medication-Rework-Effects-and-OD' into Medication_Rework
Cplhardcore Oct 12, 2024
34bc05f
Merge pull request #10 from Cplhardcore/Medication_Rework
Cplhardcore Oct 12, 2024
fb93a59
Update launch.toml
Cplhardcore Oct 13, 2024
8616b7c
Update launch.toml
Cplhardcore Oct 13, 2024
1cb8672
weeehoo
Cplhardcore Oct 16, 2024
a22b5c2
Small fixes
Cplhardcore Oct 17, 2024
3a0ee86
Merge branch 'Medication_Rework' into Medication-Rework-Effects-and-OD
Cplhardcore Oct 17, 2024
33bf872
Merge remote-tracking branch 'upstream/dev-Tomcat' into Medication-Re…
Cplhardcore Oct 17, 2024
7f610f5
start of overdose effects
Cplhardcore Oct 23, 2024
b6ff6a2
More changes, weee!
Cplhardcore Oct 23, 2024
3ffee91
Fix tabs
Cplhardcore Oct 23, 2024
31ce10a
fixed ;
Cplhardcore Oct 23, 2024
a33dc71
more fixes
Cplhardcore Oct 23, 2024
500a9db
changes to TXA/EACA OD
Cplhardcore Oct 23, 2024
4be57a1
small fix
Cplhardcore Oct 23, 2024
20ef2d8
Weehoo
Cplhardcore Oct 23, 2024
46519a8
MORE OVERDOSES
Cplhardcore Oct 23, 2024
5d5c0c8
Fixes
Cplhardcore Oct 24, 2024
c6a6764
More oD
Cplhardcore Oct 24, 2024
8c341d9
More fun stuff
Cplhardcore Oct 24, 2024
b1aa8af
Merge remote-tracking branch 'upstream/dev-Tomcat' into Medication_Re…
Cplhardcore Oct 27, 2024
6411ce3
small fixes
Cplhardcore Oct 27, 2024
81d0e1d
Fixes
Cplhardcore Oct 30, 2024
3d6e93e
Fun times
Cplhardcore Oct 30, 2024
9203ce8
Merge branch 'Medication-Rework-Effects-and-OD' into Medication_Rework
Cplhardcore Oct 30, 2024
c82f006
Merge pull request #11 from Cplhardcore/Medication_Rework
Cplhardcore Oct 30, 2024
f571088
Adds alteplase and effects
Cplhardcore Oct 30, 2024
3459d41
Adds a whole bunch of OD effects
Cplhardcore Nov 12, 2024
91d054b
More stuff
Cplhardcore Nov 13, 2024
e6a9877
fixes
Cplhardcore Nov 13, 2024
25c660e
More fixes
Cplhardcore Nov 13, 2024
780fd5e
Fixes
Cplhardcore Nov 16, 2024
6ca29ab
overwrites and small changes
Cplhardcore Nov 16, 2024
2d717f9
Merge branch 'KAT-Advanced-Medical:dev-Tomcat' into Medication_Rework
Cplhardcore Nov 16, 2024
4c5f7b6
Merge pull request #12 from Cplhardcore/Medication-Rework-Effects-and-OD
Cplhardcore Nov 16, 2024
d515753
HEMTT FIXES
Cplhardcore Nov 17, 2024
30c6a8a
HEMTT FIXES
Cplhardcore Nov 17, 2024
179b32d
holy shite its done
Cplhardcore Nov 17, 2024
70f5d62
Update fnc_medicationLocal.sqf
Cplhardcore Nov 17, 2024
893c4b1
WAEs are fun and im drunk
Cplhardcore Nov 17, 2024
433b645
I LIED, MORE CHANGES
Cplhardcore Nov 17, 2024
71d9c4b
commas
Cplhardcore Nov 17, 2024
1570548
More fixes
Cplhardcore Nov 17, 2024
fa4c345
Headers
Cplhardcore Nov 18, 2024
70ddc2b
why are you still here
Cplhardcore Nov 18, 2024
d454df2
small update
Cplhardcore Nov 18, 2024
15db74f
Adds WUAE to some overdoses
Cplhardcore Nov 22, 2024
8a11d72
Makes HR effect medications
Cplhardcore Nov 22, 2024
76d40a0
fixes
Cplhardcore Nov 22, 2024
4c3606e
adds counteractions and limits to lung surface area
Cplhardcore Nov 23, 2024
0d344e4
Initial
Cplhardcore Nov 24, 2024
421e51c
Tabs
Cplhardcore Nov 24, 2024
17e3115
oopsa
Cplhardcore Nov 24, 2024
44c5613
Adds else condition to packed RBCs
Cplhardcore Nov 24, 2024
404a3f4
Small changes
Cplhardcore Nov 25, 2024
67d873f
Help me ive gone down a rabbithole
Cplhardcore Nov 25, 2024
e06d113
First pass of IV complications
Cplhardcore Nov 26, 2024
a9a0e0e
Fixes
Cplhardcore Nov 27, 2024
a8fdbbb
Update fnc_handleLimbIVComplications.sqf
Cplhardcore Nov 27, 2024
2d1b2f4
Update fnc_getBloodVolumeChange.sqf
mazinskihenry Nov 27, 2024
5e3fabd
Update fnc_fluidLocal.sqf
mazinskihenry Nov 27, 2024
f9e70ef
Update fnc_fluidLocal.sqf
mazinskihenry Nov 27, 2024
c6fb7e5
Update fnc_treatmentAdvanced_CheckVein.sqf
mazinskihenry Nov 27, 2024
74a46a8
Update fnc_handleLimbIVComplications.sqf
mazinskihenry Nov 27, 2024
3174a4c
Update fnc_handleLimbIVComplications.sqf
mazinskihenry Nov 27, 2024
40f97ed
Update fnc_getBloodVolumeChange.sqf
mazinskihenry Nov 27, 2024
665a949
Fixes, stringtables, and small changes
Cplhardcore Nov 28, 2024
e99d5c8
Update fnc_medicationLocal.sqf
Cplhardcore Nov 28, 2024
aa9ba21
Fixes
Cplhardcore Nov 30, 2024
d255205
Update fnc_treatmentAdvanced_FlushLocal.sqf
Cplhardcore Nov 30, 2024
19e237d
Update fnc_treatmentAdvanced_FlushLocal.sqf
Cplhardcore Nov 30, 2024
196f6fd
More stuff
Cplhardcore Dec 1, 2024
a96a8b8
fixes
Cplhardcore Dec 2, 2024
f649f16
Wee
Cplhardcore Dec 2, 2024
af6ee7e
Update fnc_getBloodVolumeChange.sqf
Cplhardcore Dec 2, 2024
14d378e
hehe, 20g iv time
Cplhardcore Dec 3, 2024
cd5396c
Update fnc_getBloodVolumeChange.sqf
Cplhardcore Dec 3, 2024
579c2da
Update fnc_getBloodVolumeChange.sqf
Cplhardcore Dec 3, 2024
10b226e
Initial
Cplhardcore Nov 24, 2024
00b1451
Tabs
Cplhardcore Nov 24, 2024
93c05bb
oopsa
Cplhardcore Nov 24, 2024
d888d82
Adds else condition to packed RBCs
Cplhardcore Nov 24, 2024
fbfed45
Small changes
Cplhardcore Nov 25, 2024
1f43d27
Help me ive gone down a rabbithole
Cplhardcore Nov 25, 2024
2e41a0c
First pass of IV complications
Cplhardcore Nov 26, 2024
f6c858a
Fixes
Cplhardcore Nov 27, 2024
57284c8
Update fnc_handleLimbIVComplications.sqf
Cplhardcore Nov 27, 2024
a18a75d
Update fnc_getBloodVolumeChange.sqf
mazinskihenry Nov 27, 2024
25d2b22
Update fnc_fluidLocal.sqf
mazinskihenry Nov 27, 2024
d33780a
Update fnc_fluidLocal.sqf
mazinskihenry Nov 27, 2024
de6a612
Update fnc_treatmentAdvanced_CheckVein.sqf
mazinskihenry Nov 27, 2024
716e294
Update fnc_handleLimbIVComplications.sqf
mazinskihenry Nov 27, 2024
a97cd6c
Update fnc_handleLimbIVComplications.sqf
mazinskihenry Nov 27, 2024
33ba2b2
Update fnc_getBloodVolumeChange.sqf
mazinskihenry Nov 27, 2024
5444dca
More stuff
Cplhardcore Dec 1, 2024
74832dc
fixes
Cplhardcore Dec 2, 2024
8cf9f7f
Wee
Cplhardcore Dec 2, 2024
17c68a7
Update fnc_getBloodVolumeChange.sqf
Cplhardcore Dec 2, 2024
c95e51d
Update fnc_getBloodVolumeChange.sqf
Cplhardcore Dec 3, 2024
aee36da
Update fnc_getBloodVolumeChange.sqf
Cplhardcore Dec 3, 2024
77f418c
Fixes
Cplhardcore Dec 3, 2024
5ae7cd5
q
Cplhardcore Dec 3, 2024
24b597d
Fixes
Cplhardcore Dec 3, 2024
05a45b5
Merge branch 'dev-Tomcat' into Medication_Rework
Cplhardcore Dec 3, 2024
7dc64e7
Update fnc_treatmentAdvanced_AlteplaseOverdoseLocal.sqf
Cplhardcore Dec 4, 2024
697bba9
fixes
Cplhardcore Dec 4, 2024
ea190e6
multipliers
Cplhardcore Dec 4, 2024
f346028
Merge branch 'dev-Tomcat' into Medication_Rework
Cplhardcore Dec 4, 2024
0102ed5
Update fnc_medicationLocal.sqf
Cplhardcore Dec 4, 2024
2501439
Merge branch 'Fluids-Rework' of https://github.com/Cplhardcore/KAM in…
Cplhardcore Dec 11, 2024
feabd78
Fixes, and new saline flush
Cplhardcore Dec 12, 2024
957d362
Weee
Cplhardcore Dec 15, 2024
fcf5537
Merge branch 'Medication_Rework' into Fluids-Rework
Cplhardcore Dec 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
150 changes: 147 additions & 3 deletions addons/circulation/ACE_Medical_Treatment.hpp
Original file line number Diff line number Diff line change
@@ -1,130 +1,274 @@
class ACE_Medical_Treatment {
class IV {
class BloodIV;
class BloodIV_500;
class BloodIV_250;
volume = 1000;
ratio[] = {};
type = "Blood";
viscosity = 0.9;
painReduce = 0;
hrIncreaseLow[] = {0, 0};
hrIncreaseNormal[] = {0, 0};
hrIncreaseHigh[] = {0, 0};
timeInSystem = 120;
timeTillMaxEffect = 30;
onOverDose = "";
viscosityChange = 0;
alphaFactor = 0;
maxRelief = 0;
opioidRelief = 0;
opioidEffect = 0;
class BloodIV {
volume = 1000;
ratio[] = {"Plasma", 1};
viscosity = 0.9;
};
class BloodIV_500: BloodIV {
volume = 500;
viscosity = 0.9;
};
class BloodIV_250: BloodIV {
volume = 250;
viscosity = 0.9;
};
class PlasmaIV: BloodIV {
volume = 1000;
ratio[] = {"Blood", 1};
type = "Plasma";
viscosity = 1;
};
class PlasmaIV_500: PlasmaIV {
volume = 500;
viscosity = 1;
};
class PlasmaIV_250: PlasmaIV {
volume = 250;
viscosity = 1;
};
class SalineIV: BloodIV {
volume = 1000;
type = "Saline";
ratio[] = {};
viscosity = 1.3;
};
class SalineIV_500: SalineIV {
volume = 500;
viscosity = 1.3;
};
class SalineIV_250: SalineIV {
volume = 250;
viscosity = 1.3;
};

class BloodIV_O: BloodIV {
volume = 1000;
bloodType = "O";
compatibility[] = {"O", "A", "B", "AB"};
viscosity = 0.9;
};
class BloodIV_O_N: BloodIV {
volume = 1000;
bloodType = "O_N";
compatibility[] = {"O", "O_N", "A", "A_N", "B","B_N", "AB", "AB_N"};
viscosity = 0.9;
};
class BloodIV_A: BloodIV {
volume = 1000;
bloodType = "A";
compatibility[] = {"A", "AB"};
viscosity = 0.9;
};
class BloodIV_A_N: BloodIV {
volume = 1000;
bloodType = "A_N";
compatibility[] = {"A", "A_N", "AB", "AB_N"};
viscosity = 0.9;
};
class BloodIV_B: BloodIV {
volume = 1000;
bloodType = "B";
compatibility[] = {"B", "AB"};
viscosity = 0.9;
};
class BloodIV_B_N: BloodIV {
volume = 1000;
bloodType = "B_N";
compatibility[] = {"B","B_N", "AB", "AB_N"};
viscosity = 0.9;
};
class BloodIV_AB: BloodIV {
volume = 1000;
bloodType = "AB";
compatibility[] = {"AB"};
viscosity = 0.9;
};
class BloodIV_AB_N: BloodIV {
volume = 1000;
bloodType = "AB_N";
compatibility[] = {"AB","AB_N"};
viscosity = 0.9;
};

class BloodIV_O_500: BloodIV_500 {
volume = 500;
bloodType = "O";
compatibility[] = {"O", "A", "B", "AB"};
viscosity = 0.9;
};
class BloodIV_O_N_500: BloodIV_500 {
volume = 500;
bloodType = "O_N";
compatibility[] = {"O", "O_N", "A", "A_N", "B","B_N", "AB", "AB_N"};
viscosity = 0.9;
};
class BloodIV_A_500: BloodIV_500 {
volume = 500;
bloodType = "A";
compatibility[] = {"A", "AB"};
viscosity = 0.9;
};
class BloodIV_A_N_500: BloodIV_500 {
volume = 500;
bloodType = "A_N";
compatibility[] = {"A", "A_N", "AB", "AB_N"};
viscosity = 0.9;
};
class BloodIV_B_500: BloodIV_500 {
volume = 500;
bloodType = "B";
compatibility[] = {"B", "AB"};
viscosity = 0.9;
};
class BloodIV_B_N_500: BloodIV_500 {
volume = 500;
bloodType = "B_N";
compatibility[] = {"B","B_N", "AB", "AB_N"};
viscosity = 0.9;
};
class BloodIV_AB_500: BloodIV_500 {
volume = 500;
bloodType = "AB";
compatibility[] = {"AB"};
viscosity = 0.9;
};
class BloodIV_AB_N_500: BloodIV_500 {
volume = 500;
bloodType = "AB_N";
compatibility[] = {"AB","AB_N"};
viscosity = 0.9;
};

class BloodIV_O_250: BloodIV_250 {
volume = 250;
bloodType = "O";
compatibility[] = {"O", "A", "B", "AB"};
viscosity = 0.9;
};
class BloodIV_O_N_250: BloodIV_250 {
volume = 250;
bloodType = "O_N";
compatibility[] = {"O", "O_N", "A", "A_N", "B","B_N", "AB", "AB_N"};
viscosity = 0.9;
};
class BloodIV_A_250: BloodIV_250 {
volume = 250;
bloodType = "A";
compatibility[] = {"A", "AB"};
viscosity = 0.9;
};
class BloodIV_A_N_250: BloodIV_250 {
volume = 250;
bloodType = "A_N";
compatibility[] = {"A", "A_N", "AB", "AB_N"};
viscosity = 0.9;
};
class BloodIV_B_250: BloodIV_250 {
volume = 250;
bloodType = "B";
compatibility[] = {"B", "AB"};
viscosity = 0.9;
};
class BloodIV_B_N_250: BloodIV_250 {
volume = 250;
bloodType = "B_N";
compatibility[] = {"B","B_N", "AB", "AB_N"};
viscosity = 0.9;
};
class BloodIV_AB_250: BloodIV_250 {
volume = 250;
bloodType = "AB";
compatibility[] = {"AB"};
viscosity = 0.9;
};
class BloodIV_AB_N_250: BloodIV_250 {
volume = 250;
bloodType = "AB_N";
compatibility[] = {"AB","AB_N"};
viscosity = 0.9;
};
class RingersLactateIV: SalineIV {
volume = 1000;
viscosity = 1.3;
type = "Ringers Lactate";
};
class RingersLactateIV_500: SalineIV_500 {
volume = 500;
viscosity = 1.3;
type = "Ringers Lactate";
};
class RingersLactateIV_250: SalineIV_250 {
volume = 250;
viscosity = 1.3;
type = "Ringers Lactate";
};
class PackedRBC_500: BloodIV_500 {
volume = 500;
viscosity = 0.7;
type = "PackedRBC";
};
class PackedRBC_250: BloodIV_250 {
volume = 250;
viscosity = 0.7;
type = "PackedRBC";
};
class MorphineInfusion_IV: SalineIV_500 {
painReduce = 0.8;
hrIncreaseLow[] = {-2, -7};
hrIncreaseNormal[] = {-3, -10};
hrIncreaseHigh[] = {-5, -16};
timeInSystem = 15;
timeTillMaxEffect = 3;
dose = 0.3;
viscosityChange = -15;
opioidRelief = 1.3;
volume = 500;
viscosity = 1.3;
type = "MorphineInfusion";
};
class EpinephrineInfusion_IV: SalineIV_500 {
painReduce = 0;
hrIncreaseLow[] = {3, 14};
hrIncreaseNormal[] = {5, 20};
hrIncreaseHigh[] = {7, 25};
timeInSystem = 10;
timeTillMaxEffect = 3;
dose = 0.1;
alphaFactor = -0.2;
onOverDose = "";
volume = 500;
viscosity = 1.3;
type = "EpinephrineInfusion";
};
class EtomidateInfusion_IV: SalineIV_500 {
painReduce = 0.2;
hrIncreaseLow[] = {-3, -7};
hrIncreaseNormal[] = {-6, -13};
hrIncreaseHigh[] = {-10, -20};
timeInSystem = 7;
timeTillMaxEffect = 1;
dose = 0.1;
viscosityChange = 0;
volume = 500;
viscosity = 1.3;
type = "EtomidateInfusion";
};
};
};
31 changes: 31 additions & 0 deletions addons/circulation/Blood_Medical.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
class BloodIV;
class SalineIV;
class BloodIV_O: BloodIV {
displayName = CSTRING(Action_BloodIV_O);
items[] = {"kat_bloodIV_O"};
Expand Down Expand Up @@ -121,3 +122,33 @@ class BloodIV_AB_N_250: BloodIV_250 {
items[] = {"kat_bloodIV_AB_N_250"};
callbackSuccess = "[_medic, _patient, _bodyPart, _className, _usedItem] call kat_circulation_fnc_handleTreatment; ['kat_fluid', [_patient, -200, 4]] call CBA_fnc_localEvent;";
};
class PackedRBCIV_500: BloodIV {
displayName = CSTRING(Actions_Packed_RBC_500);
items[] = {"kat_PackedRBCIV_500"};
displayNameProgress = CSTRING(Transfusing_Packed_RBC);
callbackSuccess = "[_medic, _patient, _bodyPart, _className, _itemUser, _usedItem] call ace_medical_treatment_fnc_ivBag; [_patient, -400, 12, _className] call kat_pharma_fnc_fluid;";
};
class PackedRBC_250: BloodIV {
displayName = CSTRING(Actions_Packed_RBC_250);
items[] = {"kat_PackedRBCIV_250"};
displayNameProgress = CSTRING(Transfusing_Packed_RBC);
callbackSuccess = "[_medic, _patient, _bodyPart, _className, _itemUser, _usedItem] call ace_medical_treatment_fnc_ivBag; [_patient, -200, 6, _className] call kat_pharma_fnc_fluid;";
};
class RingersLactateIV: SalineIV {
displayName = CSTRING(Actions_Ringers_Lactate);
items[] = {"kat_RingersLactateIV"};
displayNameProgress = CSTRING(Transfusing_Ringers_Lactate);
callbackSuccess = "[_medic, _patient, _bodyPart, _className, _itemUser, _usedItem] call ace_medical_treatment_fnc_ivBag; [_patient, -200, 0, _className] call kat_pharma_fnc_fluid;";
};
class RingersLactateIV_500: SalineIV {
displayName = CSTRING(Actions_Ringers_Lactate_500);
items[] = {"kat_RingersLactateIV_500"};
displayNameProgress = CSTRING(Transfusing_Ringers_Lactate);
callbackSuccess = "[_medic, _patient, _bodyPart, _className, _itemUser, _usedItem] call ace_medical_treatment_fnc_ivBag; [_patient, -100, 0, _className] call kat_pharma_fnc_fluid;";
};
class RingersLactateIV_250: SalineIV {
displayName = CSTRING(Actions_Ringers_Lactate_250);
items[] = {"kat_RingersLactateIV_250"};
displayNameProgress = CSTRING(Transfusing_Ringers_Lactate);
callbackSuccess = "[_medic, _patient, _bodyPart, _className, _itemUser, _usedItem] call ace_medical_treatment_fnc_ivBag; [_patient, -50, 0, _className] call kat_pharma_fnc_fluid;";
};
58 changes: 58 additions & 0 deletions addons/circulation/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ class CfgWeapons {
class ACE_ItemCore;
class CBA_MiscItem_ItemInfo;
class ACE_bloodIV;
class ACE_salineIV;
class ACE_salineIV_500;
class ACE_salineIV_250;

class kat_bloodIV_O: ACE_bloodIV {
displayName = CSTRING(BloodIV_O);
Expand Down Expand Up @@ -96,6 +99,61 @@ class CfgWeapons {
class kat_bloodIV_AB_N_250: kat_bloodIV_O_250 {
displayName = CSTRING(BloodIV_AB_250_N);
};
class kat_RingersLactateIV: ACE_salineIV {
scope = 2;
author = "Cplhardcore";
displayName = CSTRING(Ringers_Lactate_IV);
descriptionShort = CSTRING(Ringers_Lactate_IV_Desc_Short);
descriptionUse = CSTRING(Ringers_Lactate_IV_Desc_Use);
ACE_isMedicalItem = 1;
class ItemInfo: CBA_MiscItem_ItemInfo {
mass = 10;
};
};
class kat_RingersLactateIV_500: ACE_salineIV_500 {
scope = 2;
author = "Cplhardcore";
displayName = CSTRING(Ringers_Lactate_IV_500);
descriptionShort = CSTRING(Ringers_Lactate_IV_Desc_Short);
descriptionUse = CSTRING(Ringers_Lactate_IV_Desc_Use);
ACE_isMedicalItem = 1;
class ItemInfo: CBA_MiscItem_ItemInfo {
mass = 5;
};
};
class kat_RingersLactateIV_250: ACE_salineIV_250 {
scope = 2;
author = "Cplhardcore";
displayName = CSTRING(Ringers_Lactate_IV_250);
descriptionShort = CSTRING(Ringers_Lactate_IV_Desc_Short);
descriptionUse = CSTRING(Ringers_Lactate_IV_Desc_Use);
ACE_isMedicalItem = 1;
class ItemInfo: CBA_MiscItem_ItemInfo {
mass = 2.5;
};
};
class kat_PackedRBCIV_500: ACE_bloodIV_500 {
scope = 2;
author = "Cplhardcore";
displayName = CSTRING(Packed_RBC_IV_500);
descriptionShort = CSTRING(Packed_RBC_IV_Desc_Short);
descriptionUse = CSTRING(Packed_RBC_IV_Desc_Use);
ACE_isMedicalItem = 1;
class ItemInfo: CBA_MiscItem_ItemInfo {
mass = 5;
};
};
class kat_PackedRBCIV_250: ACE_bloodIV_250 {
scope = 2;
author = "Cplhardcore";
displayName = CSTRING(Packed_RBC_IV_250);
descriptionShort = CSTRING(Packed_RBC_IV_Desc_Short);
descriptionUse = CSTRING(Packed_RBC_IV_Desc_Use);
ACE_isMedicalItem = 1;
class ItemInfo: CBA_MiscItem_ItemInfo {
mass = 2.5;
};
};
class KAT_Empty_bloodIV_500: ACE_bloodIV
{
displayName = CSTRING(FieldBloodTK500_Display);
Expand Down
Loading
Loading