diff --git a/scripts/4_World/YAInteraction/Config/YAInteractionConfigLoader.c b/scripts/4_World/YAInteraction/Config/YAInteractionConfigLoader.c index 8e1fc1d..5c00af8 100644 --- a/scripts/4_World/YAInteraction/Config/YAInteractionConfigLoader.c +++ b/scripts/4_World/YAInteraction/Config/YAInteractionConfigLoader.c @@ -107,13 +107,13 @@ class YAInteractionConfigLoader // "case_sink_a" is confirmed (it's in ZenProxyConstants.SINKS). The search // names are best guesses - confirm via ZPF's proxy dump / debug F-key and // correct them in interactables.json (or here + rebuild). - // Proxy names confirmed via YAProxy debug: case_sink_a / fridge / lekarnicka. - // Vending not yet confirmed - "sodamachine" is ZenProxyFramework's name; - // adjust here (or in interactables.json) if your map differs. - d.Interactables.Insert(MakeEntry("case_sink_a", YAInteractionConfig.ACTION_REPAIR_WATER, "", Settings.SinkPlayerCooldownSec)); - d.Interactables.Insert(MakeEntry("lekarnicka", YAInteractionConfig.ACTION_SEARCH, YAInteractionConfig.TABLE_MED, Settings.ObjectCooldownSec)); - d.Interactables.Insert(MakeEntry("fridge", YAInteractionConfig.ACTION_SEARCH, YAInteractionConfig.TABLE_FOOD, Settings.ObjectCooldownSec)); - d.Interactables.Insert(MakeEntry("sodamachine", YAInteractionConfig.ACTION_SEARCH, YAInteractionConfig.TABLE_VENDING, Settings.ObjectCooldownSec)); + // Proxy names (from YAProxy scan / DayZ editor): the resolved name carries + // a ".NNN" instance suffix (e.g. "fridge.001"); the keyword is matched as + // a substring, so the base name is enough. + d.Interactables.Insert(MakeEntry("case_sink_a", YAInteractionConfig.ACTION_REPAIR_WATER, "", Settings.SinkPlayerCooldownSec)); + d.Interactables.Insert(MakeEntry("lekarnicka", YAInteractionConfig.ACTION_SEARCH, YAInteractionConfig.TABLE_MED, Settings.ObjectCooldownSec)); + d.Interactables.Insert(MakeEntry("fridge", YAInteractionConfig.ACTION_SEARCH, YAInteractionConfig.TABLE_FOOD, Settings.ObjectCooldownSec)); + d.Interactables.Insert(MakeEntry("vending_machine", YAInteractionConfig.ACTION_SEARCH, YAInteractionConfig.TABLE_VENDING, Settings.ObjectCooldownSec)); // --- Loot tables (classnames verified in P:\DZ) --- YALootTable med = MakeTable(YAInteractionConfig.TABLE_MED);