Added audio of Pulver combining stuff

This commit is contained in:
journaliciouz
2025-10-31 15:45:28 +01:00
parent 5735bbcfae
commit cdbb2e0d3f
18 changed files with 579 additions and 2 deletions

View File

@@ -5,6 +5,7 @@ using UnityEngine.SceneManagement;
using Utils;
using AppleHills.Core.Settings;
using Core;
using UnityEngine.Events;
/// <summary>
/// Controls the follower character, including following the player, handling pickups, and managing held items.
@@ -75,7 +76,12 @@ public class FollowerController: MonoBehaviour
/// </summary>
public event FollowerPickupHandler OnPickupReturned;
private Coroutine _pickupCoroutine;
/// <summary>
/// Event fired when Pulver is combining stuff
/// </summary>
public UnityEvent PulverIsCombining;
private Input.PlayerTouchController _playerTouchController;
void Awake()
@@ -583,6 +589,7 @@ public class FollowerController: MonoBehaviour
Destroy(pickupB.gameObject);
TryPickupItem(newItem, itemData);
PlayAnimationStationary("Combine", 10.0f);
PulverIsCombining.Invoke();
return CombinationResult.Successful;
}