(Feat) Add build cost

This commit is contained in:
2026-07-14 14:25:02 +02:00
parent c9e923975d
commit 3657b870d8
27 changed files with 1270 additions and 990 deletions
+15
View File
@@ -0,0 +1,15 @@
using Ashwild.Inventory;
namespace Ashwild.Building
{
/// <summary>
/// One resource line of a buildable's price: an authored item and how many of it a single
/// placement consumes. Mirrors CraftingIngredient — plain authoring data, no behaviour.
/// </summary>
[System.Serializable]
public struct BuildCost
{
public ItemData item;
public int quantity;
}
}