mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
52915e1104
* Common func to run config tests * Add map config testing, malden data and reverse map config's latitude * Headers * Simplify config levels * Header * fix example
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
|