private ["_item"]; _item = _this; _return = ""; if ([_item, "CfgVehicles"] call EPOCH_fnc_isAny) then { _return = getText(configfile >> "CfgVehicles" >> _item >> "picture"); } else { if ([_item, "CfgWeapons"] call EPOCH_fnc_isAny) then { _return = getText(configfile >> "CfgWeapons" >> _item >> "picture"); } else { if ([_item, "CfgMagazines"] call EPOCH_fnc_isAny) then { _return = getText(configfile >> "CfgMagazines" >> _item >> "picture"); }; }; }; _return