食品机产出物品问题
using System;using System.Collections.Generic;
using STRINGS;
using TUNING;
using UnityEngine;
// Token: 0x0200197C RID: 6524
public partial class MicrobeMusherConfig : IBuildingConfig
{
// Token: 0x06006366 RID: 25446 RVA: 0x001DA328 File Offset: 0x001D8528
private void ConfigureRecipes()
{
ComplexRecipe.RecipeElement[] array = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement("Water".ToTag(), 0.001f),
new ComplexRecipe.RecipeElement("Water".ToTag(), 0.001f)
};
ComplexRecipe.RecipeElement[] array2 = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement("CookedMeat".ToTag(), 20f)
};
MushBarConfig.recipe = new ComplexRecipe(ComplexRecipeManager.MakeRecipeID("MicrobeMusher", array, array2), array, array2)
{
time = 40f,
description = ITEMS.FOOD.MUSHBAR.RECIPEDESC,
nameDisplay = ComplexRecipe.RecipeNameDisplay.Result,
fabricators = new List<Tag>
{
"MicrobeMusher"
},
sortOrder = 1
};
ComplexRecipe.RecipeElement[] array3 = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement("BasicPlantFood", 0.002f),
new ComplexRecipe.RecipeElement("Water".ToTag(), 0.005f)
};
ComplexRecipe.RecipeElement[] array4 = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement("BasicPlantBar".ToTag(), 2f)
};
BasicPlantBarConfig.recipe = new ComplexRecipe(ComplexRecipeManager.MakeRecipeID("MicrobeMusher", array3, array4), array3, array4)
{
time = FOOD.RECIPES.STANDARD_COOK_TIME,
description = ITEMS.FOOD.BASICPLANTBAR.RECIPEDESC,
nameDisplay = ComplexRecipe.RecipeNameDisplay.Result,
fabricators = new List<Tag>
{
"MicrobeMusher"
},
sortOrder = 2
};
ComplexRecipe.RecipeElement[] array5 = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement("BeanPlantSeed", 0.006f),
new ComplexRecipe.RecipeElement("Water".ToTag(), 0.005f)
};
ComplexRecipe.RecipeElement[] array6 = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement("Tofu".ToTag(), 2f)
};
TofuConfig.recipe = new ComplexRecipe(ComplexRecipeManager.MakeRecipeID("MicrobeMusher", array5, array6), array5, array6)
{
time = FOOD.RECIPES.STANDARD_COOK_TIME,
description = ITEMS.FOOD.TOFU.RECIPEDESC,
nameDisplay = ComplexRecipe.RecipeNameDisplay.Result,
fabricators = new List<Tag>
{
"MicrobeMusher"
},
sortOrder = 3
};
ComplexRecipe.RecipeElement[] array7 = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement("ColdWheatSeed", 5f),
new ComplexRecipe.RecipeElement(PrickleFruitConfig.ID, 1f)
};
ComplexRecipe.RecipeElement[] array8 = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement("FruitCake".ToTag(), 1f)
};
FruitCakeConfig.recipe = new ComplexRecipe(ComplexRecipeManager.MakeRecipeID("MicrobeMusher", array7, array8), array7, array8)
{
time = FOOD.RECIPES.STANDARD_COOK_TIME,
description = ITEMS.FOOD.FRUITCAKE.RECIPEDESC,
nameDisplay = ComplexRecipe.RecipeNameDisplay.Result,
fabricators = new List<Tag>
{
"MicrobeMusher"
},
sortOrder = 3
};
ComplexRecipe.RecipeElement[] array9 = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement("Water".ToTag(), 0.001f),
new ComplexRecipe.RecipeElement("Water".ToTag(), 0.001f)
};
ComplexRecipe.RecipeElement[] array10 = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement("GeneShufflerRecharge".ToTag(), 1f)
};
MushBarConfig.recipe = new ComplexRecipe(ComplexRecipeManager.MakeRecipeID("MicrobeMusher", array9, array10), array9, array10)
{
time = 1f,
description = ITEMS.INDUSTRIAL_PRODUCTS.GENE_SHUFFLER_RECHARGE.DESC,
nameDisplay = ComplexRecipe.RecipeNameDisplay.Result,
fabricators = new List<Tag>
{
"MicrobeMusher"
},
sortOrder = 4
};
ComplexRecipe.RecipeElement[] array11 = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement("Water".ToTag(), 0.001f)
};
ComplexRecipe.RecipeElement[] array12 = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement("steel".ToTag(), 500f)
};
MushBarConfig.recipe = new ComplexRecipe(ComplexRecipeManager.MakeRecipeID("MicrobeMusher", array11, array12), array11, array12)
{
time = 1f,
description = ITEMS.INDUSTRIAL_PRODUCTS.GENE_SHUFFLER_RECHARGE.DESC,
nameDisplay = ComplexRecipe.RecipeNameDisplay.Result,
fabricators = new List<Tag>
{
"MicrobeMusher"
},
sortOrder = 4
};
ComplexRecipe.RecipeElement[] array13 = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement("Water".ToTag(), 0.001f)
};
ComplexRecipe.RecipeElement[] array14 = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement("Polypropylene".ToTag(), 500f)
};
MushBarConfig.recipe = new ComplexRecipe(ComplexRecipeManager.MakeRecipeID("MicrobeMusher", array13, array14), array13, array14)
{
time = 1f,
description = ITEMS.INDUSTRIAL_PRODUCTS.GENE_SHUFFLER_RECHARGE.DESC,
nameDisplay = ComplexRecipe.RecipeNameDisplay.Result,
fabricators = new List<Tag>
{
"MicrobeMusher"
},
sortOrder = 4
};
ComplexRecipe.RecipeElement[] array15 = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement("Water".ToTag(), 0.001f)
};
ComplexRecipe.RecipeElement[] array16 = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement("ceramic".ToTag(), 500f)
};
MushBarConfig.recipe = new ComplexRecipe(ComplexRecipeManager.MakeRecipeID("MicrobeMusher", array15, array16), array15, array16)
{
time = 1f,
description = ITEMS.INDUSTRIAL_PRODUCTS.GENE_SHUFFLER_RECHARGE.DESC,
nameDisplay = ComplexRecipe.RecipeNameDisplay.Result,
fabricators = new List<Tag>
{
"MicrobeMusher"
},
sortOrder = 4
};
ComplexRecipe.RecipeElement[] array17 = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement("Water".ToTag(), 0.001f)
};
ComplexRecipe.RecipeElement[] array18 = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement("Diamond".ToTag(), 500f)
};
MushBarConfig.recipe = new ComplexRecipe(ComplexRecipeManager.MakeRecipeID("MicrobeMusher", array17, array18), array17, array18)
{
time = 1f,
description = ITEMS.INDUSTRIAL_PRODUCTS.GENE_SHUFFLER_RECHARGE.DESC,
nameDisplay = ComplexRecipe.RecipeNameDisplay.Result,
fabricators = new List<Tag>
{
"MicrobeMusher"
},
sortOrder = 4
};
ComplexRecipe.RecipeElement[] array19 = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement("Water".ToTag(), 0.001f)
};
ComplexRecipe.RecipeElement[] array20 = new ComplexRecipe.RecipeElement[]
{
new ComplexRecipe.RecipeElement("BleachStone".ToTag(), 100f)
};
MushBarConfig.recipe = new ComplexRecipe(ComplexRecipeManager.MakeRecipeID("MicrobeMusher", array19, array20), array19, array20)
{
time = 1f,
description = ITEMS.INDUSTRIAL_PRODUCTS.GENE_SHUFFLER_RECHARGE.DESC,
nameDisplay = ComplexRecipe.RecipeNameDisplay.Result,
fabricators = new List<Tag>
{
"MicrobeMusher"
},
sortOrder = 4
};
}
}
食品机产出物品后 造成游戏时间和画面不同步 异常只要造物品就会这样 怎么能够解决这样问题
页:
[1]