// Get a list of all the product icons, allowing them to be toggled for (k = 0; k < industryProductInfoCollection.ipicCollection.size( ); k++)
{
IndustryProductInfoComplete ipiCollection = industryProductInfoCollection.ipicCollection[k];
for (l = 0; l < ipiCollection.processes.size(); l++)
{
IndustryProductInfoProcess ipip = ipiCollection.processes[l];
if (ipip.GetProcessName() == processes[i])
{
Asset asset = ipiCollection.GetProduct();
KUID kuid = asset.GetKUID();
string icon = kuid.GetHTMLString();
// Limit the product list count to [B][COLOR="#800000"]6[/COLOR][/B][B][I][COLOR="#800000"] <-- CHANGE[/COLOR][/I][/B]
if (ipip.DoesUseInputForSurveyor() and productListInCount < [B][COLOR="#800000"]6[/COLOR][/B])[B][I][COLOR="#800000"] <-- CHANGE[/COLOR][/I][/B]
{
productListIn = productListIn + HTMLWindow.MakeLink( "live://property/ToggleProcessDisplayIn/" + (string)k + "/" + (string)l, HTMLWindow.MakeImage( icon, true, 32, 32 ) + " " );
productListInCount = productListInCount + 1;
}
// Limit the product list count to [B][COLOR="#800000"]6[/COLOR][/B][B][I][COLOR="#800000"] <-- CHANGE[/COLOR][/I][/B]
if (ipip.DoesUseOutputForSurveyor() and productListOutCount < [B][COLOR="#800000"]6[/COLOR][/B])[B][I][COLOR="#800000"] <-- CHANGE[/COLOR][/I][/B]
{
productListOut = productListOut + HTMLWindow.MakeLink( "live://property/ToggleProcessDisplayOut/" + (string)k + "/" + (string)l, HTMLWindow.MakeImage( icon, true, 32, 32 ) + " " );
productListOutCount = productListOutCount + 1;
}
}
}
}
// Allow items to be added
productListIn = productListIn + HTMLWindow.MakeLink( "live://property/AddProcessInput/" + processes[i], HTMLWindow.MakeImage("imgAdd.tga", false, 32, 32, "imgAdd_over.tga") );
productListOut = productListOut + HTMLWindow.MakeLink( "live://property/AddProcessOutput/" + processes[i], HTMLWindow.MakeImage("imgAdd.tga", false, 32, 32, "imgAdd_over.tga") );