Soup bugfix and price change (#1630)
* adjust prices for food contracts * fix unsellable soups * move thing outside the cycle
This commit is contained in:
@@ -281,6 +281,9 @@ public abstract partial class CP14SharedCookingSystem : EntitySystem
|
||||
|
||||
var newData = new CP14FoodData(recipe.FoodData);
|
||||
|
||||
//Assign recipe to the FoodData
|
||||
newData.CurrentRecipe = recipe.ID;
|
||||
|
||||
//Process entities
|
||||
foreach (var contained in container.ContainedEntities)
|
||||
{
|
||||
|
||||
@@ -87,7 +87,7 @@ public sealed partial class FoodResource : CP14WorkbenchCraftRequirement
|
||||
|
||||
var complexity = indexedRecipe.Requirements.Sum(req => req.GetComplexity());
|
||||
|
||||
return complexity * 10;
|
||||
return complexity * 6;
|
||||
}
|
||||
|
||||
public override string GetRequirementTitle(IPrototypeManager protoManager)
|
||||
|
||||
Reference in New Issue
Block a user