[Interactions] Pulver now swaps, slots and combines items
This commit is contained in:
@@ -276,6 +276,12 @@ public class FollowerController : MonoBehaviour
|
||||
var pickup = hit.GetComponent<Pickup>();
|
||||
if (pickup != null)
|
||||
{
|
||||
var slotBehavior = pickup.GetComponent<SlotItemBehavior>();
|
||||
if (slotBehavior != null)
|
||||
{
|
||||
// Slot item: do not destroy or swap, just return to player
|
||||
break;
|
||||
}
|
||||
if (justCombined)
|
||||
{
|
||||
// Combination: just destroy the pickup, don't spawn anything
|
||||
|
||||
Reference in New Issue
Block a user