1. Hello,

    Does anyone know how to make a multiplier Resource Gathering ?

    Code:
    void OnCollectiblePickup(LootOnPickup node, WorldItemInteractServer player, List<ItemObject> items)
    {
        Puts("OnCollectiblePickup works!");
    }
    I use this hook and I have no idea how to do it.

    From what I know in the Rust it looks like this:
    Code:
        void Multiplier(Item item)
            {         
            item.amount = (int)(item.amount * 5);
            }
    Hurtworld Item v2 :D
     
    Last edited by a moderator: Aug 14, 2017
  2. Code:
    void OnCollectiblePickup(LootOnPickup node, WorldItemInteractServer player, List<ItemObject> items)
    {
        foreach (var item in items)
        {
            item.StackSize *= 5;
            item.InvalidateStack();
        }
    }
    
     
  3. Work Perfect :D