mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Cargo - Revert Load Times Normalize (#6638)
This commit is contained in:
parent
6363f73fb8
commit
6ad28439b0
@ -39,7 +39,7 @@ if ([_object, _vehicle] call FUNC(canLoadItemIn)) then {
|
||||
private _size = [_object] call FUNC(getSizeItem);
|
||||
|
||||
[
|
||||
GVAR(loadTimeCoefficient) * 5 * _size,
|
||||
GVAR(loadTimeCoefficient) * _size,
|
||||
[_object, _vehicle],
|
||||
{
|
||||
[objNull, _this select 0 select 0, true] call EFUNC(common,claim);
|
||||
|
@ -70,7 +70,7 @@ if ([_item, GVAR(interactionVehicle), ACE_player] call FUNC(canUnloadItem)) then
|
||||
private _size = [_item] call FUNC(getSizeItem);
|
||||
|
||||
[
|
||||
GVAR(loadTimeCoefficient) * 5 * _size,
|
||||
GVAR(loadTimeCoefficient) * _size,
|
||||
[_item, GVAR(interactionVehicle), ACE_player],
|
||||
{["ace_unloadCargo", _this select 0] call CBA_fnc_localEvent},
|
||||
{},
|
||||
|
@ -11,7 +11,7 @@
|
||||
QGVAR(loadTimeCoefficient), "SLIDER",
|
||||
[LSTRING(loadTimeCoefficient), LSTRING(loadTimeCoefficient_description)],
|
||||
[LELSTRING(OptionsMenu,CategoryLogistics), LLSTRING(openMenu)],
|
||||
[0, 3, 1, 1],
|
||||
[0, 10, 5, 1],
|
||||
true,
|
||||
{[QGVAR(loadTimeCoefficient), _this, true] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
|
@ -316,7 +316,7 @@
|
||||
<English>Load Time Coefficient</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Cargo_loadTimeCoefficient_description">
|
||||
<English>Modifies how long it takes to load/unload items.\nTime, in seconds, is 5 times the size of the item multiplied by this value.</English>
|
||||
<English>Modifies how long it takes to load/unload items.\nTime, in seconds, is the size of the item multiplied by this value.</English>
|
||||
</Key>
|
||||
</Package>
|
||||
</Project>
|
||||
|
Loading…
Reference in New Issue
Block a user