public override LuaTable GetLuaTable(Mission mission)
        {
            var missionAlliances = mission.Alliances.Distinct().ToList();
            var map = new Dictionary <object, object>
            {
                { "alliances", LuaTable.CreateArray(Alliances.Select(a => missionAlliances.IndexOf(a))) },
                { "groups", LuaTable.CreateSet(groups) },
            };

            return(new LuaTable(map));
        }