mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
742626ff1a
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
19 lines
764 B
Plaintext
19 lines
764 B
Plaintext
// ["vehicleTransportFuel"] call ace_common_fnc_runTests;
|
|
// execVM "z\ace\addons\refuel\dev\test_debugConfigs.sqf";
|
|
|
|
#include "..\script_component.hpp"
|
|
|
|
private _testPass = true;
|
|
|
|
diag_log text format ["[ACE-refuel] Showing CfgVehicles with vanilla transportFuel"];
|
|
private _fuelTrucks = configProperties [configFile >> "CfgVehicles", "(isClass _x) && {(getNumber (_x >> 'transportFuel')) > 0}", true];
|
|
{
|
|
if ((configName _x) isKindOf "Car") then {
|
|
diag_log text format ["Car [%1] needs config [transportFuel: %2]", configName _x, getNumber (_x >> 'transportFuel')];
|
|
} else {
|
|
diag_log text format ["Non-car? [%1] needs config [transportFuel: %2]", configName _x, getNumber (_x >> 'transportFuel')];
|
|
};
|
|
} forEach _fuelTrucks;
|
|
|
|
_testPass
|