mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
31 lines
681 B
Plaintext
31 lines
681 B
Plaintext
#include "script_component.hpp"
|
|
// Author: Garth 'L-H' de Wet
|
|
// Initialises the parachute system.
|
|
|
|
ADDON = false;
|
|
|
|
PREP_RECOMPILE_START;
|
|
#include "XEH_PREP.hpp"
|
|
PREP_RECOMPILE_END;
|
|
|
|
[
|
|
QGVAR(hideAltimeter),
|
|
"CHECKBOX",
|
|
[LSTRING(HideAltimeter), LSTRING(HideAltimeter_tooltip)],
|
|
["ACE Uncategorized", localize "str_dn_parachute"],
|
|
true,
|
|
false,
|
|
{[QGVAR(hideAltimeter), _this, false] call EFUNC(common,cbaSettings_settingChanged)}
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(failureChance),
|
|
"SLIDER",
|
|
LSTRING(FailureChance),
|
|
["ACE Uncategorized", localize "str_dn_parachute"],
|
|
[0, 1, 0, 2, true],
|
|
1
|
|
] call CBA_fnc_addSetting;
|
|
|
|
ADDON = true;
|