1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  1. HOUGAN_Y

    HOUGAN_Y Plugin Developer

    Will you able to add hook when player learned BP?
     
  2. Friendly Ape

    Friendly Ape Shack Builder

  3. HOUGAN_Y

    HOUGAN_Y Plugin Developer

  4. Friendly Ape

    Friendly Ape Shack Builder

    both. start and end. check those api endpoints
     
  5. Jakkee

    Jakkee Plugin Developer

    Pretty sure he wants when a player learns a new blueprint.
    Looks like OnItemResearched exists already in the Oxide github.

    You could use OnitemUse and check if its a blueprint
    Code (Text):
    public void OnItemUse(Item item, int amountToUse)
    {
        if (item.IsBlueprint())
        {
            Puts("Item name: " + item.blueprintTargetDef.displayName.english);
        }
    }
     
    Last edited: Feb 10, 2018
  6. HOUGAN_Y

    HOUGAN_Y Plugin Developer

    I know about it, but I can’t return false to block learning BP.
     
  7. Akeno Himejima

    Akeno Himejima Plugin Developer

  8. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Own patch doesn’t really work if you distrib for public or private plugins. Generally requests are for this purpose.
     
  9. Akeno Himejima

    Akeno Himejima Plugin Developer

    im currently ussing a custom oxide patch i just repatch my file over the latest oxide always seem to work fine but im still waiting till u would like to implement Request - Workbench_CanBeginExperiment Hook - Rust future then i dont have to repatch it all the time and i might see a new way for people to have more controle in Blueprints
     
  10. HOUGAN_Y

    HOUGAN_Y Plugin Developer

    @Wulf is fully correct.