ACE3/addons/realisticnames/config.cpp
Dystopian 10ffcea9b7
Optionals - Add No Medical and No Realistic Names components (#8187)
* Add nomedical and norealisticnames components

* Add fire component disabling

* Make it work

* remove headlight skipping

* update preprocess syntax

* fix git screwup

* Apply suggestions from code review

---------

Co-authored-by: LinkIsGrim <salluci.lovi@gmail.com>
Co-authored-by: jonpas <jonpas33@gmail.com>
2023-09-03 21:56:54 -04:00

32 lines
807 B
C++

#include "script_component.hpp"
#if __has_include("\z\ace\addons\norealisticnames\script_component.hpp")
#define PATCH_SKIP "No Realistic Names"
#endif
#ifdef PATCH_SKIP
ACE_PATCH_NOT_LOADED(ADDON,PATCH_SKIP)
#else
class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common", "ace_optics"};
author = ECSTRING(common,ACETeam);
authors[] = {"KoffeinFlummi","TaoSensai","commy2"};
url = ECSTRING(main,URL);
VERSION_CONFIG;
// this prevents any patched class from requiring this addon
addonRootClass = "A3_Characters_F";
};
};
#include "CfgMagazines.hpp"
#include "CfgVehicles.hpp"
#include "CfgWeapons.hpp"
#endif