Searchable furniture (med cabinet, fridge, vending machine) with weighted, config-driven loot tables, and a two-stage repairable sink (repair then gather water). Data-driven registry, in-memory cooldowns/repair state with v2 CF hooks. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
70 lines
1.1 KiB
C++
70 lines
1.1 KiB
C++
class CfgPatches
|
|
{
|
|
class YAInteraction
|
|
{
|
|
units[] = {};
|
|
weapons[] = {};
|
|
requiredVersion = 0.1;
|
|
requiredAddons[] =
|
|
{
|
|
"DZ_Data",
|
|
"DZ_Scripts"
|
|
};
|
|
};
|
|
};
|
|
|
|
class CfgMods
|
|
{
|
|
class YAInteraction
|
|
{
|
|
dir = "YAInteraction";
|
|
picture = "";
|
|
action = "";
|
|
hideName = 1;
|
|
hidePicture = 1;
|
|
name = "YAInteraction";
|
|
credits = "drasikas";
|
|
author = "drasikas";
|
|
authorID = "0";
|
|
version = "1.0";
|
|
extra = 0;
|
|
type = "mod";
|
|
dependencies[] =
|
|
{
|
|
"Game",
|
|
"World",
|
|
"Mission"
|
|
};
|
|
|
|
// Script module registration. We only ship 4_World code in v1, but all three
|
|
// modules are declared so future hooks can drop into the correct layer without
|
|
// touching this file again.
|
|
class defs
|
|
{
|
|
class gameScriptModule
|
|
{
|
|
value = "";
|
|
files[] =
|
|
{
|
|
"YAInteraction/scripts/3_Game"
|
|
};
|
|
};
|
|
class worldScriptModule
|
|
{
|
|
value = "";
|
|
files[] =
|
|
{
|
|
"YAInteraction/scripts/4_World"
|
|
};
|
|
};
|
|
class missionScriptModule
|
|
{
|
|
value = "";
|
|
files[] =
|
|
{
|
|
"YAInteraction/scripts/5_Mission"
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|