ACE3/addons/dragging/initSettings.sqf
Grim e5dc124fe8
Dragging - Add additional weight checks on inventory modification (#9225)
* Allow run when carrying light-weight objects

* Use global var instead of macro

* add weight check, improve getWeight & conditions

* changes from review

* changes from review - postInit

* add param to ignore PhysX mass

* add settings

* BI issue tracker in comment

* change defaults, remove overweight setting

* remove public variable

* setting name changes

* updating case in statusEffect_addType

* move to XEH

* derp

* Add some extra checks for closed events

* Update XEH_postInit.sqf

* conditions

---------

Co-authored-by: Dystopian <sddex@ya.ru>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-07-22 06:30:40 +03:00

27 lines
658 B
Plaintext

[
QGVAR(dragAndFire),
"CHECKBOX",
[LSTRING(DragAndFire_DisplayName), LSTRING(DragAndFire_Description)],
localize LSTRING(SettingsName),
true,
false
] call CBA_fnc_addSetting;
[
QGVAR(allowRunWithLightweight),
"CHECKBOX",
[LSTRING(allowRunWithLightweight_DisplayName), LSTRING(allowRunWithLightweight_Description)],
localize LSTRING(SettingsName),
true,
true
] call CBA_fnc_addSetting;
[
QGVAR(skipContainerWeight),
"CHECKBOX",
[LSTRING(skipContainerWeight_DisplayName), LSTRING(skipContainerWeight_Description)],
localize LSTRING(SettingsName),
false,
true
] call CBA_fnc_addSetting;