- Expanded README.md to detail economy addon functionalities including refueling, medical services, and service charges. - Updated XEH_PREP.hpp to include initSEconomyStore preparation. - Modified XEH_postInit.sqf to ensure MEconomyStore initializes only if not nil. - Adjusted XEH_preInit.sqf to initialize SEconomyStore correctly. - Updated config.cpp to include forge_server_common as a required addon. - Enhanced fnc_initFEconomyStore.sqf to manage fuel refueling sessions and organization charges. - Improved fnc_initMEconomyStore.sqf to handle medical billing and fallback to organization funds. - Created fnc_initSEconomyStore.sqf for organization-funded service charges and repairs. - Updated org.rs and org.rs service layer to support member debt recording and organization fund charging. - Added ECONOMY_USAGE_GUIDE.md for comprehensive documentation on economy functionalities. - Updated MODULE_REFERENCE.md and README.md to include links to the new economy guide.
21 lines
459 B
C++
21 lines
459 B
C++
#include "script_component.hpp"
|
|
|
|
class CfgPatches {
|
|
class ADDON {
|
|
author = AUTHOR;
|
|
authors[] = {"J.Schmidt"};
|
|
url = ECSTRING(main,url);
|
|
name = COMPONENT_NAME;
|
|
requiredVersion = REQUIRED_VERSION;
|
|
requiredAddons[] = {
|
|
"forge_server_main",
|
|
"forge_server_common"
|
|
};
|
|
units[] = {};
|
|
weapons[] = {};
|
|
VERSION_CONFIG;
|
|
};
|
|
};
|
|
|
|
#include "CfgEventHandlers.hpp"
|