(Feat) Add Build
This commit is contained in:
@@ -81,10 +81,12 @@ namespace Ashwild.Crafting
|
||||
#region Event Handlers
|
||||
|
||||
/// <summary>
|
||||
/// Marks an acquired item as discovered. Guarded to the owning instance so a remote puppet
|
||||
/// that briefly subscribed before being gated off can never drive discovery on the wrong copy.
|
||||
/// Marks an acquired item as discovered. Transfers count too — pulling an item a co-op partner
|
||||
/// left in a chest is a genuine first acquisition and must unlock its recipes, even though the
|
||||
/// HUD stays silent about it. Guarded to the owning instance so a remote puppet that briefly
|
||||
/// subscribed before being gated off can never drive discovery on the wrong copy.
|
||||
/// </summary>
|
||||
private void HandleItemAdded(ItemData item, int quantity)
|
||||
private void HandleItemAdded(ItemData item, int quantity, bool isTransfer)
|
||||
{
|
||||
if (Instance != this) return;
|
||||
Discover(item);
|
||||
|
||||
Reference in New Issue
Block a user