Item Suite

● ARCHIVED · READ-ONLY
Started by ATT_Turan 28 posts Page 2 of 2 View original ↗
  1. One question: What code can I put inside "On Gain Eval" ?
    Is it JavaScript code or like Damage Formula code ?
  2. SorenKyojin said:
    Is it JavaScript code or like Damage Formula code ?
    The damage formula is JavaScript so...yes?

    Let me know if you have a more specific question.
  3. Hey @ATT_Turan! First, phenomenal suite. Infinite gratitude on creating this.

    I wanted to flag a potential bug I may have found? Since I'm only using slots for a materia-like system, I got around it easy enough by just depending on the universal typing and avoiding the "slot type" notetags all together. But I noticed using the "slot type" notetags causes any object to be slottable, even if the "slottable" tag isn't used on the object. Tried it with all plugins disabled save yours and Dungeon's, as well, to be sure. OR if I misread the documentation and am misusing the notetags, feel free to bonk me. lol

    Screenshots
    1774825991188.png
    1774826013072.png
    1774826062122.png
  4. dewolf said:
    I noticed using the "slot type" notetags causes any object to be slottable, even if the "slottable" tag isn't used on the object.
    Thanks, I've uploaded version 1.6 which corrects the bug - I had a parenthesis in the wrong place.
  5. ATT_Turan said:
    Thanks, I've uploaded version 1.6 which corrects the bug - I had a parenthesis in the wrong place.
    You're the best! :kaoluv:
  6. I receive this error: "TypeError TUR.OpenDisassemble is not a function" when calling the disassembly screen.
  7. DarkFenix said:
    I receive this error: "TypeError TUR.OpenDisassemble is not a function" when calling the disassembly screen.
    I think there is an mismatch and should probably be readed like:
    JavaScript:
    PluginManager.registerCommand("TUR_ItemSuite", "OpenDisassemble", () =>
    {
        TUR.OpenDisassemble();
    });

    because the functions has no args, so it can't be used like that.

    change line 435 and replace like above, and see if it fix your issue.

    otherwise, ATT_Turan can enlighten you or correct me if I'm wrong.
  8. ShadowDragon said:
    I think there is an mismatch and should probably be readed like...because the functions has no args, so it can't be used like that.
    No, that's not correct. Functions always have an argument list - it may be empty and unused by parameters in the function, but it still exists. That also wouldn't have anything to do with the reported error.

    @DarkFenix I had a typo on one line - thanks for reporting the error, a corrected version has been uploaded.