[Interactions] Pulver now swaps, slots and combines items

This commit is contained in:
Michal Pikulski
2025-09-04 14:24:28 +02:00
parent 0caf0d5209
commit 05a8a5445f
13 changed files with 612 additions and 4 deletions

View File

@@ -35,8 +35,16 @@ public class GameSettings : ScriptableObject
public PickupItemData result;
}
[Header("Combination Rules")]
[System.Serializable]
public class SlotItemConfig {
public PickupItemData slotItem; // The slot object (SO reference)
public System.Collections.Generic.List<PickupItemData> allowedItems;
public System.Collections.Generic.List<PickupItemData> forbiddenItems;
}
[Header("Item Configuration")]
public System.Collections.Generic.List<CombinationRule> combinationRules;
public System.Collections.Generic.List<SlotItemConfig> slotItemConfigs;
// Singleton pattern
private static GameSettings _instance;