Debug: log full per-building proxy name list

Scan log now lists the actual proxy names (map1 + bracketed map2) per house, not
just counts - so we can confirm whether a given proxy (e.g. vending_machine) is
enumerated by the geometry-LOD scan at all.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
smthspec 2026-06-19 10:57:21 +03:00
parent 3dac2ed86a
commit b54c053e13

View file

@ -79,7 +79,14 @@ modded class House
ya_ProxiesBuilt = true;
if (YAProxyConstants.DEBUG)
Print(string.Format("%1 House '%2' proxies built: map1=%3 map2=%4", YAProxyConstants.TAG, GetType(), ya_ProxyMap1.Count(), ya_ProxyMap2.Count()));
{
string names = "";
for (int a = 0; a < ya_ProxyMap1.Count(); a++)
names += ya_ProxyMap1.GetElement(a) + " ";
for (int b = 0; b < ya_ProxyMap2.Count(); b++)
names += "[" + ya_ProxyMap2.GetElement(b) + "] ";
Print(string.Format("%1 House '%2' proxies: map1=%3 map2=%4 | %5", YAProxyConstants.TAG, GetType(), ya_ProxyMap1.Count(), ya_ProxyMap2.Count(), names));
}
}
// A real, targetable proxy selection (not the "proxies" group or shadows).