[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

@@ -57,5 +57,16 @@ public class GameManager : MonoBehaviour
}
return null;
}
public GameSettings.SlotItemConfig GetSlotItemConfig(PickupItemData slotItem)
{
if (gameSettings == null || gameSettings.slotItemConfigs == null || slotItem == null) return null;
foreach (var config in gameSettings.slotItemConfigs)
{
if (config.slotItem == slotItem)
return config;
}
return null;
}
// Add more accessors as needed
}