Пример #1
0
        public void AddToProduction(string componentType, int amount)
        {
            MyDefinitionId definition = MyDefinitionId.Parse($"MyObjectBuilder_BlueprintDefinition/{ComponentUtils.GetComponentSubType(componentType)}");

            assembler.AddQueueItem(definition, (double)amount);
        }