Mr. Trivel Crafting System

● ARCHIVED · READ-ONLY
Started by Nedwal 3 posts View original ↗
  1. Hi.

    a) Is there a way to forget/unlearn a recipe using MR.Trivel's CraftingSystem?

    b) so i am trying to use below line as a notetag to use with/be run by WAY_CustomOnEquipEval.

    <Custom On Equip Eval>
    $gameVariables.setValue(200, 101);
    </Custom On Equip Eval>

    So when i equip an armor 101 it sets variable 200 to 101. This part works just fine. (Variable is set)
    Of course it would still be better if i could just set the variable to the armor's id directly.

    and then i do a plugin call with

    Crafting Learn v[200]

    to learn the recipe of the item that was just equipped. It should state:

    Crafting Learn 101

    but that doesn't work.
    Any idea how i can make this work, so that any gear the char equips is learned to be crafted at the same time?
    Is there
    a) a way to implement the variable into MR. T's Plugin Call "Crafting Learn NUMBER" or
    b) a way to let the <Custom On Equip Eval> do the "Crafting Learn NUMBER" in a notetage? (wouldn't mind so much entering the numbers manually there(in case of b)).
  2. You can't insert variable text into a Plugin Command, you would be better off looking up the corresponding function and just call that passing the variable as an argument.
  3. Well thx - i got it working so far.

    <Custom On Equip Eval>
    $gameVariables.setValue(200, 139);
    $gameSystem.learnCraftingRecipe(v[200]);
    $gameSystem.learnCraftingRecipe(v[200]+10001);
    </Custom On Equip Eval>

    Now, is there a way instead of setting the variable to a specific ArmorId manually (139 above) to do this with a line of code? Or instead of the v[] alltogether?
    Would there be a way of learning the recipe of an item upon the drop of said item? (not upon equip as i am doing here.)