mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
15 lines
527 B
Plaintext
15 lines
527 B
Plaintext
|
// ["vehicleTransportAmmo"] call ace_common_fnc_runTests;
|
||
|
// execVM "z\ace\addons\rearm\dev\test_debugConfigs.sqf";
|
||
|
|
||
|
#include "\z\ace\addons\rearm\script_component.hpp"
|
||
|
|
||
|
private _testPass = true;
|
||
|
|
||
|
INFO("Showing CfgVehicles with vanilla transportAmmo");
|
||
|
{
|
||
|
WARNING_2("Type [%1] needs config [transportAmmo: %2]", configName _x, getNumber (_x >> 'transportAmmo'));
|
||
|
_testPass = false;
|
||
|
} forEach (configProperties [configFile >> "CfgVehicles", "(isClass _x) && {(getNumber (_x >> 'transportAmmo')) > 0}", true]);
|
||
|
|
||
|
_testPass
|