Soup bugfix and price change (#1630)

* adjust prices for food contracts

* fix unsellable soups

* move thing outside the cycle
This commit is contained in:
nukkuminen
2025-08-07 09:56:14 +03:00
committed by GitHub
parent e0526177e6
commit 7e39f78df5
2 changed files with 4 additions and 1 deletions

View File

@@ -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)
{

View File

@@ -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)