예제 #1
0
        public static EVEBlueprint GetBlueprint(string productTypeName)
        {
            EVEBlueprint blueprint = new EVEBlueprint();

            if (productTypeName != null)
                blueprint.Product = EVECache.GetItem(productTypeName);

            var x = TypesHelper.GetBlueprintType(blueprint.Product.TypeID);

            blueprint.Blueprint = EVECache.GetItem(x.blueprintTypeID);

            blueprint.MaxRuns = x.maxProductionLimit.Value;
            blueprint.BaseInventionTime = x.researchTechTime.Value;
            blueprint.BaseProductionTime = x.productionTime.Value;

            blueprint.MaterialEfficiency = -4;
            blueprint.ProductionEfficiency = -4;
            blueprint.NumRuns = blueprint.MaxRuns / 10;

            return blueprint;
        }
예제 #2
0
        public static EVEBlueprint GetBlueprint(string productTypeName)
        {
            EVEBlueprint blueprint = new EVEBlueprint();

            if (productTypeName != null)
            {
                blueprint.Product = EVECache.GetItem(productTypeName);
            }

            var x = TypesHelper.GetBlueprintType(blueprint.Product.TypeID);

            blueprint.Blueprint = EVECache.GetItem(x.blueprintTypeID);

            blueprint.MaxRuns            = x.maxProductionLimit.Value;
            blueprint.BaseInventionTime  = x.researchTechTime.Value;
            blueprint.BaseProductionTime = x.productionTime.Value;

            blueprint.MaterialEfficiency   = -4;
            blueprint.ProductionEfficiency = -4;
            blueprint.NumRuns = blueprint.MaxRuns / 10;

            return(blueprint);
        }