См. определение в файле ActionLightItemOnFire.c строка 40
41 {
42 if ( item.GetInventory() )
43 {
45 item.GetInventory().GetCurrentInventoryLocation(loc);
46
48 {
49 return true;
50 }
51 }
52
53 return false;
54 }
proto native int GetIdx()
returns index of cargo if current type is Cargo / ProxyCargo
Перекрестные ссылки InventoryLocation::GetIdx().
Используется в ActionCondition().